Video není dostupné.
Omlouváme se.
Cole Animated NextBot Test
Vložit
- čas přidán 18. 11. 2021
- This was tricky to get right, since I had to setup the vmt the correct way so the animated vtf would work.
I exported some frames from a green screen video with transparent backgrounds. I imported four frames into VTFeditor, which automatically converted it to an animated texture.
What took awhile to figure out was how to setup the vmt properly. The material had to be UnlitGeneric and have the AnimatedTexture code. I still don't understand the syntax though.
"UnlitGeneric"
{
"$baseTexture" "npc_cole_idle/cole_idle"
"$surfaceprop" "Default"
"$alphatest" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" "1"
}
}
}
Looks like a human scratch-sprite