Energy Socket (Entity): Difference between revisions

From Valve Cut Content
Jump to: navigation, search
(Add some ideas about what is that thing is, add info about source code)
m (Reverted edits by 蔣介石 (talk) to last revision by Uncanny)
Tag: Rollback
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Energy_socket''' is an Half-Life 2 entity found only in 2002's ''sawyer\submarine'' map in WC Mappack.
'''Energy_socket''' is an Half-Life 2 entity found only in 2002's ''sawyer\submarine'' map in the [[Oasiz%27s_Map_Documentation | WC Mappack]].
== In ''sawyer\submarine'' ==
== In ''sawyer\submarine'' ==
In the only WC-Mappack appearance, '''energy_socket''' is hidden in ''style lights'' visgroup.
In the only [[Oasiz%27s_Map_Documentation | WC Mappack]] appearance, <code>energy_socket</code> is hidden in ''style lights'' visgroup.
That entity appears four times (like a prefab), each time (for %number% from 1 to 4) there is following structure:
That entity appears four times (like a prefab), each time (for %number% from 1 to 4) there is following structure:
* '''light''' entity named "light_%number%" which is initially dark by using 'a' (minimal brightness) custom pattern (Initially dark spawnflag not used)
* <code>light</code> entity named "light_%number%" which is initially dark by using 'a' (minimal brightness) custom pattern (Initially dark spawnflag not used)
* '''prop_dynamic''' named "light_%number%_fixture" - light source model, also used as sound source point
* <code>prop_dynamic</code> named "light_%number%_fixture" - light source model, also used as sound source point
* '''ambient_generic''' named "light_%number%_sound" - "electrical" (TODO: explain) sound source (ambient/objects/func_train/electric1.wav - present in leak), off by-default
* <code>ambient_generic</code> named "light_%number%_sound" - "electrical" (TODO: explain) sound source (ambient/objects/func_train/electric1.wav - present in leak), off by-default
* '''energy_socket''' entity without properties, without inputs and with following outputs:
* <code>energy_socket</code> entity without properties, without inputs and with following outputs:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 23: Line 23:


== In leaked source code ==
== In leaked source code ==
In 2003 and 2007 source code no '''energy_socket''' mentions found.
In [[The_2003_Leak | 2003]] and 2007 source code no <code>energy_socket</code> mentions found.
 
[[Category:2003 Leaks]]
[[Category:Half-Life 2]]

Latest revision as of 07:51, 8 October 2021

Energy_socket is an Half-Life 2 entity found only in 2002's sawyer\submarine map in the WC Mappack.

In sawyer\submarine

In the only WC Mappack appearance, energy_socket is hidden in style lights visgroup. That entity appears four times (like a prefab), each time (for %number% from 1 to 4) there is following structure:

  • light entity named "light_%number%" which is initially dark by using 'a' (minimal brightness) custom pattern (Initially dark spawnflag not used)
  • prop_dynamic named "light_%number%_fixture" - light source model, also used as sound source point
  • ambient_generic named "light_%number%_sound" - "electrical" (TODO: explain) sound source (ambient/objects/func_train/electric1.wav - present in leak), off by-default
  • energy_socket entity without properties, without inputs and with following outputs:
Output Target Input Parameter Comments
Attached1 light_%number%_sound PlaySound
Attached1 light_%number% SetPattern mnlnmmnlm Makes a "pulsating power source" effect
AttachedNone light_%number%_sound StopSound
AttachedNone light_%number% SetPattern a Turns light off

It seems to be some earlier implementation of plug-and-socket puzzle, but no plugs found on that map.

In leaked source code

In 2003 and 2007 source code no energy_socket mentions found.