This article's documentation is for anything that uses the Source engine. Click here for more information.

info_player_start

From Valve Developer Community
Revision as of 17:51, 14 August 2025 by Cvoxalury (talk | contribs) (At least in HL2 and modbase the pitch will affect the camera, don't know about other games)
Jump to navigation Jump to search
English (en)한국어 (ko)中文 (zh)Translate (Translate)
edit
models/editor/playerstart.mdl
C++ Class hierarchy
CPointEntity
CBaseEntity
C++ subs.cpp

info_player_start is a point entity available in all Source Source games. 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) (worldspawn).

Note.pngNote:In multiplayer games, this entity is usually unused. See below for other player spawn entities.
Tip.pngTip:The FGD helper model is approximately the same height as the player in-game. It can be used as a reference if you forget the actual size of the player.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
Orientation the player will face when spawned.
Warning.pngWarning:Be careful not to set the Pitch value other than 0, as it will affect the initial camera angle, and can't be reset by the player without using cheats. [todo tested in Half-Life 2 and Source SDK]

Flags

Master : [1]
Has priority if multiple info_player_start entities exist

See also