Command Map Icon Tutorial

1. Open cmicon.map in GTK Radiant 1.4 / 1.5.
2. Import your brushwork or model of wich you want to make a command map icon. I choosed custom haycart model as misc_model.


3. Compile your map with -meta option. There is no need for lighting!
4. After compiling is done, run cmicon.bat from your Wolfenstein - Enemy Territory folder.
5. Turn off your hud (/cg_draw2d 0)and crosshair (press escape button, go to Options/View and move your primary and secondary alpha to the left).


6. Fly around your model and take a screenshot using Print Screen button. You can close ET now.


7. Paste your screenshot into Photoshop, choose Magic Wand Tool (W), press right mouse button on your screen and choose Color Range. Set Fuziness to 0 and click somewhere on white background. Press OK.


8. Delete selection using DEL button, then deselect (Ctrl+D).


9. Choose Rectangular Marquee Tool, and select your model. Copy it and paste into new file (Ctrl+N, Ctrl+V).


10. Change your image size to width 120 pixels, and press OK.


11. The picture may come out blurry, so choose Filter/Sharpen/Unsharp mask. Repeat twice if necesarry.


12. Change canvas size to 128x128 pixels (Image/Canvas Size..).


13. Right click on your layer with image, and choose Blending options.


14. Go to stroke, choose black color and adjust it's size (I recommend 2). Press OK.


15. Create new layer under your image, then select the layer with image and press CTRL+E to merge it. After merging, press Ctrl+left mouse button in preview of your layer.


16. Create new layer, and fill selection with white color using Paint Bucket Tool (G). After that, copy selection, go to Channels tab, and create new Alpha layer, and paste your clipboard.




17. Go back to Layers tab, and fill your BACKGROUND layer with black.


18. Last step - save your image as TGA file with resolution 32 bits/pixel. That's all! Your command map icon with alpha channel is ready. Feel free to use it on your map.

You may want to use a shader for it, so it doesn't show outside compass (common bug in ET mods):

gfx/limbo/yourtexturename
{
nopicmip
nocompress
nomipmaps
    {
    map gfx/limbo/yourtexturename.tga
    depthfunc equal
    blendfunc blend
    rgbGen vertex
    alphaGen vertex
    }
}
 

By IndyJones, 24.05.2009