GamerzPlanet - For All Your Online Gaming Needs!!  

Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > General Gaming > Steam Games > Counter-Strike/CS:S

Counter-Strike/CS:S All counter strike (and its sequels') discussion goes here.



How to make Animated & CS 1.6 Sprays(Revised)

Counter-Strike/CS:S


Reply
 
Thread Tools Display Modes
Old 12-27-2005, 08:09 PM   #1
Banned
 
Last Online: 06-04-2008 07:01 PM
Join Date: Nov 2005
Location: Origional Join Date: September 2004 (1200+ Posts)
Age: 15
Posts: 200
Thanks: 0
Thanked 21 Times in 5 Posts
Bob00100 is an unknown quantity at this point
iTrader: 0 / 0%
Points: 3,625.00
Bank: 0.00
Total Points: 3,625.00
How to make Animated & CS 1.6 Sprays

Alright, here is a new tool that i found out about that can make animated sprays easier than this method. I am not providing support for it, just ask on the guys forum for help. Here is the link. [Only registered and activated users can see links. ]

Quote:
Ok guys. I'm going to walk you through the steps needed to make a animated spray in Counter-Strike Source.

Yes, it can be done. (Note that this tutorial assumes you can make regular CSS sprays and are familar with saving as *.tga.)

The first step takes the longest, and that is the actual image creation. When thinking of spray ideas, it is important to realize that the CSS engine runs through the separate image frames very rapidly and to my knowledge this cannot be changed. So try and put together an animated sequence that will look good when run used in game. For this tutorial I will use a picture of my hero, Butters, using a camera. The animated spray will be of Butters holding a camera, with the flash going off and the words Owned underneath.

I use Photoshop, but similar programs , such as the free Gimp, can be used too.

1) Gather you separate images that will make up your animated sequence. As you can see I have a picture of Butters before the camera flash, and one with the flash added. You must make sure your images are 128x128 in size, or any acceptable dimensions with an area less than or equal to 128x128.


2)This is extremely important. Save your images as .TGA's with alpha channels checked and with the names spray001.tga , spray002.tga..etc. MAKE SURE THEY ARE IN CORRECT ORDER. For this tutorial i have 2 images, so they are subsequently saved as spray001.tga and spray002.tga.


3)You will need this program: [Only registered and activated users can see links. ]. Unzip the contents of the download. Now, copy and paste your spray TGA's into the: Animated Converter\hl2\materialsrc\animated folder. You will see a .TXT document in that folder also. You need to open this and change the last line "End Frame" number to the number of frames of animation you have. For this tutorial i have 2 images, so my number will be "2".


4) Now go back a few folders to your Animated Converter folder and click on convert.bat. You should see something similar to the following:


5)Now go to your "Animated Converter\hl2\materials\animated\" folder. You should see 2 files: spray.vmt and spray.vtf. THE FILE SIZE OF YOUR .VTF FILE MUST BE UNDER 120kb or your spray WILL NOT work. If you kept your dimensions to 128x128 or equivelent as stated in step 1, you should be fine.


Now, you must open the spray.vmt file. This can be opened in NOTEPAD. You will see the following:


"LightmappedGeneric"
{
_"$baseTexture" "animated/spray"
}


Now, delete all of this and copy and paste this in its place:

"LightmappedGeneric"
{
"$basetexture" "vgui/logos/gabedance"
"$decal" "1"
"$decalscale" "1"

}




Now save it. At this point you should have 2 files. The spray.vtf file and your code modified spray.vmt file.

It is now safe to rename these files to distinguish among other custom sprays. They MUST have the same name though. So I will rename mine: camera.vmt and camera.vtf

6) Now copy and paste these files into your Valve\Steam\SteamApps\USERNAME\counter-strike source\cstrike\materials\VGUI\logos folder.



Thats it! To select your spray, load up CSS, and select your spray from the drop down menu, you WILL not

need to import it. That should be it :).
-Bob00100 .



-----Found by ChaosBlue-------

Ok I know a guy made animated spray thread, but people want regular sprays for 1.6. This is not mine, its from the Counter-Strike forums so please do not get mad at me. I only come to help people.

Counter-Strike 1.6 Custom spray and installment.
Quote:
mctiddy wrote:


Finally, it is here: mactiddy's guide to making custom sprays for 1.6. Let us all hope that everyone will read

this guide before posting any questions about making custom sprays in the forums...

Alrighty lets begin.

1) The first thing you have to realize is that the 1.6 half life engine is shit compared to source. And that 8bit

textures dont look very good. Therefore, your custom sprays wont look very good. BUT, they can look ok. It

basically all relies on the picture or image you want to make a spray out of. Larger images, images with simple

colors, and images with large text work best. Let's recap:

Good: Large Cartoon Pictures, Large text, solid colors
BAD: Smaller images, photos, pictures with small details, pictures with small text, pictures with lots of different colors

So please, choose carefully. For this tutorial i will be using a photo of Butters in a towel. It's simple, and only

has 4 colors. Perfect.

2) CS or any Half Life based MOD will only except sprays of certain dimensions. You must crop or resize your

image to fit allowed dimensions. My original Butters image was 101x154. So in Photoshop (or any similar

program) I resized my photo to fit the allowed dimensions. This is a compromise. Using the image resize tool,

with constrain proportions checked, I resized my width to 80, and photoshop adjusted the height

automatically to 122. This is extremely close to the allowed 80x128, so all i have to do is resize my canvas to

128. So now my image is correctly sized, and still in correct proportion.



3)You must make a few quick adjustments to your image properties before you can convert to a usable

spray. In photoshop (or GIMP I assume), go to IMAGE -->MODE-->And make sure Indexed Color is checked.

Check it, and then click OK. Now, again go to IMAGE -->MODE-->And click color table. Now, Click the last

box in the table and change the color to solid blue. (0,0,255) or (0000FF). Click OK.

NOTE: THIS IS IMPORTANT, READ: IF YOU WERE WORKING ON A TRANSPARENT BACKGROUND, THE

PREVIOUS STEP WILL COLOR ALL TRANSPARENT PARTS PURE BLUE. This is perfect, this is how you get a

transparent image. EASY!

As you can see from the image, my transparent Butters background was colored pure blue. This method is

perfect because no matting occurs on the image and the in game transparency comes out amazing.

4)Go to File, Save as, and save it as spray.BMP. Must save as a BMP.

5)Now, youll need a program to convert this image to a decal. There are a few out there but for this tutorial

I will be using Wally. [Only registered and activated users can see links. ]

6)Open up Wally, and go to Wizard-->HL Color Decal. Point the program to your HL folder. (This really

doesn't matter, as you can see I have it pointed to my downloads folder) Then, browse for your saved BMP

on your hard drive.


Once your image is selected, click ok. You should see the following box with your image in it.

7)Now click FILE-->SAVE AS. Save as pldecal.wad . Now click FILE--->SAVE AS again. Save ALSO as

tempdecal.wad. Now, simply copy those files and paste them to your

Valve\Steam\SteamApps\"your-email-account-for-steam"\counter-strike\cstrike Folder.

DO NOT CHECK ON THE SPRAY IN OPTIONS or it will overwrite it. It be smart to save a backup copy of your

created spray just in case.

The Result: (In HL cause i dont play 1.6, though it will look the same)


Enjoy. -mactiddy

mactiddy made this not me.

If you guys don't have photoshop or anything else to resize or anything download infranview, It's free and useful [Only registered and activated users can see links. ]

Added link to wally uploaded on GzP for your conviniance.
Attached Files
File Type: rar animated spray maker.rar (171.8 KB, 363 views)
File Type: rar wally_155b.rar (1.09 MB, 309 views)

Last edited by Bob00100; 08-14-2006 at 10:06 PM.
Bob00100 is offline   Reply With Quote
The Following 12 Users Say Thank You to Bob00100 For This Useful Post:
ct.demonet (01-01-2008), Daki (03-17-2007), DaPirateNinja (06-07-2007), DarkEclips (12-19-2006), Gagga_Borsel (08-08-2006), MoonCow (04-14-2007), Nakki (09-14-2006), NoTSoPrO (12-05-2007), PaxMan (07-06-2007), psycho00 (02-23-2008), Shad (10-05-2007), WsTsk8eR (08-19-2007)
Sponsored Links
Old 12-27-2005, 08:29 PM   #2
Registered User
 
Last Online: 04-25-2007 07:19 PM
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SuBNuB is on a distinguished road
iTrader: 0 / 0%
Points: 6.00
Bank: 0.00
Total Points: 6.00
Re: How to make Animate Sprays (Revised)

Yeah ! thats the guide..Cheers mate, time to make some wanted sprays :D.
SuBNuB is offline   Reply With Quote
Old 12-28-2005, 05:24 PM   #3
Registered User
 
MeTaLsIck's Avatar
 
Last Online: 05-10-2008 01:48 AM
Join Date: Nov 2005
Location: Seattle, Washington
Age: 23
Posts: 891
Thanks: 2
Thanked 83 Times in 58 Posts
MeTaLsIck is on a distinguished road
iTrader: 0 / 0%
Points: 600.00
Bank: 0.00
Total Points: 600.00
Re: How to make Animate Sprays (Revised)

Absolute best Animated Spray I've ever heard of:

DDR mat with music playing over his mic, while dancing on the spray, synced with the music.
MeTaLsIck is offline   Reply With Quote
Old 12-29-2005, 05:40 AM   #4
1nF3r10r-0bJ3cT
 
harry569's Avatar
 
Last Online: 05-07-2008 10:08 AM
Join Date: Nov 2005
Location: United Kingom
Age: 17
Posts: 511
Thanks: 3
Thanked 77 Times in 27 Posts
harry569 is on a distinguished road
iTrader: 0 / 0%
Points: 4,635.00
Bank: 0.00
Total Points: 4,635.00
Re: How to make Animate Sprays (Revised)

Hi, ur spray help is very useful , Just wondering is there anyway to make the time it takes to switch from 1 picture to another slower ? , becuase at the moment you can't read my sprays becuase it switches too fast!

Any ideas cheers
harry569 is offline   Reply With Quote
Old 12-29-2005, 08:04 AM   #5
Banned
 
Last Online: 06-04-2008 07:01 PM
Join Date: Nov 2005
Location: Origional Join Date: September 2004 (1200+ Posts)
Age: 15
Posts: 200
Thanks: 0
Thanked 21 Times in 5 Posts
Bob00100 is an unknown quantity at this point
iTrader: 0 / 0%
Points: 3,625.00
Bank: 0.00
Total Points: 3,625.00
Re: How to make Animate Sprays (Revised)

Hmm... mabey...

Try Doubeling the frame you want, see if that helps.

Example, say you want to hold out spray002, copy that and name it spray003. Then add your others.
Bob00100 is offline   Reply With Quote
Old 12-31-2005, 10:43 AM   #6
Registered User
 
Last Online: 09-04-2007 12:12 PM
Join Date: Nov 2005
Posts: 213
Thanks: 2
Thanked 1 Time in 1 Post
JackTheShady is on a distinguished road
iTrader: 0 / 0%
Points: 236.00
Bank: 0.00
Total Points: 236.00
Re: How to make Animate Sprays (Revised)

cool, im gonna try that out, simple tut looks good, lets see
JackTheShady is offline   Reply With Quote
Old 01-01-2006, 08:09 PM   #7
Registered User
 
Last Online: 01-05-2006 10:29 PM
Join Date: Jan 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
egtrix is on a distinguished road
iTrader: 0 / 0%
Points: 0.00
Bank: 0.00
Total Points: 0
Re: How to make Animate Sprays (Revised)

i'm gonna try this too, many thanx
egtrix is offline   Reply With Quote
Old 01-01-2006, 11:28 PM   #8
Retired Staff Member
 
strykr's Avatar
 
Last Online: Today 11:40 AM
Join Date: Nov 2005
Location: Oregon
Age: 17
Posts: 1,134
Thanks: 4
Thanked 108 Times in 70 Posts
strykr is on a distinguished road
iTrader: 0 / 0%
Points: 1,741.00
Bank: 0.00
Total Points: 1,741.00
Re: How to make Animate Sprays (Revised)

Very nick tut. You have earned yourself a sticky!
__________________
[Only registered and activated users can see links. ]
strykr is offline   Reply With Quote
Old 01-02-2006, 02:55 AM   #9
Registered User
 
Blagol's Avatar
 
Last Online: Today 02:22 AM
Join Date: Nov 2005
Location: Chicago
Posts: 1,427
Thanks: 9
Thanked 189 Times in 114 Posts
Blagol is on a distinguished road
iTrader: 0 / 0%
Points: 11,350.43
Bank: 0.00
Total Points: 11,350.43
Re: How to make Animate Sprays (Revised)

That's nice! Now i can make funky images of dancing aminals dats rite, aminals
Blagol is offline   Reply With Quote
Old 01-19-2006, 04:09 PM   #10
Banned
 
Last Online: 07-25-2007 11:38 PM
Join Date: Dec 2005
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
TheDoors is on a distinguished road
iTrader: 0 / 0%
Points: 317.00
Bank: 0.00
Total Points: 317.00
Re: How to make Animate Sprays (Revised)

Wow! Exellent thread very useful, thansk a lot, me and my friends did not know how to make custom sprays until now....great job
TheDoors is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT -7. The time now is 09:24 PM.


Powered by: vBulletin
Copyright ©2008, GamerzPlanet.Net
SEO by vBSEO 3.2.0 RC5 ©2008, Crawlability, Inc.
Network: GamerzPlanet | ForumzPlanet | GzPUpload | GzPArcade | Muppet Poker | Visits: