![]() News Forum FAQ Tutorials ToDo List Downloads Links Made With Wally News Archive Mail the authors: Ty Matthews Neal White III Proudly Hosted By |
Some useful links:Tutorials at Logo Warehouse on AtomicWarrior.comColor decal tutorial on WADFather Reaper.org collection of decals and a tutorial Edit Strike CS Logo on ZeroPing.com
First, some basics:Half-Life Color Decals are a trick discovered by the user community. Valve originally wrote their decal code supporting a maximum-sized image of 64 x 64. Not only that, but the image itself could be only greyscale, with a generic list of a dozen colors or so for you to choose from once inside the game. Players made their own greyscale decals, and everyone was happy. And then the world changed. Someone discovered that the decal image itself was actually stored in a WAD file once you chose it; supposedly done so that the engine had a common format to deal with. This WAD file is named pldecal.wad, and a separate one exists for every mod you play. The actual decal is named LOGO inside that WAD. By creating your own WAD file, and putting your own image in there, you bypass the default mechanism for creating the WAD file and can spray full-colored images. For those of you who aren't overly familiar with Half-Life textures, a WAD file is a collection of game images. It's like a ZIP file that contains nothing but images of varying types for the game to use.
Great, so how do I do this?
That's it! What you'll end up with is a brand spanking new WAD file, named pldecal.wad, and your image of choice will be named appropriately inside that WAD... ie {LOGO. Please Note: Once Wally builds the WAD file, it won't automatically save the file to your hard drive. We're giving you a chance to back out of the decal in case something went terribly wrong... like you picked a picture of your sister instead of Latetia Casta. So... in order to finalize the deal, you're going to have to save the new decal. You'll be told of this as soon as you try and close the WAD, or close Wally. Just click on Yes when it asks you to save and Wally will put the decal in the appropriate directory. Or, just shortcut the whole deal and hit Ctrl-S. Of course, if something did go wrong, click on No and start over.
Animated Decals (advanced)It is possible to create animated decals. You have the same restrictions and rules as you do for normal decals, except that the total size of all images in your animation must be less than the 16k limit you have with normal decals. This means you can't have a dozen images at 64x64. The best size I've been able to use with a decent animation sequence is 7 frames at 32x32. The second "problem" with animated decals is that they only animate one time, immediately after you spray it. Use this nifty calculator to determine whether or not you can create an animation sequence with the specified parameters:
So how do I make an animated decal? You can't use the Decal Wizard, as the tutorial above shows. The reason being the Wizard is designed for single animations and can't be used for more than one frame. You can use it to get started with the WAD file, but overall there is no advantage going that route. This is an advanced topic, and you really should have firm understanding of the WAD editor in Wally and how to add images to a WAD. First, create a new WAD by going to File|New, and choosing "Half-Life Package (WAD3)" as the type. Then, import in all of your images, either by using the clipboard, or loading up each image from disk. If you're using the clipboard, name them {frame1, {frame2, {frame3, etc. This way, Wally will reserve index #255 for pure blue so you don't have to mess with that. If you load them from disk, you might want to manually rename your files like I've listed above so that they also have index #255 reserved properly. Once you have all of your images loaded into the WAD, you have to rename them to match the sequence expected for an animation loop. Your first image should be named +0{LOGO, your second image should be named +1{LOGO, and so on. Once you've got them all renamed, save the WAD to your mod's directory and go try it out. Click here for an example animated decal. FAQ
Q. ARGH! Every time I go to check to see if my decal is there, it's changed to something else! WTF!? With that said, there is a way around this. For those savvy players out there that understand what's really going on here, you can make your pldecal.wad file read-only. I'm not even going to suggest how to do this or tell people explicitly how they can do it, because as soon as I do someone is going to write and ask how to stop making it read-only even though they have the instructions right in front of them. Q. ARGH! This thing isn't working, I can't live without my color decals, I'm dying here, PLZ HELP ME OH GOD! A. Okay, first off, you need to relax. Take a long, deep breath. Not having color decals is not the end of the world, and people really need to understand that this is a game. Now I'll get off my soapbox, and try to help you out. Keep reading!
Q. When I join a server and spray my decal, it shows up but it's entirely monochrome! In order for your color decal to work, index #255 in your image's palette must be pure blue. When you use the wizard, Wally takes care of this for you. When you don't use the wizard, you must make sure to handle it yourself. Open up your image inside Wally. Go to Colors|Edit Palette. Double-click on the very bottom-right square in the palette dialog that appears. This will let you change the color for that index. Enter the number zero (0) for both Red and Green fields. Enter 255 in the Blue field. Click OK, click OK again, and then save your image back into the WAD, and save your WAD. Go try it again, and it should be working.
Q. My decal works on some servers, but not on others!
Q. Every time I try to use an image I've got, Wally tells me it's not divisible by 16 or something like that. WTF is this?! You can use Wally's selection tool to trim off the edges of your image and copy only the section that will fit the requirements. Down at the bottom of the Wally screen is a status bar that shows you the current size of the selection as you're dragging it across your image. Keep adjusting the selection until it matches the criteria, then go to Edit|Copy to copy that to the clipboard. Try the decal wizard again.
Q. I give up! I don't understand this stuff and nothing is helping me figure this
out. If all else fails, and you still can't seem to get anything working right, try posting on the Wally forum, or even the Counter-Strike forums. It really can be done, obviously, and there isn't any magic going on :-) |