Difference between revisions of "Energy Socket (Entity)"

From Valve Cut Content
Jump to: navigation, search
(Add categories)
m (hyperlinking)
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, <code>energy_socket</code> 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:
 
* <code>light</code> 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)
Line 23: Line 23:
  
 
== In leaked source code ==
 
== In leaked source code ==
In 2003 and 2007 source code no <code>energy_socket</code> mentions found.
+
In [[The_2003_Leak | 2003]] and 2007 source code no <code>energy_socket</code> mentions found.
  
 
[[Category:2003 Leaks]]
 
[[Category:2003 Leaks]]
 
[[Category:Half-Life 2]]
 
[[Category:Half-Life 2]]

Revision as of 04:06, 6 April 2020

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.