Login
Search

Welcome to the GamersHell.com forums Register today!
Reply
 
LinkBack Thread Tools Display Modes
Old 12-17-2004, 04:00 PM   #1 (permalink)
 
is on the 5th circle: Wrath & Sullenness

Join Date: Jun 2004
Posts: 1,943
Hellbux: 18,564


Default

Spray Tutorials:

Photoshop Tutorial:
Tutorial

How to make animated sprays:
you will need the animated texture converter which you can find here:
http://empolix.kzoceana.com/ANiMATE...RTER_SMiDDY.rar


1. choose an animated picture you want to convert.
2. 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

Code:

"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

you can see the results here

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



MADE BY SMiDDY

wink.gif
__________________

SOTW4 & SOTW TAG-TEAM WINNER /The empires of the future are the empires of the mind.
Tiger4Ruler is offline   Reply With Quote
Old 01-01-2005, 08:24 AM   #2 (permalink)
 
is on the 1st circle: Limbo

Join Date: Jan 2005
Posts: 23
Hellbux: 10


Default

small question, I've finally gotten a method down to create transparencies for my sprays, and was wondering if I could combine that concept with an animated spray since they both have to be in a .tga format.

I tried going through step by step with the animated spray tutorial's readme file, but when I get to the point where you run the convert.bat file it keeps yelling at me that
Quote:
Image dimensions must be power of 2!
Error intializing texture hl2/materialsrc/animated/spray.tga
And just dies right there. My images are already 74x74 in dimensions and are titled "spray001" "spray002" and so on up to 005, so I'm stumped on whatall it's not liking... Any ideas? :bucky!:
Iczer is online now   Reply With Quote
Old 01-01-2005, 09:59 AM   #3 (permalink)
 
is on the 2nd circle: Lust

Join Date: Mar 2004
Posts: 121
Hellbux: 2,196


Default

74x74 is not a power of 2. . .

you need something like 16x16, 32x32, 64x64, or 128x128
alswimmer90 is offline   Reply With Quote
Old 01-01-2005, 04:32 PM   #4 (permalink)
 
is on the 1st circle: Limbo

Join Date: Jan 2005
Posts: 23
Hellbux: 10


Default

yeah, my brain apparently went on the fritz and started thinking "divisable by 2" for some screwy reason... :bucky:
Iczer is online now   Reply With Quote
Old 01-10-2005, 09:28 PM   #5 (permalink)
GM™
 

Posts: n/a
Hellbux: 0 [Check]


Default

You might also want to consider that all JPEG format sigs that are compatible with the sig requirements can be imported from the cs:s options screen...
  Reply With Quote
Old 08-10-2006, 02:28 AM   #6 (permalink)
 
is on the 1st circle: Limbo

Join Date: Aug 2006
Posts: 1
Hellbux: 10


Default

I need some help...
With this step do you create the Directory?
(3. put all your .tgas in the hl2/materialsrc/animated folder and rename them to spray001.tga spray002.tga spray003.tga etc)
If not What is the FULL directory..like
" c:/Program files/Steam/SteamApps/(accountname)/..then after that where do I go..

Plz contact me at freak_orahangoooofareed77@hotmail.com
Freak//Unknown is offline   Reply With Quote
Old 11-17-2006, 02:46 PM   #7 (permalink)
Magus's Avatar
 
Administrator

Join Date: Dec 2003
Posts: 2,194
Hellbux: 57,148


Default

Quote:
Originally posted by Freak//Unknown@Aug 10 2006, 03:28 AM
I need some help...
With this step do you create the Directory?
(3. put all your .tgas in the hl2/materialsrc/animated folder and rename them to spray001.tga spray002.tga spray003.tga etc)
If not What is the FULL directory..like
" c:/Program files/Steam/SteamApps/(accountname)/..then after that where do I go..

Plz contact me at freak_orahangoooofareed77@hotmail.com
c:/Program files/Steam/SteamApps/(accountname)/Half Life 2/hl2/materialsrc/animated/ ?
__________________
#Dutchpride manager
www.dutchpride.org
Magus is offline   Reply With Quote
Reply



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

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


All times are GMT. The time now is 02:32 AM.

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77