Info deathmatch spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added detail.)
m (fixed header)
Line 1: Line 1:
{{DISPLAYTITLE:info_deathmatch_spawn}}
{{Csgo point|info_deathmatch_spawn}} This entity marks a deathmatch spawn point. This is the entity that populates the map when <code>mp_randomspawn</code> is enabled. A standard map should have between 16 and 32 spawn points. They should be placed at least 128 units away from each other and surrounding walls and 16 units off the ground to avoid the player being stuck inside the floor.
{{csgo point|info_deathmatch_spawn}}


== Entity description==
{{note|As long as the number of deathmatch spawns is the same as the number of players and <code>mp_randomspawn</code> is enabled, any <code>[[info_player_counterterrorist]]</code> or <code>[[info_player_terrorist]]</code> entities will be ignored.}}
This entity marks a deathmatch spawn point. This is the entity that populates the map when mp_randomspawn 1 is used.
Manually adding them to the map will guarantee that these spawn points are included in the set. A standard map should have between 16 and 32 spawn points.
Should be placed at least 128 units away from each other and surrounding walls.


Note: As long as the number of deathmatch spawns is the same as the number of players, any counter-terrorist or terrorist spawns will be ignored as long as mp_randomspawn is active.
==Keyvalues==
 
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV Angles}}
{{KV|Enabled by default?|bool}}
{{KV|Enabled by default?|bool|Makes entity active and ready to spawn a player the moment the map loads.}}


==Inputs==
==Inputs==
Line 22: Line 16:
==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}
== See also ==
* [[info_player_counterterrorist]]
* [[info_player_terrorist]]


[[Category:Player spawn entities]]
[[Category:Player spawn entities]]

Revision as of 08:05, 14 June 2018

info_deathmatch_spawn is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. This entity marks a deathmatch spawn point. This is the entity that populates the map when mp_randomspawn is enabled. A standard map should have between 16 and 32 spawn points. They should be placed at least 128 units away from each other and surrounding walls and 16 units off the ground to avoid the player being stuck inside the floor.

Note.pngNote:As long as the number of deathmatch spawns is the same as the number of players and mp_randomspawn is enabled, any info_player_counterterrorist or info_player_terrorist entities will be ignored.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Enabled by default? ([todo internal name (i)]) <boolean>
Makes entity active and ready to spawn a player the moment the map loads.

Inputs

SetEnabled <void>
Sets this spawn point as enabled.
SetDisabled <void>
Sets this spawn point as disabled.
ToggleEnabled <void>
Toggle the enabled/disabled state of this spawn point.

Outputs