Info player counterterrorist: Difference between revisions
Jump to navigation
Jump to search
Warning: The number of these entities limits the number of players on the corresponding team! If there are 5 info_player_terrorists, there cannot be more than 5 players on the Terrorist's team! This is a possible cause for Team is full! errors.
Warning: These entites spawn players, which have a width of 32 units in
and
. However, Hammer displays the bounding box of a player model, whose width is less than 32 units! See also: Dimensions.
Tip: Invalid spawn points are reported in the console when the map is loaded, for example:
Tip:
If only some of the spawn points shall be used for say 5v5, increase the
Important:This is a preserved entity in.
If the game has round restart mechanics this entity may not behave as expected:
(These are both PreserveEnts.) |
(Replaced outdated templates for KV, I and O.) |
||
Line 28: | Line 28: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Spawn priority|integer|intn=priority|only={{csgo}}|Determines which spawn points get used first. Smaller numbers are used before larger numbers.}} | {{KV|Spawn priority|integer|intn=priority|only={{csgo}}|Determines which spawn points get used first. Smaller numbers are used before larger numbers.}} | ||
{{KV|Enabled by default?|boolean|intn=enabled|only={{csgo}}|Should this spawn be enabled by default?}} | {{KV|Enabled by default?|boolean|intn=enabled|only={{csgo}}|Should this spawn be enabled by default?}} | ||
{{KV BaseEntity|csgo=1}} | |||
== Inputs == | == Inputs == | ||
Line 38: | Line 36: | ||
{{IO|SetDisabled|only={{csgo}}|Sets this spawn point as disabled.}} | {{IO|SetDisabled|only={{csgo}}|Sets this spawn point as disabled.}} | ||
{{IO|ToggleEnabled|only={{csgo}}|Toggle the enabled/disabled state of this spawn point.}} | {{IO|ToggleEnabled|only={{csgo}}|Toggle the enabled/disabled state of this spawn point.}} | ||
{{I BaseEntity}} | |||
== Outputs == | |||
{{O BaseEntity}} | |||
==See also== | ==See also== |
Revision as of 22:15, 1 September 2021
info_player_terrorist and info_player_counterterrorist are point entities available in the following Source engine games:
Counter-Strike: Source ,
Counter-Strike: Global Offensive .
Entity description
These entities are spawn points for either Terrorists or Counter-Terrorists. At least one of each should be placed for each team member.
Like every player spawn entity, its origin should be placed...
- at least 16 units above the ground,
- more than 32 units away from each other,
- more than 16 units away from surrounding walls and
- not intersecting with any solid geometry,
otherwise the spawn point can become invalid, effectively behaving as if it didn't exist.
Standard maps use between 16 and 32 spawn points.





Invalid terrorist spawnpoint at (<x>,<y>,<z>)
. These lines can easily be found in the console using con_filter_enable 2 and con_filter_text spawnpoint.

Spawn Priority (int)
keyvalue for all other spawn points. The former are used first, latter are only used if needed.
If the game has round restart mechanics this entity may not behave as expected:
|
Keyvalues
- Spawn priority (priority) <integer> (only in
)
- Determines which spawn points get used first. Smaller numbers are used before larger numbers.
- Enabled by default? (enabled) <boolean> (only in
)
- Should this spawn be enabled by default?
Inputs