Point hlvr strip player: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fix the page using deprecated templates that aren't fully relevant to Source 2 games)
m (Fix old formatting on KV template that caused ??? to show)
Line 2: Line 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|Enable Physics Delay|intn=EnablePhysicsDelay|float|Delay before the stripped items enable their physics collision and can be affected by triggers.}}
{{KV|Dissolve Items Delay (DissolveItemsDelay)|float|Delay before the stripped items are dissolved.}}
{{KV|Dissolve Items Delay|intn=DissolveItemsDelay|float|Delay before the stripped items are dissolved.}}
{{KV|Item Velocity (ItemVelocity)|float|The velocity of the items as they exit the player.}}
{{KV|Item Velocity|intn=ItemVelocity|float|The velocity of the items as they exit the player.}}
{{HLA KV Targetname}}
{{HLA KV Targetname}}



Revision as of 11:59, 19 June 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

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.
Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Entity Scripts (vscripts) <scriptlist> (in all games since Left 4 Dead 2)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.

Inputs

StripPlayer
Strips the player.
StripPlayerQuiet
Strips the player.

Base:

RunScriptFile
Load and execute a script file.
RunScriptCode
Execute a fragment of script code.
CallScriptFunction
Call a script function.
CallPrivateScriptFunction
Calls a script function from this entity's private script scope.
CallGlobalScriptFunction
Calls a script function in the global script scope.
Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput
Adds an entity I/O connection to this entity. Parameter format: OutputName→TargetName→InputName→Parameter→Delay→MaxRefires
FireUser1 to FireUser4
Fires the respectiveOnUseroutputs; see User Inputs and Outputs.

Outputs