How to create animated textures?

LuisReefTank

L1: Registered
Feb 25, 2011
14
0
Hello everyone!
I wanted to know how to create animated textures, searching hasn't lead me into anything, so i tough maybe you guys could help me?

Thanks alot!
 
T

The Asylum

http://www.youtube.com/watch?v=0QiDYQb--Ro

Youll need VTFEdit, and your "frames," I reccommend putting them in .tga format

Get all your frames and name them in order (ie frame001.tga, frame002.tga, etc), then in VTFEdit, go File >>> Import, select all your frames, and select Animated Texture. Now copy/paste this into your VMT:

"LightmappedGeneric"
{
"$basetexture" "folder/filename"
"startframe" "1"
"endframe" "whateve number your last frame is"

"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" "10" (I put it at 10, but you can make it any number)
}
}
}

And youre done