Create a VMT to play multiple animations alternately
By TheSpeedFreak 9 months agoHey. I would like to know, if it is possible to give a material 2 different material sources.
Say you have 2 animated materials. The files are known as ani_1.vtf and ani_2.vtf
The material should use ani_1.vtf and after the animation is finished it should change to ani_2.vtf When this animation ends it should change to ani_1.vtf again.
How would the vmt-file for the material look like ?
This would be the vmt-file for a standard animated material:
"UnlitGeneric" { "$basetexture" "folder/file" "$ignorez" 1 "$vertexcolor" 1 "$no_fullbright" 1
"Proxies" { "AnimatedTexture" { "animatedtexturevar" "$basetexture" "animatedtextureframenumvar" "$frame" "animatedtextureframerate" "20" } } }
Thanks



