Difference between revisions of "Deployzones"

From Mod Wiki
(bridge_deployzone)
Line 28: Line 28:
 
: First vehicle granted to the GDF when they own the territory.  
 
: First vehicle granted to the GDF when they own the territory.  
 
* {{keyname|target_gdf2}} {{keyvalue|bridge_gdf_husky}}  
 
* {{keyname|target_gdf2}} {{keyvalue|bridge_gdf_husky}}  
: Second vehicle granted to the Strogg when they own the territory.  
+
: Second vehicle granted to the GDF when they own the territory.  
 
* {{keyname|target_strogg1}} {{keyvalue|bridge_strogg_icarus_1}}
 
* {{keyname|target_strogg1}} {{keyvalue|bridge_strogg_icarus_1}}
 
: First vehicle granted to the Strogg when they own the territory.  
 
: First vehicle granted to the Strogg when they own the territory.  
 
* {{keyname|target_strogg2}} {{keyvalue|bridge_strogg_icarus_2}}
 
* {{keyname|target_strogg2}} {{keyvalue|bridge_strogg_icarus_2}}
 
: Second vehicle granted to the Strogg when they own the territory. We added the team's vehicles for the bridge objective [[Adding_Objective_spawns_and_vehicles#Vehicles_2|here]]
 
: Second vehicle granted to the Strogg when they own the territory. We added the team's vehicles for the bridge objective [[Adding_Objective_spawns_and_vehicles#Vehicles_2|here]]
 +
 
=== outpost_deployzone ===
 
=== outpost_deployzone ===
 
=== shield_deployzone ===
 
=== shield_deployzone ===

Revision as of 12:22, 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

Deployzone entities (also known internally as territory brushes) are used to determine where territories exist within a map. They are brush based entities using the textures/common/trigger texture. A player can only deploy inside a deployzone volume that is active for their team (and only on green areas of the deploy mask.) Team base deployzones do not change over the course of match, whereas in most other cases deployzones are granted to the attacking team when an objective is completed.

In the example map there are five deployzone entities;

  • gdf_base_deployzone
  • bridge_deployzone
  • outpost_deployzone
  • shield_deployzone
  • strogg_base_deployzone

Vehicles and deployzones

The deployzones are also used to spawn vehicles for the attacking team when they gain territory. When the attacking team loses territory, any of their vehicles associated with the deployzone are destroyed. Vehicles are associated with deployzones by targeting deployable_spawn_<vehiclename> entities. In the example map you will see target paths, originating from the deployzone, leading to the vehicles.

Entity keys

gdf_base_deployzone

  • mtr_territory commandmaps/etqwmap_territory_01
The greyscale territory image on the command map. This changes to red or green depending on which teams owns the territory.
  • start_team gdf
The team which owns the territory at map start.

bridge_deployzone

  • mtr_territory commandmaps/etqwmap_territory_02
  • start_team strogg
The team which owns the territory at map start.
  • target_gdf1 bridge_gdf_badger
First vehicle granted to the GDF when they own the territory.
  • target_gdf2 bridge_gdf_husky
Second vehicle granted to the GDF when they own the territory.
  • target_strogg1 bridge_strogg_icarus_1
First vehicle granted to the Strogg when they own the territory.
  • target_strogg2 bridge_strogg_icarus_2
Second vehicle granted to the Strogg when they own the territory. We added the team's vehicles for the bridge objective here

outpost_deployzone

shield_deployzone

strogg_base_deployzone

Common entity keys

These key pairs are common across all deployzones;

  • territory_start 0 0
FIXME.
  • territory_start 1 1
FIXME.
  • target_playzone territory_size_thing
The playzone entity used to determine the bounds of the map territories.