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

Item combine console: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Page Creation)
 
m (Substituted IO templates)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Source2 point multi|item_combine_console|game1 = Half-Life: Alyx}}
{{this is a|point entity|name=item_combine_console|game=Half-Life: Alyx|engine=Source 2}}


==Entity description==
==Entity description==
Line 37: Line 37:


== Inputs ==
== Inputs ==
{{IO|Enable|Enable this entity and the associated Hacking Plug.}}
{{I|Enable|Enable this entity and the associated Hacking Plug.}}
{{IO|Disable|Disable this entity and the associated Hacking Plug.}}
{{I|Disable|Disable this entity and the associated Hacking Plug.}}
{{IO||param=bool|Prevent the console from attracting the blind zombie while the player is hacking it (parameter is 1 or 0 to turn suppression on/off).}}
{{I||param=bool|Prevent the console from attracting the blind zombie while the player is hacking it (parameter is 1 or 0 to turn suppression on/off).}}
{{ScrollBox|title=VScript|
{{ScrollBox|title=VScript|
{{IO|CallPrivateScriptFunction|param=string|Calls a script function from this entity's private script scope.}}
{{I|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|CallGlobalScriptFunction|param=string|Calls a script function in the global script scope.}}
}}
}}
{{I Targetname}}
{{I Targetname}}


== Outputs ==
== Outputs ==
{{IO|OnOpened|Fired when the console has been opened without the battery.}}
{{O|OnOpened|Fired when the console has been opened without the battery.}}
{{IO|OnBatteryPlaced|Fired when the console battery has been added.}}
{{O|OnBatteryPlaced|Fired when the console battery has been added.}}
{{IO|OnRackMissingTankOpen|Fired when a console rack with a missing tank has been opened.}}
{{O|OnRackMissingTankOpen|Fired when a console rack with a missing tank has been opened.}}
{{IO|OnTankAdded|Fired when a missing console tank has been added.}}
{{O|OnTankAdded|Fired when a missing console tank has been added.}}
{{IO|OnTimeout|Fired when the console timeout has been triggered.}}
{{O|OnTimeout|Fired when the console timeout has been triggered.}}
{{IO|OnPuzzleSolved|Fired when the console puzzle has been solved.}}
{{O|OnPuzzleSolved|Fired when the console puzzle has been solved.}}
{{IO|OnCompleted|Fired when the console has been activated.}}
{{O|OnCompleted|Fired when the console has been activated.}}
{{IO|OnClosed|Fired when the console has been closed.}}
{{O|OnClosed|Fired when the console has been closed.}}
{{O Targetname}}
{{O Targetname}}

Latest revision as of 11:01, 21 April 2025

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

Entity description

Combine Console item rack.

Keyvalues

Hacking Plug (hacking_plug) ([todo internal name (i)]) <targetname>


Rack 1 active (rack0_active) ([todo internal name (i)]) <boolean>


Rack 2 active (rack1_active) ([todo internal name (i)]) <boolean>


Rack 3 active (rack2_active) ([todo internal name (i)]) <boolean>


Rack 4 active (rack3_active) ([todo internal name (i)]) <boolean>


Tank 1 missing on start. (tank0_start_missing) ([todo internal name (i)]) <boolean>


Tank 2 missing on start. (tank1_start_missing) ([todo internal name (i)]) <boolean>


Tank 3 missing on start. (tank2_start_missing) ([todo internal name (i)]) <boolean>


Tank 4 missing on start. (tank3_start_missing) ([todo internal name (i)]) <boolean>


Objective model (objective_model) ([todo internal name (i)]) <string>
Objective model to display when this console is completed. Skipped if left empty.
Lightmap Static (lightmapstatic) ([todo internal name (i)]) <choices>
How this geometry influences baked lighting
Value Description
0 No
1 Yes
2 Bounce Only

Inputs

Enable
Enable this entity and the associated Hacking Plug.
Disable
Disable this entity and the associated Hacking Plug.
<booleanRedirectInput/boolean>
Prevent the console from attracting the blind zombie while the player is hacking it (parameter is 1 or 0 to turn suppression on/off).
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

OnOpened
Fired when the console has been opened without the battery.
OnBatteryPlaced
Fired when the console battery has been added.
OnRackMissingTankOpen
Fired when a console rack with a missing tank has been opened.
OnTankAdded
Fired when a missing console tank has been added.
OnTimeout
Fired when the console timeout has been triggered.
OnPuzzleSolved
Fired when the console puzzle has been solved.
OnCompleted
Fired when the console has been activated.
OnClosed
Fired when the console has been closed.