Dod control point: Difference between revisions
Jump to navigation
Jump to search
Note:Maximum is 8 control points in map.
(Precisions about the 3 model bodygroup) |
m (note, max 8 cp in map) |
||
Line 2: | Line 2: | ||
== Entity description == | == Entity description == | ||
This entity is usually represented visually by a flag (but is not required). In turn, it represents a capturable location within the map. | This entity is usually represented visually by a flag (but is not required). In turn, it represents a capturable location within the map.{{Note|Maximum is 8 control points in map.}} | ||
== Keyvalues == | == Keyvalues == |
Revision as of 05:54, 6 July 2021
Entity description
This entity is usually represented visually by a flag (but is not required). In turn, it represents a capturable location within the map.

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).
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- target
- <target_destination>
- point_name
- <string> Control Point Name when referred to
- point_printname
- <string> Flag name displayed when captured, printed on the hud.
- point_pointvalue
- <integer> Time based points value
- point_points_for_cap
- <integer> Points given to capturer
- point_team_points
- <integer> Points given to team
- point_timedpoints_allies
- <integer> Points given to allies as they own this flag over time
- point_timedpoints_axis
- <integer> Points given to axis as they own this flag over time
- point_default_owner
- <choices> Default owner of the control point
Value Description 0 Neither/Neutral 2 Allies 3 Axis
- point_axis_capsound
- <sound> Sound made when axis captures
- point_allies_capsound
- <sound> Sound made when allies captures
- point_resetsound
- <sound> Sound made when point resets
- point_allies_model
- <studio> Model when allies own point
- point_allies_model_bodygroup
- <integer> Allies model bodygroup (Flag.mdl by default > 0 : Axis (Red), 1 : US (Green), 2 : GB (Blue), 3 : Blank (White))
- point_axis_model
- <studio> Model when axis own point
- point_axis_model_bodygroup
- <integer> Axis model bodygroup (Flag.mdl by default > 0 : Axis (Red), 1 : US (Green), 2 : GB (Blue), 3 : Blank (White))
- point_reset_model
- <studio> Model when point reset
- point_reset_model_bodygroup
- <integer> reset model bodygroup (Flag.mdl by default > 0 : Axis (Red), 1 : US (Green), 2 : GB (Blue), 3 : Blank (White))
- point_group
- <string> Group Name
- point_index
- <integer> Point Index - must be unique over the map (1 to 8)
- point_hud_icon_neutral
- <material> Hud icon material when noone owns point
- point_hud_icon_axis
- <material> Hud icon material when axis owns point
- point_hud_icon_allies
- <material> Hud icon material when allies owns point
- point_win_string
- <string> String to show when capped
Flags
- 1 : Hide Control Point on HUD
Inputs
- RoundInit
- Re initializes the round
- RoundStart
- Restarts the round
- SetTeam <integer> (from TeamNum class)
- Used for the filtering of this entity (0=none 2=allies 3=axis)
Outputs
- OnAlliesCap
- Trigger when the allies cap...
- OnAxisCap
- Trigger when the axis cap...
- OnCapReset
- Trigger on round reset