Dod capture area: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup)
Line 1: Line 1:
{{dods brush|dod_capture_area}}
{{dods brush|dod_capture_area}}


==Entity Description==
==Entity description==
Capture area. This entity is the area where the player(s) must stand in order to start capturing the flag.
Capture area. This brush entity is the area where the player(s) must stand in order to start capturing the flag.


==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
{{KV Targetname}}
* {{KV EnableDisable}}
 
* '''area_allies_cancap'''
{{KV EnableDisable}}
: {{boolean}} Can Allies Cap?
 
* '''area_axis_cancap'''
{{KV|Can Allies Cap?|bool|Select if Allies can capture the flag.}}
: {{boolean}} Can Axis Cap?
 
* '''area_allies_numcap'''
{{KV|Can Axis Cap?|bool|Select if Axis can capture the flag.}}
: <integer> Number of Allies to cap
 
* '''area_axis_numcap'''
{{KV|Number of Allies to cap|int|The number of Allies needed to capture the flag.}}
: <integer> Number of Axis to cap
 
* '''area_time_to_cap'''
{{KV|Number of Axis to cap|int|The number of Axis needed to capture the flag.}}
: <integer> Time to cap (sec)
 
* '''area_cap_point'''
{{KV|Time to cap <nowiki>(sec)</nowiki>|int|Time to capture the flag.}}
: <target_destination> Name of the control point this area is linked to
 
{{KV|Name of the control point this area is linked to|target_destination|Name of the control point this area is linked to.}}


==Inputs==
==Inputs==
*{{I Targetname}}
{{I Targetname}}
*{{I EnableDisable}}
{{I EnableDisable}}


==Outputs==
==Outputs==
*{{O Targetname}}
{{O Targetname}}
* '''OnAlliesStartCap'''
 
: Sent when Allies start capture
{{IO|OnAlliesStartCap|Sent when Allies start capture.|}}
* '''OnAlliesBreakCap'''
 
: Sent when Allies break capture
{{IO|OnAlliesBreakCap|Sent when Allies break capture.|}}
* '''OnAlliesEndCap'''
 
: Sent when Allies end capture
{{IO|OnAlliesEndCap|Sent when Allies end capture.|}}
* '''OnAxisStartCap'''
 
: Sent when Axis start capture
{{IO|OnAxisStartCap|Sent when Axis start capture.|}}
* '''OnAxisBreakCap'''
 
: Sent when Axis break capture
{{IO|OnAxisBreakCap|Sent when Axis break capture.|}}
* '''OnAxisEndCap'''
 
: Sent when Axis end capture
{{IO|OnAxisEndCap|Sent when Axis end capture.|}}
* '''OnStartCap'''
 
: Sent when either team starts capture
{{IO|OnStartCap|Sent when either team starts capture.|}}
* '''OnBreakCap'''
 
: Sent when either team break capture
{{IO|OnBreakCap|Sent when either team break capture.|}}
* '''OnEndCap'''
 
: Sent when either team end capture
{{IO|OnEndCap|Sent when either team end capture.|}}

Revision as of 13:08, 6 February 2012

Template:Dods brush

Entity description

Capture area. This brush entity is the area where the player(s) must stand in order to start capturing the flag.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).


Can Allies Cap? ([todo internal name (i)]) <boolean>
Select if Allies can capture the flag.


Can Axis Cap? ([todo internal name (i)]) <boolean>
Select if Axis can capture the flag.


Number of Allies to cap ([todo internal name (i)]) <integer>
The number of Allies needed to capture the flag.


Number of Axis to cap ([todo internal name (i)]) <integer>
The number of Axis needed to capture the flag.


Time to cap (sec) ([todo internal name (i)]) <integer>
Time to capture the flag.


Name of the control point this area is linked to ([todo internal name (i)]) <targetname>
Name of the control point this area is linked to.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnAlliesStartCap
Sent when Allies start capture.


OnAlliesBreakCap
Sent when Allies break capture.


OnAlliesEndCap
Sent when Allies end capture.


OnAxisStartCap
Sent when Axis start capture.


OnAxisBreakCap
Sent when Axis break capture.


OnAxisEndCap
Sent when Axis end capture.


OnStartCap
Sent when either team starts capture.


OnBreakCap
Sent when either team break capture.


OnEndCap
Sent when either team end capture.