Player (Half-Life: Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabsBar|main=player}} {{CD|CHL1_Player|base=CBasePlayer|file1=hl1/hl1_player.cpp}} {{ent not in fgd|nolink=2}} {{for|the multiplayer version of this entity|<tt>player_mp (...")
 
No edit summary
Line 4: Line 4:
{{for|the multiplayer version of this entity|<tt>[[player_mp (Half-Life: Source)|player_mp]]</tt>}}
{{for|the multiplayer version of this entity|<tt>[[player_mp (Half-Life: Source)|player_mp]]</tt>}}
{{this is a|point entity|name=player|game=Half-Life: Source}}
{{this is a|point entity|name=player|game=Half-Life: Source}}
{{preservedEnt|player}}
This entity does not have any KeyValues or inputs beyond those inherited from [[CBasePlayer]].

Revision as of 16:04, 11 September 2024

edit
C++ Class hierarchy
CHL1_Player
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ hl1/hl1_player.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
For the multiplayer version of this entity, see player_mp.

player is a point entity available in Half-Life: Source Half-Life: Source.

Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Alien SwarmAlien Swarm: Reactive DropPortal 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.

This entity does not have any KeyValues or inputs beyond those inherited from CBasePlayer.