Info hlvr equip player: Difference between revisions
Jump to navigation
Jump to search
Warning:
(Created page with "{{Source2 point multi|info_hlvr_equip_player|game1 = Half-Life: Alyx}} It is used to equip the HLVR Player with weapons or items. == Keyvalues == {{KV|equip_on_mapstart|boole...") |
m (Replacing {{source2 point multi}} with {{this is a}}. This operation was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{ | {{this is a|point entity|name=info_hlvr_equip_player|game=Half-Life: Alyx|engine=source2}} It is used to equip the HLVR Player with weapons or items. | ||
== Keyvalues == | == Keyvalues == |
Revision as of 13:06, 7 January 2024
info_hlvr_equip_player
is a point entity available in Half-Life: Alyx.

- The {{{engine}}} parameter is inconsistent with the name defined by the {{source2}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to Source 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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.