2Bit's Mapping Corner on www.PythonOnline.co.uk
ET Mapping Tutorial

Lesson 35

Topics

Making the command map
 
Making the command map
Back to main menu
Making the command map [Top]
You'll need an image editor for this.

First of all though, we'll create a new shader file which is also required.

Create a text file: etmain/scripts/tutorial_levelshots.shader

Put these lines in it:

levelshots/tutorial_cc_automap

{

  nopicmip

nocompress

nomipmaps

 
  {  
    clampmap levelshots/tutorial_cc.tga

depthFunc equal

rgbGen identity

  }  
}

levelshots/tutorial_cc_trans

{

  nopicmip

nocompress

nomipmaps

{

 
    clampmap levelshots/tutorial_cc.tga

blendfunc blend

rgbGen identity

alphaGen vertex

  }  
}    

When making this file for your own maps, change all instances of "tutorial" to whatever map name you are using.

I use Paint Shop Pro for image editing, so I will explain the next step using that tool.  Your own image editor will no doubt offer the same features but maybe under different names.

Run PSP or equivalent.

Open tutorial_tracemap.tga which will be in the maps folder.

This is what mine looks like:

You can see the building and the wall on the slab, and the rest is pretty much smudgy.

We want to split the image into its 3 constituent RGB (Red/Green/Blue) channels - one of which might give us a better picture.

In PSP, click colors/split channel/split to RGB

You get 3 new images.  Discard the 2 most useless ones, and keep the clearest.  I'm using:

The image is 256*256 - expand it to 512*512 (don't just zoom in, actually make the image bigger).  Also increase the colour depth to 24 bit, ie around 16 million colours.

Using picture editing tools, tidy up the image to remove little grey specks (eg the fence posts, CP, ramp boxes, etc).

Then you should try to improve the look of it.  I will give it a greeny colour, other than the buildings.  So I select the buildings, invert the selection (to select everything else) and colorize it to a shade of green.

Then I apply a contour function, to make the green area look like a paper map.

Then I fill in some of the areas with better colours:

Finally I perform a blur function to soften the edges of the contours.

If you want to add writing (bear in mind there will be icons and marker text put onto the map in ET) you should create new layers and put the text onto them.  Then if you want to change/move the text later on, you can.  You won't be able to if you've put the text straight onto the map image.

There are many graphical effects you could employ to make the map more stylish and interesting - it's up to you, your imagination and your patience.

Save the file to a PSP format (to retain the layers info) then save a copy of it to etmain/levelshots/tutorial_cc.tga - make sure the file is saved as a TGA type.  Always work on the PSP version and save revised copies to the TGA version.

Run ET and run the map - you should see your own command map :)

Next lesson