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


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-27-2005, 09:09 PM   #1
Bob00100
Banned
 
Last Online: 06-04-2008 08:01 PM
Join Date: Nov 2005
Location: Origional Join Date: September 2004 (1200+ Posts)
Posts: 141
Rep Power: 0
Rep Points: 9
Bob00100 is an unknown quantity at this point
Feedback: (0)
Points: 14,617.00
Bank: 0.00
Total Points: 14,617.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, 397 views)
File Type: rar wally_155b.rar (1.09 MB, 344 views)
Please scan all the files you download with NoVirusThanks before opening them. If there is a virus, report the post by clicking the button.

Last edited by Bob00100; 08-14-2006 at 11:06 PM.
Bob00100 is offline   Reply With Quote
 

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

Forum Jump

All times are GMT -7. The time now is 07:41 PM.

 

Copyright ©2009, GamerzPlanet.Net
Visits: