Dod capture area: Difference between revisions
Jump to navigation
Jump to search
(cleanup) |
m (Add bug) |
||
Line 13: | Line 13: | ||
{{KV|Can Axis Cap?|bool|Select if Axis can capture the flag.}} | {{KV|Can Axis Cap?|bool|Select if Axis can capture the flag.}} | ||
{{KV|Number of Allies to cap|int|The number of Allies needed to capture the flag.}} | {{KV|Number of Allies to cap|int|The number of Allies 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.}} | {{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.}} |
Revision as of 08:12, 5 July 2021
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
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 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.