Creating a command map

From Mod Wiki
An Advanced Map
1. Introduction and goals of the tutorial
2. Necessary map declarations
3. Caulk hull
4. Creating a simple terrain
5. Adding an atmosphere
6. Adding player spawns
7. Adding base structures
8. Adding base vehicles
9. Creating a constructible Bridge
10. Adding an MCP escort objective
11. Adding a Shield Generator hack objective
12. Creating a destructible objective
13. Adding Objective spawns and vehicles
14. Info Objectives
15. Deployzones
16. Playzones
17. Masks
18. Barebones Map script
19. Creating a command map
20. Levelshot

Command maps are created by using the mapshot command from the game. Check the mapshots page for more information. Once you are happy with your command maps they are specified in the playzone_commandmap entity.

By default a mapshot will create an image of the full 40960 unit bounds of the map. This is the image to be used by the OOB (out-of-bounds) command map. To make your own OOB commandmap, look in the SDK folder for base/commandmaps/oob_warning_template.psd. Copy your mapshot result into the layer above "for_Slipgate" and save your oob command map.

Since the playable area is 32768 units we only want to keep the inside 80% of the image for the regular command map. Within Photoshop the canvas size command (Image > Canvas Size) is used to crop the image. Be sure to set the anchor to the middle of the image and make the new size 80 percent.