Decals

From MW4:Wiki

Jump to: navigation, search
(Resizing Your Transparent Decal)
(Resizing Your Transparent Decal)
Line 274: Line 274:
*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].  
*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 and save it as a .tga file.  
**First re-size your image to 64x64 and save it as a .tga file.  
-
**Then open your .tga in Gimp. You should see the transparent area as being a tinted checkered pattern.  
+
**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.
+
**Go to Image>Mode and choose 'Index'. In the window that pops up, change the number colors to the minimum you think will be acceptable for your decal. The fewer colors you use, the smaller your end file will be.
 +
***'''Change the Image back to RGB Mode!!!''' Image>Mode> Choose 'RGB'. The Decal won't work if it's left in index mode.
 +
**Go to Color>Posterize. A slider with a number going from 1 to 255 should appear. This will fine tune the number of colors you use from the previous step. Keep decreasing the number of colors until your file is smaller than 5kb. 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.  
**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.
If it's under 5KB, transfer it to your 'customdecals' folder and try it out.
 +
 +
'''Things that will affect file size'''
 +
*Alpha Channel containing more than one color - No gradients from black to white!
 +
*Colors - Try to use as few colors as you can in your decal.
 +
**Decrease the number of colors in your decal by going to Image>Mode> Choosing 'Index' and changing the number of colors there.
 +
**You can decrease the number of colors after that step by going to Color> and choosing Posterize.
 +
</td>
</td>
<td>
<td>

Revision as of 05:33, 12 January 2011

Personal tools