Info player start (GoldSrc): Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mNo edit summary | SirYodaJedi (talk | contribs)  No edit summary | ||
| (33 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{TabsBar|main=info_player_start}} | |||
| [[File:info_player_start.png|300px|thumb]] | |||
| {{CD|CPointEntity|goldsrc=1}} | |||
| {{this is a|point entity|name=info_player_start|engine=GoldSrc}} | |||
| 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. | |||
| In {{cs}}{{czero}} when {{cmd|deathmatch}} is set to 1, this is a counter-terrorist spawn point, equivalent to later games' {{ent|info_player_counterterrorist}}. | |||
| ==Key Values== | |||
| {{KV Angles}} | |||
| ==Flags== | ==Flags== | ||
| {{Hl1_Appearflags}} | |||
| [[Category:Entities]] | |||
| [[Category:Half-Life]] | [[Category:Half-Life]] | ||
| [[Category:Half-Life Entities]] | |||
Latest revision as of 09:11, 8 May 2025
|  Class hierarchy | 
|---|
| CPointEntity | 
|  effects.cpp | 
info_player_start  is a   point entity  available in all  GoldSrc games.
An
 GoldSrc games.
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.
In 
 when
 when deathmatch is set to 1, this is a counter-terrorist spawn point, equivalent to later games' info_player_counterterrorist.
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.



























