Dod capture area: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=dod_capture_area}}
{{dods brush|dod_capture_area}}
{{brush ent|{{{1|}}}|game=Day of Defeat: Source|icon=dods}}


==Entity Description==
==Entity Description==
Capture Area Brush Entity
Capture Area Brush Entity
==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
* {{KV Targetname}}
Line 23: Line 23:
*{{I Targetname}}
*{{I Targetname}}
*{{I EnableDisable}}
*{{I EnableDisable}}
==Outputs==
==Outputs==
*{{O Targetname}}
*{{O Targetname}}
Line 43: Line 44:
* '''OnEndCap'''
* '''OnEndCap'''
: Sent when either team end capture
: Sent when either team end capture
[[Category:Day of Defeat: Source Entities]]

Revision as of 11:16, 24 April 2011

Template:Dods brush

Entity Description

Capture Area Brush Entity

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).
  • 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

  • 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