can someone help me make an animated spray?

What does it do ingame? Its an exponent of 2 so I dont see why it doesnt work.
 
Here try these files...the one titled lights out I think is better....Problems contact me.
 

Attachments

  • Here.zip
    14.5 KB · Views: 249
I don't think gifs work ingame. You have to use a VTF.
 
I already gave him the file...at the top...LOL, you went through all the trouble and I already did it.
 
well got a basic version of this for u, it works alright, but it runs REALLY fast. can't remember how i slow it down. Anyways might do you in the meantime, til you learn how to do it. Its not that difficult.

Click Here
 
ricera10 said:
I don't think gifs work ingame. You have to use a VTF.
They do work. jpg, gif, tga, maybe some others too.
 
hey guys, thanks for all the help making the spary. Could someone maybe give me a link that shows me how to make a vtf for counter-strike. I was using this tutorial

http://www.planethalflife.com/counterspray/sourcetutorial.htm

and i got stuck at number 4. I pressed convert, and the program said that it could not find my spray001.tga-spray005.tga, even though i had them in the correct spot.
 
Do you by any chance have a text file within the folder where you keep the tga's?
Because if you do u need to set that text files start frame to 1 and the last frame to 5 otherwise it will give you an error saying it cant find the tga's.

Check out the pic
 

Attachments

  • folderoption01.jpg
    folderoption01.jpg
    83.8 KB · Views: 332
hay peeps yer 2 make your own moving pics u will need this i hope is atached ok

heres a link 2:http://www.gbunetwork.com/temp/animatedsprays.zip

if it dont work 2 e-mail me 4 it at [email protected] and ill sead it u

and u will need a program thats can make .tga files eg.photoshop or pro paint shop wen u got it this is what u do:

T U T O R I A L
USING A GRAPHIC EDITING PROGRAM OF YOUR CHOICE
1. Create a few pictures 128 x 128 pixels (other sizes below). Make sure you change the picture a few times and save it as different *.TGA files, each file (up to 5) will be a frame of your animation.

WORKING IN THE FOLDER YOU EXTRACTED 'animatedsprays.zip' TO
2. Put all your *.TGAs in the hl2/materialsrc/animated folder and rename them to spray001.tga spray002.tga spray003.tga etc..

3. Edit the spray.txt file in notepad and replace the endframe value to the total amount of frames you have.

4. Run 'convert.bat' and your *.VTF & *.VMT (your spray files) will appear at hl2/materials/animated/
(NOTE: You can rename your *.VTF & *.VMT files to something easy to remember like "moon.vtf & moon.vmt" .. your spray will then appear as "moon" in your in-game options menu list.)

5. if your .VTF file is over 120kb, you will have to go back and edit the amount of frames you have of the size of your frames until they are under 120kb, otherwise you will not be able to use the spray.

6. put your *.VTF and *.VMT files into your logos folder, assuming you installed by default, it will be here:
C:\Program Files\Steam\SteamApps\[email protected]\counter-strike source\cstrike\materials\VGUI\logos

7. YOU'RE DONE!

To get your spray in-game just go to the options menu and scroll down the spray list to 'the name of your spray' ... it will display your first frame in the picture box. The spray won't animate in the options menu, but it will animate in the game.

COMPATIBLE SIZES:
256x256 (1 frame)
128x128 (5 frames)
92x92 (a lot of frames)
64x64... remember, the larger the size, the less frames you'll be allowed to have, your final spray needs to be under 120kb.

Ps. iv add a cool ready made 1
__________________________________________________________________________________________
GOOD LUCK AND HAPPY SPAMING: Faithless|Pr!dE
 

Attachments

  • demon.zip
    43.7 KB · Views: 203
I get this error when I try to run convert.bat any idea how to fix it? "Problem figuring out outputdir for hl2/materialsrc/animated/spray/"
 
Back
Top