How to make transparent sprays with GIMP as TGA

A Tutorial for Counter-Strike: Source

Attention Gamer! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending DEVGRU-6 points.
  • Post: Give DEVGRU-6 your thoughts on this Tutorial.
  • Vote: Help DEVGRU-6 win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Hello everyone. Today I'm gonna be making a tutorial on how to make transparent sprays. This is the easiest way to make one. **So let's begin!** **1.** Pick any image you want. For example, I want this:
![terror arctic cute crouch](http://4.bp.blogspot.com/-Qm047P0X8p8/TenN98V3W-I/AAAAAAAAARY/dMzu3bClJBE/s400/terror+arctic+cute+crouch.bmp "terror arctic cute crouch") **2.** Save this file into any folders like My Pictures, My Documents or your disk drive.
![my documents](http://1.bp.blogspot.com/-xJOcvPV4Io8/TenwfeZP0UI/AAAAAAAAASM/zvVa0tD2ZGg/s1600/my+documents.jpeg "my documents") **3.** Now launch GIMP 2.8...or any other versions you use. To download GIMP...
**4.** Click on "File". Then click "Open..."
![file open](http://3.bp.blogspot.com/-S6qerH_ogoY/TenSrtl7zOI/AAAAAAAAARg/NY9yD_cFHm8/s1600/file+open.bmp "file open") **5.** Select the file that you've downloaded. Then double-click/Open the folder:
![folder select](http://2.bp.blogspot.com/-sCw3OQSY9BI/TenUTG1_idI/AAAAAAAAARk/USzfXJUQ1wY/s1600/folder+select.bmp "folder select") **6.** Now notice that the image has a white background. To make that background transparent...go to Layers--->Transparency--->Add Alpha Channel.
![add alpha channel](http://3.bp.blogspot.com/-MBgXsVBcWeA/TenVj5X-ZII/AAAAAAAAARo/Ups8kvAFQ0Y/s1600/add+alpha+channel.bmp "add alpha channel") **7.** Once that has been selected...click on the "Magic Wand Tool/Fuzzy Select Tool".
![fuzzy](http://2.bp.blogspot.com/-yCDLWR93jx4/TenW345p-OI/AAAAAAAAARs/cf5qUCcI1sI/s1600/fuzzy+select+tool.bmp "fuzzy") **8.** Now move your cursor to the **WHITE** background and click on it:
![ant dotted](http://3.bp.blogspot.com/-VToLsha6Oww/TenXzOOXChI/AAAAAAAAARw/X-zTfFUHkmM/s1600/ant+dotted.bmp "ant dotted") **9.** Now notice that after you've click on the white background...this dots that acts like a bunch of ants appears. This are the lines which will tell the computer where to add the alpha channel. So once this appears, on your keyboard...click "Delete".
**10.** After you've clicked on the delete key, it will look something like this:
![before and after](http://4.bp.blogspot.com/-70Dc9QDTpEs/TenegKnzFJI/AAAAAAAAAR4/jqnElQrUWl8/s320/swash.bmp "before and after") **11.** Now to make a confirmation of the channels. If you don't have a box that says "Layers, Channels, Paths, Undo-Brushes, Patterns, Gradients", click on the channels tab. Then now to look at the "Alpha" channel. Click on this image to zoom on the info.
The white object will be the one that's translucent. Which will only show the picture rather than the background itself. The black object will be the one which is the transparent background. So to make it simple, white is translucent and black is transparent. Another thing is...
![red](http://4.bp.blogspot.com/-HUxKfSJQboQ/TenqPlg5jTI/AAAAAAAAASE/NvtaQTKUaQo/s1600/red+background.bmp "red")
If you open the image file with photoshop. And click on the Channels tab. You will see more than 4 channels. Click on the "Alpha 1" channel's visibility check box that looks like an eye...you will see this red background. Meaning the the red is transparent and the picture is translucent. **12.** Now to make sure the spray retains the aspect ratio, go to image, resize canvas, make sure all sides are equally big or that one side is twice as big. **13.** Now to get onto the Save. Click "File" and click **only** "Save As". The title of this image mustn't stay the same. The title should be "spray". Type spray and then put any number you want and type ".tga". Like this:
![spray5](http://1.bp.blogspot.com/-cGmIQojypk4/TenhooqKOvI/AAAAAAAAAR8/3BPfVE2cvuM/s320/spray5.bmp "spray5")
Make sure the number merges with the "spray" as shown above. ![untick](http://4.bp.blogspot.com/-FeXRFwtizJY/TenrsYOK9CI/AAAAAAAAASI/cp4p4DLkYO8/s1600/untick.bmp "untick")
Then another box will come up. Just un-tick the "RLE Compression. And then click "Save". And you're done. Copy or drag this file and paste onto either your C drive or D drive or C:\Program Files\Steam\steamapps\common\counterstrike source\cstrike And launch Counter-Strike:Source. Go to "Options". Make sure you're on the "Multiplayer" tab. Then click "Import Spray". Then go to the directory you pasted your file into. And then double-click or open the file. And there you HAVE IT! The transparent spray :D To see a tutorial on how to download and install sprays...
Thanks for listening to this tutorial and see you next time!

Posts

  • 1
  • 2
  • 5y
    naoko avatar
    naoko Offline
    Member Joined 10y
    577 points Ranked 7647th
    no.6
    save in .tga? but i don't see any tga format (even bmp,jpg not there). Export it should be and btw GIMP is suck. Thye save and export is got problem. i can't save in jpg,bmp,tga. they as something stupid
    why not just simple using photoshop and save to png ? can?
    Bananite
  • 6y
    DEVGRU-6 avatar
    DEVGRU-6 Offline
    Member Joined 7y
    363 points Ranked 11300th
    > **Posted by paiN_**
    >
    > Dude, You make this seem hard,
    >
    > 1-Open photoshop
    > 2-Add a new layer
    > 3-Select the white with magic wand
    > 4-Press delete
    > Done.

    Okay okay fine. I'll make this simple:

    1. Launch GIMP
    2. Paste image with white background
    3. Go to Layers->Transparency->Add Alpha Channel
    4. Click on "Fuzzy Select Tool". Which is the one that looks like a wand.
    5. Select white background and click "Delete". Make sure there's no white that's part of the background.
    6. Save
    7. Name file like this: spray5.tga. You can put any number between the spray and .tga Just make sure the spray and the number is joint together.
    8. Save
    9. Un-check/Un-tick RLE Compression
    10. Save

    Wa la! But just look at the tutorial above. Just try as hard as you can to understand this tutorial for all you learners.
    DEVGRU Seal Team 6 avatar
    Mantra
    DEVGRU Seal Team 6
  • 6y
    skully. avatar
    skully. Offline
    Member Joined 6y
    288 points Ranked 13583rd
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    Dude, You make this seem hard,

    1-Open photoshop
    2-Add a new layer
    3-Select the white with magic wand
    4-Press delete
    Done.
    x>5 avatar
    Mantra
    x>5
  • 6y
    DEVGRU-6 avatar
    DEVGRU-6 Offline
    Member Joined 7y
    363 points Ranked 11300th
    > **Posted by %%Devieus%%**
    >
    > The tutorial shows a lot of white around the edges; this is sometimes not a bad thing, but with the example image it might be better to remove it.
    >
    > It's also worth mentioning it's good practice to make sure both sides of the image are powers of 2, lest it gets a bit distorted; it may also be good to compile '.tga' files to '.vtf' files in the process of spray creation.

    Yeah well...at least this tutorial will help. Just hope that it's more understand-able. Not even sure that's a word. But yeah...it's good.
    DEVGRU Seal Team 6 avatar
    Mantra
    DEVGRU Seal Team 6
  • 6y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    80,819 points Ranked 47th
    63 medals 4 legendary 10 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    The tutorial shows a lot of white around the edges; this is sometimes not a bad thing, but with the example image it might be better to remove it.

    It's also worth mentioning it's good practice to make sure both sides of the image are powers of 2, lest it gets a bit distorted; it may also be good to compile '.tga' files to '.vtf' files in the process of spray creation.
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 6y
    DEVGRU-6 avatar
    DEVGRU-6 Offline
    Member Joined 7y
    363 points Ranked 11300th
    > **Posted by %%gyn%%**
    >
    > it work i think you didnt see the tutorial on how to download and install sprays ;)
    > http://www.gamebanana.com/sprays/62784
    > thx dude btw

    You're welcome ;)
    DEVGRU Seal Team 6 avatar
    Mantra
    DEVGRU Seal Team 6
  • 6y
    DEVGRU-6 avatar
    DEVGRU-6 Offline
    Member Joined 7y
    363 points Ranked 11300th
    THANK YOU EVERYONE!!!Thanks for liking my tutorial. This is the first time I've ever got appreciated for something like that. Thanks ^_^
    DEVGRU Seal Team 6 avatar
    Mantra
    DEVGRU Seal Team 6
  • 6y
    DEVGRU-6 avatar
    DEVGRU-6 Offline
    Member Joined 7y
    363 points Ranked 11300th
    > **Posted by %%deadlypremonition%%**
    >
    > same as shiva i dont understand the part 11
    > and make a video tutorial thx

    Oh. Perhaps I think I forgot something D:

    If you can't find that "Layers, Channels..." box, go to the tabs above. Click Windows--->Recently Closed Docks--->Layers, Channels, Paths, Un-do Brushes, Patterns, Gradients

    That one will bring back this box.
    DEVGRU Seal Team 6 avatar
    Mantra
    DEVGRU Seal Team 6
  • 6y
    > **Posted by gyn**
    >
    > it work i think you didnt see the tutorial on how to download and install sprays ;)
    > http://www.gamebanana.com/sprays/62784
    > thx dude btw

    nice it work fine thx

    8/10

    Bananite
  • 6y
    shiva999 avatar
    shiva999 Offline
    Member Joined 6y
    > **Posted by gyn**
    >
    > it work i think you didnt see the tutorial on how to download and install sprays ;)
    > http://www.gamebanana.com/sprays/62784
    > thx dude btw

    OMG IT WORKS THX Gyn AND THX Zone3

    9/10

    Cold As Ice
  • 1
  • 2

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Original Authors
Zone3
who else?

Submitter

DEVGRU-6 avatar
DEVGRU-6 Offline
Member Joined 7y
363 points Ranked 11300th

DEVGRU-6
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Details

Difficulty Level
Beginner Difficulty

Attributes

Stats

Posts
13
Views
24,132
Date Added
6y
Date Modified
4y

Scores

71 bScore
8.5 Rating

4 voters

Sign up to access this!
bcp.crwdcntrl.net tracking pixel