Point hlvr strip player: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Not just weapons)
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Source2 point multi|point_hlvr_strip_player|game1 = Half-Life: Alyx}} It is used to strip weapons from the HLVR player.
{{this is a |point entity|name=point_hlvr_strip_player|game = Half-Life: Alyx}} It is used to remove the player's weapons, akin to the weapon strippers in Half-Life 2.


== Keyvalues ==
== Keyvalues ==
{{KV|Enable Physics Delay (EnablePhysicsDelay)|float|Delay before the stripped items enable their physics collision and can be affected by triggers.}}
{{KV Targetname}}
{{KV|Dissolve Items Delay (DissolveItemsDelay)|float|Delay before the stripped items are dissolved.}}
{{KV|Enable Physics Delay|intn=EnablePhysicsDelay|float|Delay before the stripped items enable their physics collision and can be affected by triggers.}}
{{KV|Item Velocity (ItemVelocity)|float|The velocity of the items as they exit the player.}}
{{KV|Dissolve Items Delay|intn=DissolveItemsDelay|float|Delay before the stripped items are dissolved.}}
{{HLA KV Targetname}}
{{KV|Item Velocity|intn=ItemVelocity|float|The velocity of the items as they exit the player.}}


== Inputs ==
== Inputs ==
{{IO|StripPlayer|Strips the player.}}
{{I|StripPlayer|Strips the player.}}
{{IO|StripPlayerQuiet|Strips the player.}}
{{I|StripPlayerQuiet|Strips the player.}}
{{ScrollBox|title=VScript|
{{IO|RunScriptFile|param=string|Load and execute a script file.}}
{{IO|RunScriptCode|param=string|Execute a fragment of script code.}}
{{IO|CallScriptFunction|param=string|Call a script function.}}
{{IO|CallPrivateScriptFunction|param=string|Calls a script function from this entity's private script scope.}}
{{IO|CallGlobalScriptFunction|param=string|Calls a script function in the global script scope.}}
}}
{{I Targetname}}
 
== Outputs ==
{{O Targetname}}

Latest revision as of 11:14, 26 September 2024

point_hlvr_strip_player is a point entity available in Half-Life: Alyx Half-Life: Alyx. It is used to remove the player's weapons, akin to the weapon strippers in Half-Life 2.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Enable Physics Delay (EnablePhysicsDelay) <float>
Delay before the stripped items enable their physics collision and can be affected by triggers.
Dissolve Items Delay (DissolveItemsDelay) <float>
Delay before the stripped items are dissolved.
Item Velocity (ItemVelocity) <float>
The velocity of the items as they exit the player.

Inputs

StripPlayer
Strips the player.
StripPlayerQuiet
Strips the player.