Source Filmmaker

Source Filmmaker

SFM Help- Need help creating an animated texture.
"LightmappedGeneric"
{
"$baseTexture" "models/DBXV2-Sythe/scythe"
"$surfaceprop" "Default"
"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" "1"
}
}
}
}



This is what I have in my VMT file, and I get the same error saying that I need to get a programmer and stuff. When I try vertexlit, the model is in tact but the issue is that the texture wont animate at all.

< >
Beiträge 114 von 14
Pte Jack 19. Juni 2017 um 14:44 
Lightmappedgeneric is for map textures, have you tried changing that to vertexlitgeneric if it's for a model? And you have one too many closing curly brackets. (3 open, 4 close)
Zuletzt bearbeitet von Pte Jack; 19. Juni 2017 um 14:45
Ill try vertex lit generic, how many closing ones do i need?
Still nothing the texture shows but it does not move.
I'd start by checking your VTF actually has all the frame layers then.
Alright, all the frames are there and now its moving. One thing is off its moving very slow its not smooth
episoder 19. Juni 2017 um 16:34 
working slow? raise the "animatedTextureFrameRate" above 1 fps.
Pte Jack 19. Juni 2017 um 16:48 
What program are you using to create these animated textures? GIMP? Did you change the "Use Layers As nothing to Animated Frames if you used GIMP?

Watch the first 10 or 12 minutes of this for the difference between the 2.

https://youtu.be/eCTGQRAKTiw
Ursprünglich geschrieben von episoder:
working slow? raise the "animatedTextureFrameRate" above 1 fps.
How many frames should I raise it to?
I used GIF Splitter, VTF Edit and Paint.net
R234 19. Juni 2017 um 19:09 
Ursprünglich geschrieben von Thatdemo1234:
How many frames should I raise it to?
Depends what it is you're trying to animate, and how fast you want it to go. 30 is usually a good starting point.
Pte Jack 19. Juni 2017 um 20:25 
What frame rate are you using in your clip (24 default, 30, 60 FPS?) How many frames in the animated texture? How often do you want them to change in 1 second, then do the math!
I fixed the issue, here is another issue how do I make the model transparent while having an animating texture?
Have it either cloak or use an alpha attribute on the materials in the model. If you use the eye refraction shader on the eyes, alpha won't work for them.

http://steamcommunity.com/sharedfiles/filedetails/?id=211768170
Zuletzt bearbeitet von Pte Jack; 20. Juni 2017 um 7:55
I also have a problem in which my animated texture run very slowly when I added it on the models. I changed the "animatedTextureFrameRate" multiple times and it still slow.
Zuletzt bearbeitet von rizkirafu; 6. Jan. 2021 um 4:18
< >
Beiträge 114 von 14
Pro Seite: 1530 50

Geschrieben am: 19. Juni 2017 um 14:22
Beiträge: 14