Dod capture area: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 16: Line 16:


==Inputs==
==Inputs==
{{IO|RoundInit|nofgd=1|}}
{{I EnableDisable}}
{{expand|title=CBaseEntity|
{{I BaseEntity|base=1}}
{{I BaseEntity|base=1}}
{{I EnableDisable}}
}}


==Outputs==
==Outputs==

Revision as of 17:39, 24 August 2024

C++ Class hierarchy
CAreaCapture
CBaseTrigger
CBaseToggle
CBaseEntity
C++ dod/dod_area_capture.cpp

dod_capture_area is a brush entity available in Day of Defeat: Source Day of Defeat: Source.

This brush entity represents the area where the player(s) must stand to start capturing the flag.

Key Values

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.
Icon-Bug.pngBug:Client game crash if you set above 5  [todo tested in ?]
Number of Axis to cap ([todo internal name (i)]) <integer>
The number of Axis needed to capture the flag.
Icon-Bug.pngBug:Client game crash if you set above 5  [todo tested in ?]
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 dod_control_point entity this area is linked to.

Inputs

RoundInit  !FGD

EnableDisable:

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


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.