Team control point master: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated with data from tf-abs.fgd) |
||
Line 1: | Line 1: | ||
{{ | {{tf2 point|team_control_point_master}} | ||
== Entity description == | ==Entity description== | ||
Control Point Master | |||
== Keyvalues == | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV EnableDisable}} | |||
{{KV|Material for the RED Base icon|material}} | |||
{{KV|Material for the BLUE Base icon|material}} | |||
{{KV|Restrict team from winning|choices|Prevent this team from winning by capping all the points. This field is ignored if you're using control_point_rounds in your map (set this field inside the rounds).}} | |||
:* 0 : Neither | |||
:* 1 : Both | |||
:* 2 : Red | |||
:* 3 : Blue | |||
{{KV|Switch teams on map win?|boolean|Switch the teams when one team has won the map and the game is going to be reset.}} | |||
: | {{KV|Scoring style|choices|Sets the style of scoring used for capture point maps.}} | ||
:* 0 : Add team score for each round won | |||
:* 1 : Add team score for each captured point | |||
{{KV|Play all rounds before changelevel|choices|Determines whether the server may changelevel when mp_timelimit is up before all mini-rounds have been completed (for maps like Dustbowl).}} | |||
:* 0 : Changelevel normally | |||
:* 1 : Only changelevel after all mini-rounds have been played to completion | |||
{{KV|Partial cap rate|float|Rate at which to give partial cap points for area captures.}} | |||
| | |||
* | |||
: | |||
: | |||
| | |||
| | |||
* | |||
: | |||
== Inputs == | ==Inputs== | ||
{{I Targetname}} | |||
{{I EnableDisable}} | |||
{{IO|SetWinner|Set the winner of the round to this team (0 for a stalemate).|param=integer}} | |||
{{IO|SetWinnerAndForceCaps|Set the winner of the round to this team and give them ownership of all points.|param=integer}} | |||
{{IO|SetCapLayout|Set the cap layout string.|param=string}} | |||
== Outputs == | ==Outputs== | ||
{{O Targetname}} | |||
{{IO|OnWonByTeam1|Sent when RED wins the game.}} | |||
{{IO|OnWonByTeam2|Sent when BLUE wins the game.}} | |||
== See also == | == See also == | ||
Line 73: | Line 39: | ||
* [[team_control_point_round]] | * [[team_control_point_round]] | ||
* [[:TF2/Setting_the_cap_point_layout|Setting the cap point layout]] | * [[:TF2/Setting_the_cap_point_layout|Setting the cap point layout]] | ||
Revision as of 22:13, 9 May 2011
team_control_point_master
is a point entity available in Team Fortress 2.
Entity description
Control Point Master
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).
- Restrict team from winning ([todo internal name (i)]) <choices>
- Prevent this team from winning by capping all the points. This field is ignored if you're using control_point_rounds in your map (set this field inside the rounds).
- 0 : Neither
- 1 : Both
- 2 : Red
- 3 : Blue
- Switch teams on map win? ([todo internal name (i)]) <boolean>
- Switch the teams when one team has won the map and the game is going to be reset.
- Scoring style ([todo internal name (i)]) <choices>
- Sets the style of scoring used for capture point maps.
- 0 : Add team score for each round won
- 1 : Add team score for each captured point
- Play all rounds before changelevel ([todo internal name (i)]) <choices>
- Determines whether the server may changelevel when mp_timelimit is up before all mini-rounds have been completed (for maps like Dustbowl).
- 0 : Changelevel normally
- 1 : Only changelevel after all mini-rounds have been played to completion
- Partial cap rate ([todo internal name (i)]) <float>
- Rate at which to give partial cap points for area captures.
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- SetWinner <integer >
- Set the winner of the round to this team (0 for a stalemate).
- SetWinnerAndForceCaps <integer >
- Set the winner of the round to this team and give them ownership of all points.
- SetCapLayout <string >
- Set the cap layout string.
Outputs
- OnWonByTeam1
- Sent when RED wins the game.
- OnWonByTeam2
- Sent when BLUE wins the game.