Energy Socket (Entity)

From Valve Cut Content
Revision as of 18:39, 16 March 2020 by StpM64 (talk | contribs) (Initial "research" about energy_socket entity.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Energy_socket is an Half-Life 2 entity found only in 2002's sawyer\submarine map in 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 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
Attached1 light_%number%_sound PlaySound
Attached1 light_%number% SetPattern mnlnmmnlm
AttachedNone light_%number%_sound StopSound
AttachedNone light_%number% SetPattern a