PDA

View Full Version : Animated Textures?



MundM1996
18 Aug 2010, 07:42am
Question!!

Does anybody know how to put animated textures in hammereditor?

Thanks

mapper
18 Aug 2010, 08:30am
If you want animated (like an animation with frames), one way is to get all you frames and export them all as 32bit tga's. Then, using VTFEDIT

http://nemesis.thewavelength.net/index.php?c=149

Goto import then select all the image files and be sure the "Animated Textre" otion is enabled.

The VMT will also need to have special attributes. See here:

http://www.hl2world.com/wiki/index.php/AnimatedTextures

That should do it. You can preview the animation in VTFEdit, or drop it on a brush in hammer and preview ingame.

Example of a .VMT file:

"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}

MundM1996
18 Aug 2010, 12:22pm
The vtf file works, but the vmf file is not like ur example

"LightmappedGeneric"
{
"$basetexture" "Users/Max/Desktop/Frames/Banner_SteamGamers"
}

mapper
19 Aug 2010, 08:08am
"LightmappedGeneric"
{
"$basetexture" "Users/Max/Desktop/Frames/Banner_SteamGamers"
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"texturescrollangle" 270.00
"animatedtextureframerate" 30
}
}
}
Like this ?

MundM1996
20 Aug 2010, 02:47pm
"LightmappedGeneric"
{
"$basetexture" "Customs/Animated/Banner_SteamGamers"
"proxies"
{
"Animatedtexturevar" "$Basetexture"
"Animatedtextureframenumvar" "$frame"
"Animatedtextureframerate" "10"
}
}Is this right?

Whazaaaaa
21 Aug 2010, 05:05am
Here watch this video Youtube Video "Advanced Textures, Transparent Textures" (http://www.youtube.com/watch?v=oNBcVQ9WB0M&feature=player_embedded)
And it explains about animated textures but also about other kind of textures.