Dod capture area: Difference between revisions
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{EntityTabs → {{tabs) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 12: | Line 12: | ||
{{KV|Number of Axis to cap|int|The number of Axis needed to capture the flag.{{bug|Client game crash if you set above 5}}}} | {{KV|Number of Axis to cap|int|The number of Axis needed to capture the flag.{{bug|Client game crash if you set above 5}}}} | ||
{{KV|Time to cap <nowiki>(sec)</nowiki>|int|Time to capture the flag.}} | {{KV|Time to cap <nowiki>(sec)</nowiki>|int|Time to capture the flag.}} | ||
{{KV|Name of the control point this area is linked to|target_destination|Name of the | {{KV|Name of the control point this area is linked to|target_destination|Name of the {{ent|dod_control_point}} entity this area is linked to.}} | ||
==Inputs== | ==Inputs== |
Revision as of 16:19, 22 January 2024
This brush entity represents the area where the player(s) must stand in order 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
ortarget
).
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 the
Enable
input).
- Number of Allies to cap ([todo internal name (i)]) <integer>
- The number of Allies needed to capture the flag.
Bug: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.
Bug:Client game crash if you set above 5 [todo tested in ?]
- 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
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.