Dod control point
From Valve Developer Community
| Table of contents |
[edit]
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.
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- StartDisabled
- <boolean>
- Pitch Yaw Roll (Y Z X)
- This entity's angular orientation in the world (also used for angular effect entities).
- 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
- point_axis_model
- <studio> Model when axis own point
- point_axis_model_bodygroup
- <integer> Axis model bodygroup
- point_reset_model
- <studio> Model when point reset
- point_reset_model_bodygroup
- <integer> reset model bodygroup
- point_group
- <string> Group Name
- point_index
- <integer> Point Index - must be unique over the map
- 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
[edit]
Flags
- 1 : Hide Control Point on HUD
[edit]
Inputs
- Kill
- Removes this entity from the world.
- Removes this entity and all its children from the world.
- AddOutput <string>
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
- 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)
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
- OnAlliesCap
- Trigger when the allies cap...
- OnAxisCap
- Trigger when the axis cap...
- OnCapReset
- Trigger on round reset
[edit]
