Difference between revisions of "Deployzones"

From Mod Wiki
Line 1: Line 1:
 
{{first etqwmap toc}}
 
{{first etqwmap toc}}
Deployzone entities are used to determine where territories exist within a map. They are brush based entities using the [[Common Textures#common/trigger|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.
+
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 [[Common Textures#common/trigger|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;
 
In the example map there are five deployzone entities;
Line 17: Line 17:
  
 
=== gdf_base_deployzone ===
 
=== gdf_base_deployzone ===
 +
* {{keyname|mtr_territory}} {{keyvalue|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.
 +
* {{keyname|start_team}} {{keyvalue|gdf}}
 +
: The team which owns the territory at map start.
 
=== bridge_deployzone ===
 
=== bridge_deployzone ===
 +
* {{keyname|mtr_territory}} {{keyvalue|commandmaps/etqwmap_territory_02}}
 +
* {{keyname|start_team}} {{keyvalue|strogg}}
 +
: The team which owns the territory at map start.
 +
* {{keyname|target_gdf1}} {{keyvalue|bridge_gdf_badger}}
 +
: First vehicle granted to the GDF when they own the territory.
 
=== outpost_deployzone ===
 
=== outpost_deployzone ===
 
=== shield_deployzone ===
 
=== shield_deployzone ===
 
=== strogg_base_deployzone ===
 
=== strogg_base_deployzone ===
 
=== Common entity keys ===
 
=== Common entity keys ===
 +
These key pairs are common across all deployzones;
 +
* {{keyname|territory_start}} {{keyvalue|0 0}}
 +
: FIXME.
 +
* {{keyname|territory_start}} {{keyvalue|1 1}}
 +
: FIXME.
 +
* {{keyname|target_playzone}} {{keyvalue|territory_size_thing}}
 +
: The playzone entity used to determine the bounds of the map territories.

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

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.