Colour Spray Tutorial

Custom sprays, often referred to as logos or decals, allow you to leave a personal mark on walls and surfaces in Half Life. This guide explains how to prepare a colour image, convert it into the correct decal .wad format, and use it in game. It also covers the most important technical rules relating to image dimensions, palette setup, transparency, and common faults.

Older guides from the classic community often refer to pldecal.wad, whilst some modern installations and tools may use tempdecal.wad. For the purposes of this guide, you should use whichever filename and location are required by your own game installation, mod, or logo creation tool.

Step 1: Prepare Your Image

Before converting your image, it must be prepared correctly. Half Life colour sprays are more flexible than many players realise, but they still have to obey certain engine limits.

  1. Choose an image:
    • Your image may be square or rectangular.
    • Both the width and height should be divisible by 16.
    • As a practical rule, the total image area should not exceed 12288 pixels.
    • Simple, bold artwork usually works better than highly detailed images.
  2. Edit the image:
    • Use Photoshop, GIMP, Paint.NET, or a similar image editor.
    • Crop and resize carefully so that the final dimensions remain valid.
    • If you want transparent areas, use pure blue with the value RGB 0, 0, 255.
  3. Convert the image to indexed colour:
    • The final image should be saved as an 8 bit 256 colour BMP.
    • If you are using transparency, make sure the pure blue transparency colour is present in the palette.
    • When using Wally, the pure blue transparency entry should be placed at the end of the palette.

Valid Spray Size Chart

The chart below follows the classic community rule of thumb. If both dimensions are divisible by 16 and the total area does not exceed 12288 pixels, the size should be valid.

pixels 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256
16 YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES
32 YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES
48 YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES
64 YES YES YES YES YES YES YES YES YES YES YES YES NO NO NO NO
80 YES YES YES YES YES YES YES YES YES NO NO NO NO NO NO NO
96 YES YES YES YES YES YES YES YES NO NO NO NO NO NO NO NO
112 YES YES YES YES YES YES NO NO NO NO NO NO NO NO NO NO
128 YES YES YES YES YES YES NO NO NO NO NO NO NO NO NO NO
144 YES YES YES YES YES NO NO NO NO NO NO NO NO NO NO NO
160 YES YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO
176 YES YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO
192 YES YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO
208 YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO
224 YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO
240 YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO
256 YES YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO

Quick rule: if the width and height are both multiples of 16, and width × height is no more than 12288, the spray should usually be valid.

Step 2: Convert the Image to a Decal WAD

Once your image has been prepared, it must be converted into a decal .wad file. Two common methods are shown below.

Option A: Using Wally

  1. – Wally texture and WAD editor
  2. Create your decal:
    • Open Wally and choose Wizard → HL Color Decal.
    • Select your game directory and the appropriate mod folder.
    • Import your image, or copy the full image from your editor and paste it via the clipboard method.
    • Check that the decal name is {LOGO.
    • Confirm that the final palette entry is pure blue 0, 0, 255.
    • Save the finished decal file.

Option B: Using HL Logo Creator

  1. – simpler automatic logo conversion tool
  2. Convert the image:
    • Load your BMP image into HL Logo Creator.
    • Allow the tool to perform the logo conversion.
    • Save the result using the filename required by your installation.

Step 3: Place the Spray in the Game

  1. Locate your Half Life folder:
    C:\Program Files\Steam\steamapps\common\Half-Life\valve
  2. Copy the file: Place your newly created decal file into the correct game or mod folder.
  3. Protect the file: Set the file to Read Only if you want to reduce the risk of the game overwriting it.

Step 4: Test In Game

  1. Launch Half Life or a compatible mod.
  2. Join a local game or multiplayer server.
  3. Press your spray key to test the decal on a wall or other flat surface.
  4. If you are on an online server, allow a short time for the spray to upload before testing it properly.

Animated Sprays

Animated colour sprays are possible, but they are subject to much stricter size limits than ordinary sprays. In practice, the effect is quite limited. The animation usually plays only once, the frame rate is very fast, and the maximum frame count appears to be limited in practical terms. For that reason, static sprays are normally the better choice unless you specifically want to experiment.

Troubleshooting

  • I can see a bright blue border: make sure the pure blue transparency colour is the final palette entry, and that the decal has been named {LOGO if you created it in Wally.
  • The spray appears washed out or mostly one colour: make sure the image is saved as 8 bit 256 colour, and that the pure blue colour 0, 0, 255 exists in the image.
  • The spray does not appear online: some servers disable custom spray uploads entirely.
  • The game replaced my custom spray: avoid reopening the customise menu after copying the decal, and keep a backup of the finished file.

Examples

Examples from Cyber-Rat.com

Downloads

  • – Hello Pikachu!
  • – Dr. Sanchez!
  • – Banksy artwork!

Cyber-Rat.com Downloads

  • – You Are Crap!
  • – Fragged
  • – Insulting HW Guys
  • – Low Ping Bastard.. (aren’t we all these days?)
  • – I will not spam the snipers
  • – Cyber-rat.com
  • – Dick Dastardly
  • – Eat EMP
  • – Eat Spam!
  • – Hold still! This won’t hurt a bit!
  • – Doh!
  • – Here’s Homer!!!
  • – That Had to Hurt!
  • – Mutley
  • – No Camping!
  • – Spam!
  • – Pssssst! I’m a Spy!
  • – Throw your grenades this way please!
  • – Trust Me… I’m a Doctor

Summary

  • Use dimensions divisible by 16
  • Keep the total image area within 12288 pixels
  • Save the image as 8 bit 256 colour BMP
  • Use pure blue RGB 0,0,255 for transparency
  • When using Wally, ensure the decal name is {LOGO
  • Set the final decal file to Read Only if needed
  • Some servers may disable custom spray uploads