Team control point: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
== Entity description == | == Entity description == | ||
Designates the location of a [[Creating a Capture Point|capture point]]; use in conjunction with [[trigger_capture_area]]. | Designates the location of a [[Creating a Capture Point|capture point]]; use in conjunction with [[trigger_capture_area]]. | ||
== Keyvalues == | == Keyvalues == |
Revision as of 19:13, 19 December 2010
Template:Wrongtitle
{{{1}}}
is a point entity available in Team Fortress 2.
Entity description
Designates the location of a capture point; use in conjunction with trigger_capture_area.
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
- 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.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
- point_printname
- <string> Localized name to print on the HUD.
- point_group
- <integer> Used for grouping points together under a team_control_point_master (not using control point rounds).
- point_default_owner
- <integer> Default Owner of the control point. 0 = neutral, 2 = red, 3 = blu
- point_index
- <integer> Index of this point (must be unique).
- point_warn_on_cap
- <integer> Warn the team that owns the control point when the opposing team starts to capture it. 0 = no, 1 = yes.
- point_warn_sound
- <sound> Sound to be played when this point is being captured (if warn on capture is set).
- random_owner_on_restart
- <integer> 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
- <integer> Time-based point value for RED.
- team_timedpoints_3
- <integer> 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_destination> 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_destination> The name of a second previous capture point that RED must own to be able to capture this point.
- team_previouspoint_2_2
- <target_destination> The name of a third previous capture point that RED must own to be able to capture this point.
- team_previouspoint_3_0
- <target_destination> 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_destination> The name of a second previous capture point that BLU must own to be able to capture this point.
- team_previouspoint_3_2
- <target_destination> The name of a third previous capture point that BLU must own to be able to capture this point.
Flags
- 1 : Hide control point on HUD
- 2 : Start with model hidden
- 4 : Disable shadow
Inputs
- EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- SetOwner
- <integer> Sets the owner of the entity. (0 = none, 2 = red, 3 = blu)
- HideModel
- Hide the model of the capture point.
- ShowModel
- Shows the model of the capture point again.
Outputs
- 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.