Decals

From MW4:Wiki

Jump to: navigation, search
(Prepping the Image)
Line 110: Line 110:
<table>
<table>
<tr>
<tr>
-
<td width="600" valign=top>The first thing I will do is delete the black area of the image I don't want to be visible.<br>
+
<td width="600" valign=top>The first thing I will do is delete the black area of the image I don't want to be visible.
In photoshop, the magic want set to a tolerance of 5 works well.
In photoshop, the magic want set to a tolerance of 5 works well.
</td>
</td>
Line 120: Line 120:
<table>
<table>
<tr>
<tr>
-
<td width="600" valign=top>Next, I will select everything and give it a heavy border. I want to do that so the border is easily visible when I shrink it down to 32x32 pixels.<br>
+
<td width="600" valign=top>Next, I will select everything and give it a heavy border. I want to do that so the border is easily visible when I shrink it down to 32x32 pixels.
-
In photoshop, go to Layer>Layer Style>Stroke. Change the stroke color to black and the size to '10'.
+
*In photoshop, go to Layer>Layer Style>Stroke. Change the stroke color to black and the size to '10'.
</td>
</td>
<td>
<td>
Line 130: Line 130:
<table>
<table>
<tr>
<tr>
-
<td width="600" valign=top>Now I want to be able to select my image and the new border using the magic wand.<br>
+
<td width="600" valign=top>Now I want to be able to select my image and the new border using the magic wand.
-
In photoshop, the easiest way for me to do this is to create a new transparent layer below my current one, then merge it down. Go to Layer>Merge Down.<br>
+
*In photoshop, the easiest way for me to do this is to create a new transparent layer below my current one, then merge it down. Go to Layer>Merge Down.
-
Now I can use my magic want to easily select my image by clicking the empty area, then inverting my selection by going to Select>Inverse.
+
*Now I can use my magic want to easily select my image by clicking the empty area, then inverting my selection by going to Select>Inverse.
</td>
</td>
<td>
<td>
Line 141: Line 141:
<table>
<table>
<tr>
<tr>
-
<td width="600" valign=top>Now that I have my selection, I can easily create my Alpha Channel.<br>
+
<td width="600" valign=top>Now that I have my selection, I can easily create my Alpha Channel.
-
In photoshop, I go to the channels window by going to Window>Show Channels. I now see four channels: RGB, Red, Green, and Blue.<br>
+
*In photoshop, I go to the channels window by going to Window>Show Channels. I now see four channels: RGB, Red, Green, and Blue.
-
Create a new channel by clicking 'Create New Channel' at the bottom of that window. That gives me a black square with an outline of my crossbones.<br>
+
*Create a new channel by clicking 'Create New Channel' at the bottom of that window. That gives me a black square with an outline of my crossbones.
-
I want to fill that area with white so it will be visible in my decal. Go to Edit>Fill and use White. <br>
+
*I want to fill that area with white so it will be visible in my decal. Go to Edit>Fill and use White.
-
If you want to blend it to let some of the dirt and paneling of the mech show through, make a color that is 80% grey and fill the crossbones with the paintbucket too.<br.
+
*If you want to blend it to let some of the dirt and paneling of the mech show through, make a color that is 80% grey and fill the crossbones with the paintbucket too.
-
After you fill it, you can deselect the image.
+
*After you fill it, you can deselect the image.
</td>
</td>
<td>
<td>
Line 156: Line 156:
<tr>
<tr>
<td width="600" valign=top>The only step left now is to re-size the image.<br>
<td width="600" valign=top>The only step left now is to re-size the image.<br>
-
In photoshop, go to Window>Show Layers and select your layer.<br>
+
*In photoshop, go to Window>Show Layers and select your layer.
-
Resize your image by going to Image>Image Size. Change the width and height fields to 32 and press OK.<br>
+
**Resize your image by going to Image>Image Size. Change the width and height fields to 32 and press OK.
-
After resizing, I would suggest creating a completely black layer under your image layer to ensure there isn't any white spots on the edge of your transparencies. That is completely optional though and usually not necessary.<br>
+
**After resizing, I would suggest creating a completely black layer under your image layer to ensure there isn't any white spots on the edge of your transparencies. That is completely optional though and usually not necessary.
-
*To create a 64x64 decal with transparency, you will need to take an extra step using Gimp [See top of page for a link]. First re-size your image to 64x64 instead of 32x32 and save it. Then open your .tga in Gimp. You should see the transparent area as being a tinted checkered pattern. Go to Color>Posterize. A slider with a number going from 1 to 255 should appear. The program will probably automatically select the optimum number of colors you need for your image. For my crossbones image, I only needed three. To keep your file size under 5KB, you will have to use 16 colors or less, and possibly even fewer than that.<br> After you press ok, to to 'Save As' and overwrite your file. A window allowing you to use RLE compression should appear, press Yes and save. Check your file size. If it's under 5KB, transfer it to your 'customdecals' folder and try it out.
+
*To create a 64x64 decal with transparency, you will need to take an extra step using Gimp [See top of this page for a link].  
 +
**First re-size your image to 64x64 instead of 32x32 and save it.  
 +
**Then open your .tga in Gimp. You should see the transparent area as being a tinted checkered pattern.  
 +
**Go to Color>Posterize. A slider with a number going from 1 to 255 should appear. The program will probably automatically select the optimum number of colors you need for your image. For my crossbones image, I only needed three. To keep your file size under 5KB, you will have to use 16 colors or less, and possibly even fewer than that.
 +
**After you press ok, to to 'Save As' and overwrite your file. A window allowing you to use RLE compression should appear, press Yes and save. Check your file size.  
 +
If it's under 5KB, transfer it to your 'customdecals' folder and try it out.
</td>
</td>
<td>
<td>

Revision as of 23:18, 30 November 2010