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

Info player start: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Apparently info_player_start identifies as a attack chopper?)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{TabsBar|main=gs|base=Info player start}}
{{TabsBar|main=gs|base=Info player start}}
[[File:info_player_start.png|300px|right|thumb|models/editor/playerstart.mdl]]
[[File:info_player_start.png|300px|right|thumb]]
{{CD|CPointEntity|file1=subs.cpp}}
{{CD|CPointEntity|file1=subs.cpp|nolink=1}}
{{This is a|point entity|name=info_player_start}} 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 <code>(0, 0, 0)</code> ([[worldspawn]]).
{{this is a|point entity|name=info_player_start}} 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 <code>(0, 0, 0)</code> ([[worldspawn]]).
{{note|In multiplayer games, this entity is usually unused. See below for other player spawn entities.}}
{{note|In multiplayer games, this entity is usually unused. See below for other player spawn entities.}}
{{Tip|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.}}
{{Tip|This entity is scaled to 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 ==
== Keyvalues ==
{{KV Angles}}
{{KV Angles}}
Line 14: Line 13:


== See also ==
== See also ==
* {{ent|info_player_deathmatch}}
* [[info_player_deathmatch]]
* {{HL2dm}} [[info_player_combine]], [[info_player_rebel]]
* {{HL2dm}} [[info_player_combine]], [[info_player_rebel]]
* {{Bms}} [[info_player_scientist]], [[info_player_marine]], [[info_observer_menu]]
* {{Bms}} [[info_player_scientist]], [[info_player_marine]], [[info_observer_menu]]

Revision as of 05:31, 25 March 2025

English (en)한국어 (ko)中文 (zh)Translate (Translate)
Info player start.png
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:This entity is scaled to 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>
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 : [1]
Has priority if multiple info_player_start entities exist

See also