Dod capture area: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added EntityTabs Template) |
||
Line 1: | Line 1: | ||
{{EntityTabs|dod_control_point|goldsrc = 1|source = 1|main = source}} | |||
{{entity|dod_capture_area|type=e2|game=Day of Defeat: Source}} | {{entity|dod_capture_area|type=e2|game=Day of Defeat: Source}} | ||
This brush entity represents the area where the player(s) must stand in order to start capturing the flag. | |||
== | ==Key Values== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV|Can Allies Cap?|bool|Select if Allies can capture the flag.}} | {{KV|Can Allies Cap?|bool|Select if Allies can capture the flag.}} | ||
{{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.{{bug|Client game crash if you set above 5}}}} | {{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.{{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 control point this area is linked to.}} | {{KV|Name of the control point this area is linked to|target_destination|Name of the control point this area is linked to.}} | ||
Line 27: | Line 20: | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} | ||
{{IO|OnAlliesStartCap|Sent when Allies start capture.|}} | {{IO|OnAlliesStartCap|Sent when Allies start capture.|}} | ||
{{IO|OnAlliesBreakCap|Sent when Allies break capture.|}} | {{IO|OnAlliesBreakCap|Sent when Allies break capture.|}} | ||
{{IO|OnAlliesEndCap|Sent when Allies end capture.|}} | {{IO|OnAlliesEndCap|Sent when Allies end capture.|}} | ||
{{IO|OnAxisStartCap|Sent when Axis start capture.|}} | {{IO|OnAxisStartCap|Sent when Axis start capture.|}} | ||
{{IO|OnAxisBreakCap|Sent when Axis break capture.|}} | {{IO|OnAxisBreakCap|Sent when Axis break capture.|}} | ||
{{IO|OnAxisEndCap|Sent when Axis end capture.|}} | {{IO|OnAxisEndCap|Sent when Axis end capture.|}} | ||
{{IO|OnStartCap|Sent when either team starts capture.|}} | {{IO|OnStartCap|Sent when either team starts capture.|}} | ||
{{IO|OnBreakCap|Sent when either team break capture.|}} | {{IO|OnBreakCap|Sent when either team break capture.|}} | ||
{{IO|OnEndCap|Sent when either team end capture.|}} | {{IO|OnEndCap|Sent when either team end capture.|}} |
Revision as of 23:27, 17 August 2023
Template:EntityTabs Template:Entity
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 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.