Hier een HOW to die ik heb gevonden...
=============================================
How to make and use multi-colored spraypaint pictures
By Nico 'Devil N' de Poel
E-mail: nlp@home.nl
This file may be freely distributed, as long as the name of the author (that's Devil N, duh!) is mentioned.
If you've made a multi-colored spraypaint picture and someone else asks you how you did that, then refer him (or her

to
http://connect.to/deviln
Important note:
DON'T USE PAINT!!!
If you only have Paint, then get Paint Shop Pro from
http://www.jasc.com now!!
Contents
- The principle
- Making a PLDECAL.WAD yourself
- 2 more things
- Everybody who used the console before to connect to a server: Read this!
The principle
First of all it's important that you know the principle of Half-Life textures. The process of making a multi-colored spraypaint picture is fairly simple if you know this principle. Therefore I will explain it here.
Half-Life textures are 256-color (8-bits) pictures, which may have any palette by the way, which are saved in a so-called Wad3 file. So WAD files are simply files in which contain a couple of pictures, that can be opened and used by Half-Life (duh!

.
Now, spraypaint pictures are also saved in a WAD file. What Half-Life normally does to make spraypaint pictures is this: Take a greyscale BMP picture from the Logos folder, give it one certain color (this is a process most people will probably know), and put the result in a file named PLDECAL.WAD. This PLDECAL.WAD is the file that will be uploaded to the server and that will be downloaded by all players next, so they can see the picture too.
But, like I said, a picture in a WAD file can have any palette you want. Standard spraypaint pictures have only one color because Half-Life makes them that way.
But, naturally, you can also make such a PLDECAL.WAD yoursélf, with a picture of your own. Besides that, you can also define the size of the picture yourself (normal HL spraypaint pictures are 64x64 pixels, my Dopefish picture in example is 80x112 pixels).
- Make sure you understand exactly what has been described above. If you don't understand it completely, then read it again until you understand the system. This will prevent a lot of confusion later on when you're busy making and using a multi-colored spraypaint picture.
So, what I did: I downloaded the Half-Life Texture SDK (Software Developing Kit), I read the tutorial included with it, I converted a 256-color BMP picture of my own to a PLDECAL.WAD, and I replaced my old PLDECAL.WAD with the new one.
Making a PLDECAL.WAD yourself
First, make sure you have an 8-bits (256 color) BMP picture. The palette, like I said, doesn't matter.
- Make sure that there's at least one pixel in your picture that is pure blue (in RGB that's 0 0 255 or #0000FF). This is because pure blue pixels become transparent in Half-Life. If there are no transparent, pure blue pixels in the picture, then for some reason the picture will be drawn in greyscale in Half-Life.
- If you don't want any transparent parts in your picture, then just make a pure blue border around your picture.
The BMP picture has to be at least 16x16 pixels. Width and height may differ, but the amount of pixels, in both cases, MUST BE DIVISIBLE BY 16!!! The picture must also have less than 12288 pixels altogether. This means that a picture of 112x112 (= 12544) pixels doesn’t work, but a picture of 112x96 (= 10752) pixels does work.
So, a picture of 80x80 pixels is allowed, a picture of 32x96 too, but a picture of for instance 67x130 WON'T WORK.
Call this BMP picture {LOGO.BMP and put it somewhere temporarily.
- Mind the { in {LOGO.BMP. If it's not clearly visible, that token is an {. It tells Half-Life that the picture contains transparent pixels, which is quite important. I CAN’T STRESS THIS ENOUGH. ADD THE { IN FRONT OF THE NAME!! YOU MUST DO THIS.
Download the Half-Life Texture SDK now. You can download it from Barrysworld, here to be precise:
ftp://ftp.barrysworld.com/halflife/official_addons/sdk/texturesdk.zip
This file is only 169 kilobytes, and contains everything you'll need to make a WAD file.
Next, unzip this Texture SDK in any folder.
Now go to this folder. Here, you'll find the files MAKELS.EXE, QLUMPY.EXE, TEXTURE TUTORIAL.DOC, MAKEWAD.BAT and the folders Samples and Source. Both the folders Samples and Source are not important.
Make a folder called 'MyDecal' (without quotation marks of course) in the Texture SDK folder and go to this newly created folder. Now copy your own made {LOGO.BMP to this MyDecal folder. Go back to the Texture SDK folder, and open the file MAKEWAD.BAT with a text editor, like Notepad. If it's right, then this should be in it:
makels samples samplewad samples.ls
qlumpy samples.ls
Change that into this:
makels mydecal pldecal pldecal.ls
qlumpy pldecal.ls
Save the altered MAKEWAD.BAT.
- Make sure that there is only one BMP picture in the MyDecal folder. If there are more BMP pictures in it, then these will also be taken into the PLDECAL.WAD file, and then PLDECAL.WAD will become much larger than 15 kb!!!
Execute the MAKEWAD.BAT that you've altered just now. If all goes well then two files are made now, which should be PLDECAL.LS and PLDECAL.WAD.
- If this doesn't happen, and only PLDECAL.LS is being made, then there is something wrong with your BMP picture. Make sure that it's an 8-bits (256 colors) BMP picture and that the width and height in pixels are divisible by 16!!!
Okay, if all went well, you should've gotten your PLDECAL.WAD by now. Copy this file, and go to your Half-Life folder (for instance C:\SIERRA\HALF-LIFE). From that folder, go to the folder of the Half-Life type in which you want to use your spraypaint picture (in the case of Counter-Strike this is the CSTRIKE folder, in the case of Team Fortress this is the TFC folder, and in the case of standard Half-Life this is the VALVE folder). Now paste the PLDECAL.WAD file you've just copied in this folder. You're ready to use the spraypaint picture now!
2 more things
1) DON’T go to Customize in the Half-Life menu. Your multi-colored spraypaint will NOT show up there. Customize only shows the greyscale bmp’s in your Logos folder, and not the current PLDECAL.WAD. Besides that, if you click on OK or Cancel in Customize, Half-Life will replace your PLDECAL.WAD with the old spraypaint. If you do accidently go to Customize, then exit by pressing Escape.
2) If you want to spray your spraypaint picture in the game, but instead of your own picture a completely different picture appears (like a Hostage Rescue Point in Counter-Strike), don't panic, because it takes a while before your picture is uploaded to the server and is downloaded by yourself. As soon as this has happened, your picture will work just fine (That is, if you've followed all of the steps above here correctly).
Everybody who used the console before to connect to a server: Read this!
It appears that both Gamespy and the standard Half-Life server browser don't give any problems with the spraypaint picture. The old picture WON'T be made again. I apologize for any inconveniences that have been caused by this. :-þ