Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
But, you can also do it just by opening vtf edit. selecting your images (assuming it's a sequence and not a gif) and making sure "animated" is checked. it all make the animated texture for you and all the VTF needs is
"vertexlitgeneric"
{
"$basetexture" "models/texturepanel/0"
}
"$surfaceprop" doesn't have any use in SFM. Doesn't really hurt to have it there, but you should remove it anyway. Keep things tidy, y'know.
Aside from that, you should ensure "animatedTextureFrameRate" is set to how fast you want the texture to animate. This is in frames per second, so "1" means the frames will only change every second.
Thanks for the help, will try this latter today
Ok, so ive been editing around, and i finnaly got sfm to start laging (Which in my mind means progress, and no it wasent pc lag, i have plenty of power)
This is the code now:
"VertexLitGeneric"
{
"$baseTexture" "models\someothername\namelol\sometexture"
"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" 30
}
}
}
This seems to be working but when i load up the model, it just start laging like nothing else, i am unsure if this code is laging cause of something being used too much or what. If you see anything wrong that i could fix to make it stop laging, then this could finnaly start working and i can countiue on my project.
Nope, it was simply a test set, on 2fort, no lights, no effects.
(Did a verifiy cache and it found files that were needed to be downloaded, lag stoped after) But the texture still isent changing (Its 35 frames long, and a seemless loop of colors)
Hmm, well the sequence of colors i exported in a uncompressed bmp format with a gif spliter, then saved it again with photoshop, to tga, then selected all the frames in vtfedit, had auto make vtm on, put in the code i thought was it, into it, and thats when i came here after it obviously wasent working.
Not sure if this may be part of it but this is my settings for vtf importing: http://i62.tinypic.com/250s9c3.jpg