Player (Portal series): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Two CDs, because this entity is different between Portals 1 and 2. Also, Stanley and Beginner's Guide as extras.)
 
m (→‎Inputs: Substituted IO templates)
Line 7: Line 7:


==Inputs==
==Inputs==
{{IO|AllowNormalWalking|Allows movement other than just backwards.|only={{tsp}}, {{tbg}}}}
{{I|AllowNormalWalking|Allows movement other than just backwards.|only={{tsp}}, {{tbg}}}}
{{IO|ForceBackwardsWalking|Disallows other movement besides backwards.|only={{tsp}}, {{tbg}}}}
{{I|ForceBackwardsWalking|Disallows other movement besides backwards.|only={{tsp}}, {{tbg}}}}
{{IO|EndFloating|Returns player's view to default client-side view.|only={{tsp}}, {{tbg}}}}
{{I|EndFloating|Returns player's view to default client-side view.|only={{tsp}}, {{tbg}}}}
{{IO|StartFloating|Makes the player appear to float client-side.|only={{tsp}}, {{tbg}}}}
{{I|StartFloating|Makes the player appear to float client-side.|only={{tsp}}, {{tbg}}}}

Revision as of 11:11, 21 April 2025

English (en)Translate (Translate)
edit
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CPortal_Player
CHL2_Player
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ Class hierarchy
CPortal_Player
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

player is an entity available in Portal series Portal series, The Stanley Parable The Stanley Parable, and The Beginner's Guide The Beginner's Guide. The player themself. This entity still exists even if the player is dead.

Inputs

AllowNormalWalking  (only in The Stanley Parable, The Beginner's Guide)
Allows movement other than just backwards.
ForceBackwardsWalking  (only in The Stanley Parable, The Beginner's Guide)
Disallows other movement besides backwards.
EndFloating  (only in The Stanley Parable, The Beginner's Guide)
Returns player's view to default client-side view.
StartFloating  (only in The Stanley Parable, The Beginner's Guide)
Makes the player appear to float client-side.