Team control point
Jump to navigation
Jump to search
Entity Description
Designates a control point.
Availability
This point entity is exclusive to Team Fortress 2.
Keyvalues
- Template:Kv targetname
- Template:Kv angles
- StartDisabled
- <boolean>
- point_printname
- <string> Localized name to print on the HUD.
- point_group
- <int> Used for grouping points together under a team_control_point_master (not using control point rounds).
- point_default_owner
- <int> Default Owner of the control point. 0 = neutral, 2 = red, 3 = blu
- point_index
- <int> Index of this point (must be unique).
- point_warn_on_cap
- <int> Warn the team that owns the control point when the opposing team starts to capture it. 0 = no, 1 = yes.
- point_warn_sound
- <string> Sound to be played when this point is being captured (if warn on capture is set).
- random_owner_on_restart
- <int> Randomly set the owner of this point during a full restart of the map. The ratio of default owners among the points with this flag will be kept when selecting random owners. 0 = no, 1 = yes.
- team_timedpoints_2
- <int> Time-based point value for RED.
- team_timedpoints_3
- <int> Time-based point value for BLU.
- team_capsound_0
- <sound> Sound made when point resets.
- team_capsound_2
- <sound> Sound made when RED captures.
- team_capsound_3
- <sound> Sound made when BLU captures.
- team_model_0
- <model> Model when point reset.
- team_model_2
- <model> Model when RED owns the point.
- team_model_3
- <model> Model when BLU owns the point.
- team_bodygroup_0
- <integer> Reset model bodygroup.
- team_bodygroup_2
- <integer> RED model bodygroup.
- team_bodygroup_3
- <integer> BLU model bodygroup.
- team_icon_0
- <material> HUD icon material when no one owns the point.
- team_icon_2
- <material> HUD icon material when RED owns the point.
- team_icon_3
- <material> HUD icon material when BLU owns the point.
- team_overlay_0
- <material> HUD material that will overlay the icon when no one owns the point.
- team_overlay_2
- <material> HUD material that will overlay the icon when RED owns the point.
- team_overlay_3
- <material> HUD material that will overlay the icon when BLU owns the point.
- team_previouspoint_2_0
- <target_source> The name of a previous capture point that RED must own to be able to capture this point. If empty, the team must own all points preceding this one.
- team_previouspoint_2_1
- <target_source> The name of a second previous capture point that RED must own to be able to capture this point.
- team_previouspoint_2_2
- <target_source> The name of a third previous capture point that RED must own to be able to capture this point.
- team_previouspoint_3_0
- <target_source> The name of a previous capture point that BLU must own to be able to capture this point. If empty, the team must own all points preceding this one.
- team_previouspoint_3_1
- <target_source> The name of a second previous capture point that BLU must own to be able to capture this point.
- team_previouspoint_3_2
- <target_source> The name of a third previous capture point that BLU must own to be able to capture this point.
Flags
This entity doesn't have any flags.
Inputs
- Template:I targetname
- Enable
- Enable this entity.
- Disable
- Disable this entity.
- SetOwner
- <int> Sets the owner of the entity. (0 = noone, 2 = red, 3 = blu)
- HideModel
- Hide the model of the capture point.
- ShowModel
- Shows the model of the capture point again.
Outputs
- Template:O targetname
- OnOwnerChangedToTeam1
- Sent when owner is changed to RED.
- OnOwnerChangedToTeam2
- Sent when owner is changed to BLU.
- OnCapTeam1
- Sent when RED capture this point.
- OnCapTeam2
- Sent when BLU capture this point.