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
m (Just testing)
m (Undo revision 447596 by THE OWL (talk) It seems to make things worse)
Tag: Undo
Line 5: Line 5:
{{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|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 ==
<div style="margin-bottom:.8em"> The '''Keyvalues''' of the '''prop_dynamic''' entity are listed below. For more information on Keyvalues, see [[Keyvalues|here]]. </div>
<div style="display:grid">
<div style="display:grid; box-shadow:0 2px 0 rgb(0 0 0 / 10%); background-color:rgb(45 45 45); border:thick double rgb(255 255 255 / 3%); border-radius:.3em .3em 0 0; color:rgb(255 255 255 / 80%); position:sticky; padding:.5em 1em; top:0; z-index:10"> '''List of Keyvalues''' </div>
<div style="background-color:rgb(255 255 255 / 2%); border:thick double rgb(255 255 255 / 3%); border-top:0; border-radius:0 0 .3em .3em; padding:.5em 1em">
{{KV Angles}}
{{KV Angles}}
</div>
</div>
</div>


== Flags ==
== Flags ==
<div style="margin-bottom:.8em"> The '''Flags''' of the '''prop_dynamic''' entity are listed below. For more information on Flags, see [[Flag|here]]. </div>
<div style="display:grid">
<div style="box-shadow:0 2px 0 rgb(0 0 0 / 10%); background-color:rgb(45 45 45); border:thick double rgb(255 255 255 / 3%); border-radius:.3em .3em 0 0; color:rgb(255 255 255 / 80%); position:sticky; padding:.5em 1em; top:0; z-index:10"> '''List of Flags''' </div>
<div style="background-color:rgb(255 255 255 / 2%); border:thick double rgb(255 255 255 / 3%); border-top:0; border-radius:0 0 .3em .3em; padding:.5em 1em">
{{fl|1|Master (Has priority if multiple <code>info_player_start</code> entities exist)}}
{{fl|1|Master (Has priority if multiple <code>info_player_start</code> entities exist)}}
</div>
</div>
</div>


== See also ==
== See also ==

Revision as of 10:03, 22 August 2024

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 (Has priority if multiple info_player_start entities exist) : [1]

See also