CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

Animated CSS Spray
http://cs.rin.ru/forum/viewtopic.php?f=14&t=6354
Page 1 of 1

Author:  ClarencE [ Friday, 15 Oct 2004, 20:23 ]
Post subject:  Animated CSS Spray

Quoted from hl2world forum, ofcrz credit to this smiddy guy for makin this...

Quote:
Creating an Animated Spray *UPDATED*

you will need adobe photoshop cs/imageready cs for this tutorial.
you will also need the animated texture converter which you can find here:
hxxp://empolix.kzoceana.com/ANiMATED.TE ... SMiDDY.rar
replace the XX with a TT in the link above to make it work

1. choose an animated picture you want to convert.
2a. convert your gif or animated file into a square with sides divisible by 16 - eg. 128x128, 64x64, 92x92... you can use 256x256, but you will only be able to fit in 2-3 frames, so i don't reccomend it.
2b. convert the gif to individual frames. the way i did this with a .gif is to get Adobe ImageReady (comes with photoshop cs) and open the .gif in there, then do file > export > animation frames as files...

i saved them to jpgs, then went to photoshop, and converted them one by one to 32 bit .tgas
3. put all your .tgas in the hl2/materialsrc/animated folder and rename them to spray001.tga spray002.tga spray003.tga etc
4. edit the spray.txt file in notepad and replace the endframe value to the amount of frames you have
5. run convert.bat - your .vtf will appear at hl2/materials/animated/
5a. 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 file into counter-strike source\cstrike\materials\VGUI\logos
7. in notepad make a new file and put in this text


Quote:
"LightmappedGeneric"
{
"$basetexture" "vgui\logos\gabedance"
"$decal" "1"
"$decalscale" "1"

}



then save it as spray.vmt in the same dir as you saved the .vtf
8. you're done Very Happy

to get your spray ingame just go to the options menu and scroll down the spray list to 'spray' ... it will display your first frame in the picture box.

you can see the results here

http://empolix.kzoceana.com/gabey.rar

by smiddy


awesome...

Author:  -wX- | dR DeCiB3L [ Wednesday, 18 May 2005, 12:00 ]
Post subject: 

lol :roll:

Author:  ClarencE [ Wednesday, 18 May 2005, 12:21 ]
Post subject: 

wow... nice find.. :P :lol: :wink:

Author:  Kuifje [ Wednesday, 18 May 2005, 14:24 ]
Post subject: 

ClarencE wrote:
wow... nice find.. :P :lol: :wink:


lol :lol: :lol:

Author:  -wX- | Gamba [ Wednesday, 18 May 2005, 14:44 ]
Post subject:  Re: Animated CSS Spray

ClarencE wrote:
Quoted from hl2world forum, ofcrz credit to this smiddy guy for makin this...

Quote:
Creating an Animated Spray *UPDATED*

you will need adobe photoshop cs/imageready cs for this tutorial.
you will also need the animated texture converter which you can find here:
hxxp://empolix.kzoceana.com/ANiMATED.TE ... SMiDDY.rar
replace the XX with a TT in the link above to make it work

1. choose an animated picture you want to convert.
2a. convert your gif or animated file into a square with sides divisible by 16 - eg. 128x128, 64x64, 92x92... you can use 256x256, but you will only be able to fit in 2-3 frames, so i don't reccomend it.
2b. convert the gif to individual frames. the way i did this with a .gif is to get Adobe ImageReady (comes with photoshop cs) and open the .gif in there, then do file > export > animation frames as files...

i saved them to jpgs, then went to photoshop, and converted them one by one to 32 bit .tgas
3. put all your .tgas in the hl2/materialsrc/animated folder and rename them to spray001.tga spray002.tga spray003.tga etc
4. edit the spray.txt file in notepad and replace the endframe value to the amount of frames you have
5. run convert.bat - your .vtf will appear at hl2/materials/animated/
5a. 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 file into counter-strike source\cstrike\materials\VGUI\logos
7. in notepad make a new file and put in this text


Quote:
"LightmappedGeneric"
{
"$basetexture" "vgui\logos\gabedance"
"$decal" "1"
"$decalscale" "1"

}



then save it as spray.vmt in the same dir as you saved the .vtf
8. you're done Very Happy

to get your spray ingame just go to the options menu and scroll down the spray list to 'spray' ... it will display your first frame in the picture box.

you can see the results here

http://empolix.kzoceana.com/gabey.rar

by smiddy


awesome...


ok

Quote:
ClarencE Posted: Wednesday 18th of May 2005 04: Post subject:

--------------------------------------------------------------------------------

wow... nice find..
haha

Author:  Nightmare-hunter [ Wednesday, 18 May 2005, 15:30 ]
Post subject: 

is it true that u can have a GIF file as a spray in CSS?

Author:  Viper [ Wednesday, 18 May 2005, 19:35 ]
Post subject: 

I didnt really read anything but animated sprays can be lame...itl be lame and will take the seriousness out of the game...

you walking by and you jus see some c artoon playing on the floor...


would be freaky, lol and you can get put off..

"haha i love this part.."

*headshot*

"aaw damn"

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/