Info player start (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Formatting)
Line 3: Line 3:
==Entity description==
==Entity description==


An info_player_start is used to define where the player will spawn in a map. Only one info_player_start can be used in a level, if more than one is placed inside a map the one placed '''first''' will be the one used. Unlike most point-entities used for spawning, the info_player_start is not ''gravity affected'', 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.


An info_player_start is represented in Hammer as a green rectangle, 72 units tall, and 32 units in length and width (unless Hammer 3.5 is used with the proper fgd to display models).
==Key Values==
{{KV Angles}}


==Flags==
==Flags==
* '''Not in Deathmatch''' - determines whether or not this entity exists in the multiplayer variant of the map.
*2048 : Not in Deathmatch


==See Also==
*<code>[[info_player_start]]</code> (Source Engine)
[[Category:Entities]]
[[Category:Half-Life]]
[[Category:Half-Life]]
[[Category:Half-Life Entities]]
[[Category:Half-Life Entities]]
[[Category:Level Design]]

Revision as of 08:51, 15 June 2018

Half-Life info_player_start is a point entity available in all GoldSource games.

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

  • 2048 : Not in Deathmatch

See Also