Welcome, Guest! Login | Register

Making a Half-Life Decal in Photoshop [Print this Article]
Posted by: Spider
Date posted: Apr 11 2003
User Rating: 5 out of 5.0
Number of views: 4640
Number of comments: 0
Description:
Thanks to Valve for making decals easier to make, and to Harry Teasley for updated information for this tutorial.

Decals are as easy as drawing in black & white and saving it into the right directory. You don't have to worry about the palette anymore. Painting in grayscale means you won't see any color on your decal, nor will you assign a color to the decal; you'll now be able to choose it in the game. If you've made a decal to the old specs, it will still work - this is just an easier way to make them. If you have Paint Shop Pro, here is a tutorial.

1> Create a new file at 64 x 64 with 72 pixels/inch in Grayscale mode. Keep in mind that in grayscale mode, black is transparent. So the simplest way to do this is to paint with white on a black background. But I've spent too many years drawing on white paper to get used to this. So, we're going to paint black on white, then invert it.

2> Use whichever tools you'd like, and be as creative as you can. You can draw with any shade of gray or black. Just keep in mind that black is opaque and white is transparent, so you will clearly see whatever is black.
user posted image

Notice the blurring around the edges. This will give an effect that my decal is fading into whatever texture is behind it in the game.

3> Invert it by clicking 'Image', then 'Adjust' and choose 'Invert'.
user posted image
4> Save it as .bmp and copy it to the \Half-Life\logos directory. Run Half-Life and choose your decal in the Multiplayer screen, and also select a color for it.

Note: if you want to change your decal after you've saved it, you'll need to convert it to grayscale before you invert it back to normal. Photoshop saves grayscale .bmp files in Indexed Mode and if you invert it from there, it will just invert the palette.

Here is a screenshot of my decal in Half-Life.

Rate This Article
This article is currently rated: 5 out of 5.0 (1 Votes)

You have to register to rate this article.
User Comments

No User Comments

You must register to post a comment. If you have already registered, you must login.

Latest Articles
3rd person View in Multiplayer
Half-Life 2 | Coding | Client Side Tutorials
How to enable it in HL2DM

By: cct | Nov 13 2006

Making a Camera
Half-Life 2 | Level Design
This camera is good for when you join a map, it gives you a view of the map before you join a team

By: slackiller | Mar 05 2006

Making a camera , Part 2
Half-Life 2 | Level Design
these cameras are working monitors that turn on when a button is pushed.

By: slackiller | Mar 04 2006

Storing weapons on ladder
Half-Life 2 | Coding | Snippets
like Raven Sheild or BF2

By: British_Bomber | Dec 24 2005

Implementation of a string lookup table
Half-Life 2 | Coding | Snippets
A string lookup table is a set of functions that is used to convert strings to pre-defined values

By: deathz0rz | Nov 13 2005


Latest Comments
knock knock
General | News
By: MIFUNE | Dec 31 2017
 
knock knock
General | News
By: omega | Dec 22 2016
 
knock knock
General | News
By: MIFUNE | Oct 10 2015
 
New HL HUD Message System
Half-Life | Coding | Shared Tutorials
By: chbrules | Dec 31 2011
 
knock knock
General | News
By: Whistler | Nov 05 2011
 
Particle Engine tutorial part 4
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 18 2010
 
Particle Engine tutorial part 2
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Particle Engine tutorial part 3
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Game Movement Series #2: Analog Jumping and Floating
Half-Life 2 | Coding | Shared Tutorials
By: mars3554 | Oct 26 2009
 
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Deadpool | Aug 02 2009
 

Site Info
297 Approved Articless
8 Pending Articles
3940 Registered Members
0 People Online (6 guests)
About - Credits - Contact Us

Wavelength version: 3.0.0.9
Valid XHTML 1.0! Valid CSS!