team_control_point_round
team_control_point_round
is a point 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.
Tip:Use this entity's
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.
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). - Print Name
([todo internal name (i)])
<string> - LOCALIZED name to print on the RoundInfo panel
- Priority
([todo internal name (i)])
<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
([todo internal name (i)])
<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
([todo internal name (i)])
<choices> - Prevent this team from winning by capping all the points
- 0 : Neither
- 1 : Both
- 2 : Red
- 3 : Blue
Inputs
EnableDisable:
Enable / Disable
- 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.