Team Fortress 2
PlaceHolder Feb 14, 2014 @ 5:00am
Frame rate for sprays?
I'd like to make an animated spray, but I need to know the frame limit TF2 sets for animated sprays.
It appears to be 4 fps, but I'd like a straight answer.
< >
Showing 1-6 of 6 comments
bar Feb 14, 2014 @ 5:46am 
I don't think there is a limit for sprays, just the size.
I am alive!! (Banned) Feb 14, 2014 @ 5:49am 
There's isn't a FPS limit, but there is a file size limit, so that could limit your framerate
(I think 500kb is the max, but |I'm not sure)
Also, there's a normal size limit, which is 516x516
Last edited by I am alive!!; Feb 14, 2014 @ 5:50am
yeah there isn't a fps limit
Quinson Feb 15, 2016 @ 11:57am 
To continue this thread, two questions: What is the default FPS for animated sprays, and how might you change it?
I'm currently looking into both questions. I'll post again if I find out.
Last edited by Quinson; Feb 15, 2016 @ 11:58am
Quinson Feb 15, 2016 @ 12:25pm 
5 FPS, and according to a forum for VTFedit[nemesis.thewavelength.net] the sprays are limited by Valve in TF2.

Originally posted by Forged:
No, no. VTFEdit works fine, and using the proxy method of modifying the VTF's animation speed via the VMT file works fine as well. You can even see this when you look at it from within TF2's multiplayer options. It animates as you would expect a normal VTF texture to animate.

The issue here is that Valve has chosen to limit the VTF format with respect to sprays and sprays ONLY. If you were creating the VTF for use on a player model, or a wall texture, or whatever else, it would abide by the settings put forth in the VMT file. However, these limits imposed upon the sprays means that the spray will be displayed one way, and one way ONLY.

This helps to keep (cheaters, I guess?) people from modifying it in such a way that may give them an advantage.. Because of these limits, the spray will animate at a set speed, you cannot tell the spray to ignore the z stacking order, or influence the way the spray is affected by lighting, etc. etc. It is set up to be a single-use option, so really nothing you put into the VMT will be honored by the game. The only reason it needs a VMT is so that it can display properly in the GUI. Once you use it as a spray on a surface, it's applying its own set attributes to the texture.

I hope this helps. :)
Last edited by Quinson; Feb 15, 2016 @ 12:26pm
PlaceHolder Feb 15, 2016 @ 1:47pm 
What the necro.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Feb 14, 2014 @ 5:00am
Posts: 6