team_control_point_round
Jump to navigation
Jump to search
Note:This entity is also in the code for
. Its functionality is not guaranteed.
Tip:Use this entity's
| CTeamControlPointRound |
team_control_point_round is a logical entity available in
Team Fortress 2.
Entity description
This entity tells the game how to split your map into rounds, with each entity describing a single round. You may have as many of these in the map as you would like. This entity is required on multi-stage maps like Dustbowl and Goldrush.
OnStart and OnEnd outputs to control spawnrooms and block off any areas of the map that aren't used in the relevant round.Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
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
Enableinput).
- Print Name (cpr_printname) <string>
- LOCALIZED name to print on the RoundInfo panel
- Priority (cpr_priority) <integer>
- The priority value for this round (must be >= 0). Higher priority rounds will be picked first. If multiple rounds have the same priority value, a random selection will be used.
- Control points in this round (cpr_cp_names) <string>
- Targetnames of the control points included in this round (space delimited). Control points may belong to more than one control point round. The names of the control points (and the rounds) should all be unique.
- Restrict team from winning (cpr_restrict_team_cap_win) <choices>
- Prevent this team from winning by capping all the points
- 0 : Neither
- 1 : Both
- 2 : Red
- 3 : Blue
Inputs
EnableDisable:
- Enable / Disable <void>
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnStart
- Sent when this round is selected to be played.
- OnEnd
- Sent when this round is finished.
- OnWonByTeam1
- Sent when RED wins this round.
- OnWonByTeam2
- Sent when BLUE wins this round.