Dod capture area

From Valve Developer Community

Table of contents

Entity Description

Capture Area Brush Entity

Keyvalues

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
  • StartDisabled
<boolean>
  • area_allies_cancap
<boolean> Can Allies Cap?
  • area_axis_cancap
<boolean> Can Axis Cap?
  • area_allies_numcap
<integer> Number of Allies to cap
  • area_axis_numcap
<integer> Number of Axis to cap
  • area_time_to_cap
<integer> Time to cap (sec)
  • area_cap_point
<target_destination> Name of the control point this area is linked to

Inputs

  • Kill
Removes this entity from the world.
Removes this entity and all its children from the world.
  • AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • Enable
Enable this entity.
  • Disable
Disable this entity.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator
  • 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