Info player counterterrorist: Difference between revisions
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{lang|info_player_counterterrorist|title=info_player_(counter)terrorist}} | {{lang|info_player_counterterrorist|title=info_player_(counter)terrorist}} | ||
{{back|Creating a Classic Counter-Strike Map}} | {{back|Creating a Classic Counter-Strike Map}} | ||
[[Image:Csgo_player_aabb_bbox_dimensions.png|thumb|right|500px|{{csgo}} Counter-Terrorist model with the [[bounding box]] of a [[player]].]] | |||
'''info_player_terrorist''' and '''info_player_counterterrorist''' are [[point entity|point entities]] available in the following {{Source|1}} engine games: | '''info_player_terrorist''' and '''info_player_counterterrorist''' are [[point entity|point entities]] available in the following {{Source|1}} engine games: | ||
Line 47: | Line 43: | ||
== Outputs == | == Outputs == | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
== Gallery == | |||
[[File:terrorist.jpg|500px|{{css}} Terrorist model.]] | |||
[[FIle:counterterrorist.jpg|500px|{{css}} Counter-Terrorist model.]] | |||
==See also== | ==See also== |
Revision as of 19:34, 3 July 2023
info_player_terrorist and info_player_counterterrorist are point entities available in the following Source engine games:
Counter-Strike: Source,
Counter-Strike: Global Offensive.
This entities is also available on Counter-Strike 2.
These entities are spawn points for either Terrorists or Counter-Terrorists.
At least one of each should be placed for each team member. This may result in the Both Teams are Full error.

- 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.[Why?]





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:
|
Porting from
Half-Life 2 and
Half-Life 2: Deathmatch
Unlike Half-Life 2 and
Half-Life 2: Deathmatch spawn point entities,
Counter-Strike: Source spawn point entities will intersect the ground if not placed a couple of units above it.
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