QUOTE(MonkeyFiend @ Mar 18 2009, 01:53 AM)

something I've been playing with - a (complex) way of getting L4D sprays animated... you do from time to time see a crap animation of a survivor in a closet being used as a tag.. it's pretty much the only animated spray I've seen.
So I thought I'd make a new one:

(although its smaller than this due to size limitations..
can be downloaded from:
http://sneakymonkeys.com/vtf/spray.vtfThe max file size for a VTF is 120KB, no limit on frames, but each frame needs a layer mask and other pointless stuff
I'll probably make something better soon, but at least we know animated sprays are possible

i have been making animated .vtf files for some time now and as long as you abide by several constraints it always work
keep in mind that an animated spray is not really animated rather just a selection of .vtf shown at different periods.
//constraints:
sizes must be integrals^2 i.e. 2,8,16,32,64 (no point going higher as u cant use multi frames and a animated spray is pointless) max use 256 but u are on the verge of going over the 128kb (real limit) of the allowed upload for a spray.
so image size and physical mem size are your real hurdles. create several (depending on project) .png files and save them in a "spray" dir, or whatever u want to call it. labled 1.png 2.png 3.png 4.png (their physical mem size now is NOT and indication of .vtf size.) open VTFedit (please get this from NEM'S tools) aynwhere else is a older version and dont support leechers.
select file > import > select all 1,2,3,4.png > and import* . then under general select animated texture and under options make sure the "auto create vmt file" is selected. export to game dir and u r done.