Team control point: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=team_control_point}} | {{wrongtitle|title=team_control_point}} | ||
==Entity Description== | |||
[[Image:Cappoint.JPG|thumb|Team_Control_Point is an entity used to make capture points]] | [[Image:Cappoint.JPG|thumb|Team_Control_Point is an entity used to make capture points]] | ||
Designates a control point. | Designates a control point. | ||
{{clr}} | |||
==Availability== | ==Availability== | ||
This point [[entity]] is exclusive to Team Fortress 2. | This point [[entity]] is exclusive to Team Fortress 2. | ||
Line 15: | Line 15: | ||
: <string> Localized name to print on the HUD. | : <string> Localized name to print on the HUD. | ||
* '''point_group''' | * '''point_group''' | ||
: < | : <integer> Used for grouping points together under a [[team_control_point_master]] (not using control point rounds). | ||
* '''point_default_owner''' | * '''point_default_owner''' | ||
: < | : <integer> Default Owner of the control point. 0 = neutral, 2 = red, 3 = blu | ||
* '''point_index''' | * '''point_index''' | ||
: < | : <integer> Index of this point (must be unique). | ||
* '''point_warn_on_cap''' | * '''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''' | * '''point_warn_sound''' | ||
: < | : <sound> Sound to be played when this point is being captured (if warn on capture is set). | ||
* '''random_owner_on_restart''' | * '''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''' | * '''team_timedpoints_2''' | ||
: < | : <integer> Time-based point value for RED. | ||
* '''team_timedpoints_3''' | * '''team_timedpoints_3''' | ||
: < | : <integer> Time-based point value for BLU. | ||
* '''team_capsound_0''' | * '''team_capsound_0''' | ||
: <sound> Sound made when point resets. | : <sound> Sound made when point resets. | ||
Line 61: | Line 61: | ||
: <material> HUD material that will overlay the icon when BLU owns the point. | : <material> HUD material that will overlay the icon when BLU owns the point. | ||
* '''team_previouspoint_2_0''' | * '''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''' | * '''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''' | * '''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''' | * '''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''' | * '''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''' | * '''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== | ==Flags== | ||
Line 85: | Line 85: | ||
: Disable this entity. | : Disable this entity. | ||
* '''SetOwner''' | * '''SetOwner''' | ||
: < | : <integer> Sets the owner of the entity. (0 = none, 2 = red, 3 = blu) | ||
* '''HideModel''' | * '''HideModel''' | ||
: Hide the model of the capture point. | : Hide the model of the capture point. |
Revision as of 09:21, 27 September 2007
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
- <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
- Template:I targetname
- Enable
- Enable this entity.
- Disable
- Disable this entity.
- 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
- 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.