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
(Apparently info_player_start identifies as a attack chopper?)
No edit summary
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]]
[[File:info_player_start.png|300px|right|thumb|models/editor/playerstart.mdl]]
{{CD|CPointEntity|file1=subs.cpp|nolink=1}}
{{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> ({{ent|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|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.}}
{{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.}}
 
== Keyvalues ==
== Keyvalues ==
{{KV Angles}}
{{KV Angles}}
Line 13: Line 14:


== See also ==
== See also ==
* [[info_player_deathmatch]]
* {{ent|info_player_deathmatch}}
* {{HL2dm}} [[info_player_combine]], [[info_player_rebel]]
* {{HL2dm}} {{ent|info_player_combine}}, {{ent|info_player_rebel}}
* {{Bms}} [[info_player_scientist]], [[info_player_marine]], [[info_observer_menu]]
* {{Bms}} {{ent|info_player_scientist}}, {{ent|info_player_marine}}, {{ent|info_observer_menu}}
* {{CSS}}{{csgo}} [[info_player_counterterrorist]], [[info_player_terrorist]]
* {{CSS}}{{csgo}} {{ent|info_player_counterterrorist}}, {{ent|info_player_terrorist}}
* {{DODS}} [[info_player_allies]], [[info_player_axis]]
* {{DODS}} {{ent|info_player_allies}}, {{ent|info_player_axis}}
* {{Tf2}} [[info_player_teamspawn]]
* {{Tf2}} {{ent|info_player_teamspawn}}
* {{l4ds}} [[info_survivor_position]]
* {{l4ds}} {{ent|info_survivor_position}}
* {{Portal2}} [[info_coop_spawn]]
* {{Portal2}} {{ent|info_coop_spawn}}
* {{src}} [[game_player_equip]]
* {{src}} {{ent|game_player_equip}}


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

Revision as of 05:37, 25 March 2025

English (en)한국어 (ko)中文 (zh)Translate (Translate)
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>
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