Info player start: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:In multiplayer games, this entity is usually unused. See below for other player spawn entities.
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.
		
	
m (→See Also:  allies & axis)  | 
				m (→Keyvalues:  Maybe saying "tilt" is more informative. Good thing we call this a Warning and not a Bug since this could be (sort of) intentional. What else should setting a roll value other than 0 do? Nothing? Nah.)  | 
				||
| (70 intermediate revisions by 32 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{LanguageBar}}  | ||
{{TabsBar|main=Info player start}}  | |||
[[File:info_player_start.png|300px|right|thumb|models/editor/playerstart.mdl]]  | |||
{{CD|CPointEntity|file1=subs.cpp}}  | |||
{{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.}}  | |||
{{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 ==  | ||
{{KV Angles|Orientation the player will face when spawned. {{Warning|Setting a Roll value other than 0 will tilt the initial camera angle, and can't be reset by the player without using cheats. {{todotest|Source SDK, {{hl2}}, {{portal2}}}}}}}}  | |||
== Flags ==  | |||
{{fl|1|Master|Has priority if multiple <code>info_player_start</code> entities exist}}  | |||
== See also ==  | |||
* {{ent|info_player_deathmatch}}  | |||
* {{HL2dm}} {{ent|info_player_rebel}}, {{ent|info_player_combine}}  | |||
* {{Bms}} {{ent|info_player_scientist}}, {{ent|info_player_marine}}, {{ent|info_observer_menu}}  | |||
* {{CSS}}{{csgo}} {{ent|info_player_counterterrorist}}, {{ent|info_player_terrorist}}  | |||
* {{DODS}} {{ent|info_player_allies}}, {{ent|info_player_axis}}  | |||
* {{Tf2}} {{ent|info_player_teamspawn}}  | |||
* {{l4ds}} {{ent|info_survivor_position}}  | |||
* {{Portal2}} {{ent|info_coop_spawn}}  | |||
* {{src}} {{ent|game_player_equip}}  | |||
[[Category:Player spawn entities]]  | |||
[[Category:  | |||
Latest revision as of 07:47, 20 August 2025
| CPointEntity | 
info_player_start  is a   point entity  available in all 
 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).
Keyvalues
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
 - Orientation the player will face when spawned.
 
Flags
- Master : [1]
 - Has priority if multiple 
info_player_startentities exist