Team control point round
From Valve Developer Community
| Table of contents |
[edit]
Entity description
Control Point Round (you may have as many of these in the map as you would like).
[edit]
Availability
This point entity is exclusive to Team Fortress 2.
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- StartDisabled
- <boolean>
- cpr_printname
- <string> LOCALIZED name to print on the RoundInfo panel
- 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.
- cpr_restrict_team_cap_win
- <choices> Prevent this team from winning by capping all the points. Overrides the
cpm_restrict_team_cap_winsetting in team_control_point_master.
Literal Value Description 0 Neither 2 RED 3 BLU
- cpr_cp_names
- <string> Names 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.
[edit]
Inputs
- Kill
- Removes this entity from the world.
- Removes this entity and all its children from the world.
- AddOutput <string>
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
- Enable
- Enable this entity.
- Disable
- Disable this entity.
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
- OnWonByTeam1
- Sent when RED wins the game.
- OnWonByTeam2
- Sent when BLUE wins the game.
- OnStart
- Sent when this round is selected to be played.
- OnEnd
- Sent when this round is finished.
[edit]
