Info player start (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:
SirYodaJedi (talk | contribs) mNo edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
}} | }} | ||
{{ | {{This is a|info_player_start|type=e0|engine=1}} | ||
==Entity description== | ==Entity description== | ||
An <code>info_player_start</code> is used to define where the player will spawn in a map in single player. Only one <code>info_player_start</code> can be used in a level. If more than one exists, the one placed first will be used. Unlike most point entities used for spawning, the <code>info_player_start</code> is not affected by gravity, meaning if the entity is placed mid-air in the editor it will be placed mid-air in the map, resulting in the player spawning and falling from it. | An <code>info_player_start</code> is used to define where the player will spawn in a map in single player. Only one <code>info_player_start</code> can be used in a level. If more than one exists, the one placed first will be used. Unlike most point entities used for spawning, the <code>info_player_start</code> is not affected by gravity, meaning if the entity is placed mid-air in the editor it will be placed mid-air in the map, resulting in the player spawning and falling from it. | ||
Revision as of 00:54, 9 September 2023
info_player_start | |
---|---|
![]() | |
Type | Point entity |
Engine | ![]() ![]() ![]() |
Availability | In all games |
This is an info_player_start available in all Template:1 games.Template:1 topicon

- The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
Entity description
An info_player_start
is used to define where the player will spawn in a map in single player. Only one info_player_start
can be used in a level. If more than one exists, the one placed first will be used. Unlike most point entities used for spawning, the info_player_start
is not affected by gravity, meaning if the entity is placed mid-air in the editor it will be placed mid-air in the map, resulting in the player spawning and falling from it.
Key Values
- 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
- Not In Deathmatch : [2048]
- Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.
Tip:This is intercepted before the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the edict limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as monsters and info_null, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.