Dod capture area: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(For Andreasen)
 
No edit summary
Line 1: Line 1:
=For Andreasen=
{{wrongtitle|title=dod_capture_area}}
<pre>@SolidClass base(EnableDisable,Targetname) = dod_capture_area : "Capture Area"
==Entity Description==
[
Capture Area Brush Entity
area_allies_cancap(choices) : "Can Allies Cap?" : 1 =
==Keyvalues==
[
* {{kv targetname}}
1 : "Yes"
* '''area_cap_point'''
0 : "No"
: <target_source> Name of the control point this area is linked to
]
* {{kv enabledisable}}
 
* '''area_allies_cancap'''
area_axis_cancap(choices) : "Can Axis Cap?" : 1 =
: {{boolean}} Can Allies Cap?
[
* '''area_axis_cancap'''
1 : "Yes"
: {{boolean}} Can Axis Cap?
0 : "No"
* '''area_allies_numcap'''
]
: <integer> Number of Allies to cap
 
* '''area_axis_numcap'''
area_allies_numcap(integer) : "Number of Allies to cap" : 1
: <integer> Number of Axis to cap
area_axis_numcap(integer) : "Number of Axis to cap" : 1
* '''area_time_to_cap'''
 
: <integer> Time to cap (sec)
area_time_to_cap(integer) : "Time to cap (sec)" : 5
==Inputs==
 
*{{i targetname}}
output OnAlliesStartCap(void) : "Sent when Allies start capture"
*{{i enabledisable}}
output OnAlliesBreakCap(void) : "Sent when Allies break capture"
==Outputs==
output OnAlliesEndCap(void) : "Sent when Allies end capture"
*{{o targetname}}
 
* '''OnAlliesStartCap'''
output OnAxisStartCap(void) : "Sent when Axis start capture"
: Sent when Allies start capture
output OnAxisBreakCap(void) : "Sent when Axis break capture"
* '''OnAlliesBreakCap'''
output OnAxisEndCap(void) : "Sent when Axis end capture"
: Sent when Allies break capture
 
* '''OnAlliesEndCap'''
output OnStartCap(void) : "Sent when either team starts capture"
: Sent when Allies end capture
output OnBreakCap(void) : "Sent when either team break capture"
* '''OnAxisStartCap'''
output OnEndCap(void) : "Sent when either team end capture"
: Sent when Axis start capture
 
* '''OnAxisBreakCap'''
area_cap_point(target_source) : "Name of the control point this area is linked to" : ""
: Sent when Axis break capture
]</pre>
* '''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
[[Category:Day of Defeat: Source Entities]]

Revision as of 06:47, 21 April 2006

Template:Wrongtitle

Entity Description

Capture Area Brush Entity

Keyvalues

<target_source> Name of the control point this area is linked to
<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)

Inputs

Outputs

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