This article's documentation is for Source 2. Click here for more information.

prop_hlvr_crafting_station

From Valve Developer Community
Revision as of 13:07, 7 January 2024 by PeeBot (talk | contribs) (Replacing {{source2 point multi}} with {{this is a}}. This operation was performed by a bot.)
Jump to navigation Jump to search

prop_hlvr_crafting_station is a point entity available in Half-Life: Alyx Half-Life: Alyx.

Warning.pngWarning:
  • 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.

Entity description

It is a station that can be used to spend resin in return for weapon upgrades. Upgrades may only be bought for weapons that the player currently has.

Keyvalues

Hacking Plug (hacking_plug) ([todo internal name (i)]) <targetname>
Specifies an info_hlvr_holo_hacking_plug to be used to activate the crafting station.
Starts Powered (is_powered) ([todo internal name (i)]) <boolean>
Sets whether the crafting station and the associated hacking plug start powered.
Lightmap Static (lightmapstatic) ([todo internal name (i)]) <choices>
How this geometry influences baked lighting.
Value Description
0 No
1 Yes
2 Bounce Only
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

Enable
Enable the crafting station and the associated hacking plug if they did not start powered.
OpenStation
Open the station. Skips the hacking plug puzzle and opens the station immediately.
ReturnWeapon
Return the weapon to the player immediately.
OnPlayerNear
Fired when the player is near the station before it has been hacked and opened.
VScript:
CallPrivateScriptFunction <stringRedirectInput/string>
Calls a script function from this entity's private script scope.
CallGlobalScriptFunction <stringRedirectInput/string>
Calls a script function in the global script scope.


Outputs