info_hlvr_equip_player
Jump to navigation
Jump to search
info_hlvr_equip_player
is a point entity available in Half-Life: Alyx. It is used to equip the HLVR Player with weapons or items.
Keyvalues
- set_ammo_rapidfire ([todo internal name (i)]) <integer>
- Set Rapid Fire Ammo (-1 to leave it). Needs to be multiple of 90
- allow_removal ([todo internal name (i)]) <boolean>
- Allow Removal. If set, any equipment the player has that isn't flagged by this info_hlvr_equip_player will be removed from the player.
Pistol Upgrades:
Rapidfire Upgrades:
- rapidfire_upgrade_reflexsight ([todo internal name (i)])
- Rapidfire Upgrade Reflex Sight
- rapidfire_upgrade_lasersight ([todo internal name (i)])
- Rapidfire Upgrade Laser Sight
- rapidfire_upgrade_extended_magazine ([todo internal name (i)])
- Rapidfire Upgrade Extended Magazine
Shotgun Upgrades:
- shotgun_upgrade_autoloader ([todo internal name (i)])
- Shotgun upgrade Autoloader
- shotgun_upgrade_grenade ([todo internal name (i)])
- Shotgun upgrade Grenade Launcher
- shotgun_upgrade_lasersight ([todo internal name (i)])
- Shotgun upgrade Laser Sight
- shotgun_upgrade_quickfire ([todo internal name (i)])
- Shotgun upgrade Quick Fire
Targetname:
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Entity Scripts (vscripts) <scriptlist> (in all games since
)
- 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
- EquipNow
- Equip the HLVR player with selected items.
- EnableInventory
- Enable the HLVR player's inventory (Weapon Switch).
- EnableBackpack
- Enable the HLVR player's backpack.
VScript:
- RunScriptFile <string >
- Load and execute a script file.
- RunScriptCode <string >
- Execute a fragment of script code.
- CallScriptFunction <string >
- Call a script function.
- CallPrivateScriptFunction <string >
- Calls a script function from this entity's private script scope.
- CallGlobalScriptFunction <string >
- Calls a script function in the global script scope.