Difference between revisions of "Creating a command map"

From Mod Wiki
Line 1: Line 1:
 +
{{first etqwmap toc}}
 
Command maps are created by using the [[mapshots|mapshot]] command from the game. Check the [[mapshots]] page for more information.
 
Command maps are created by using the [[mapshots|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 [[playzones#playzone_commandmap|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 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. There is also a .psd in the commandmaps folder, in the sdk to be used to make the oob commandmap. Copy your mapshot result into the layer above "for_Slipgate" and save your oob command map.
 
Once you are happy with your command maps they are specified in the [[playzones#playzone_commandmap|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 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. There is also a .psd in the commandmaps folder, in the sdk to be used to make the oob commandmap. Copy your mapshot result into the layer above "for_Slipgate" and save your oob command map.

Revision as of 19:13, 22 November 2007

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 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. There is also a .psd in the commandmaps folder, in the sdk to be used to make the oob commandmap. Copy your mapshot result into the layer above "for_Slipgate" and save your oob command map.