Difference between revisions of "Info player start"

From Valve Developer Community
Jump to: navigation, search
m (Removed note about rotating the player spawn since that info is already included in the entity description.)
(Master exists so that you dont have to use cordons)
Line 7: Line 7:
 
==Entity Description==
 
==Entity Description==
 
It indicates the position and facing direction at which the player will spawn. If there isn't at least one spawn entity, most mods will usually spawn the player at 0, 0, 0.
 
It indicates the position and facing direction at which the player will spawn. If there isn't at least one spawn entity, most mods will usually spawn the player at 0, 0, 0.
 
{{note|While normally a problem, any number of <code>info_player_start</code> entities can be placed in a map when working in [[Hammer Cordon Usage|cordoned]] areas (see [[Hammer Cordon Usage#Localized starting points|Localized starting points]] for more information).}}
 
  
 
== Keyvalues ==
 
== Keyvalues ==

Revision as of 11:18, 12 January 2020

Info player start.png

info_player_start is a point entity available in all Source games.

Entity Description

It indicates the position and facing direction at which the player will spawn. If there isn't at least one spawn entity, most mods will usually spawn the player at 0, 0, 0.

Keyvalues

Angles:

Pitch Yaw Roll (Y Z X) (angles) <angle>
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.

Flags

  • Master (Has priority if multiple info_player_start entities exist)

See also