Difference between revisions of "Energy Socket (Entity)"
From Valve Cut Content
(Initial "research" about energy_socket entity.) |
(Add some ideas about what is that thing is, add info about source code) |
||
Line 2: | Line 2: | ||
== In ''sawyer\submarine'' == | == In ''sawyer\submarine'' == | ||
In the only WC-Mappack appearance, '''energy_socket''' is hidden in ''style lights'' visgroup. | 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: | + | 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) | * '''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 | * '''prop_dynamic''' named "light_%number%_fixture" - light source model, also used as sound source point | ||
Line 9: | Line 9: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
− | ! Output !! Target !! Input !! Parameter | + | ! Output !! Target !! Input !! Parameter !! Comments |
|- | |- | ||
− | | Attached1 || light_%number%_sound || PlaySound || | + | | Attached1 || light_%number%_sound || PlaySound || || |
|- | |- | ||
− | | Attached1 || light_%number% || SetPattern || mnlnmmnlm | + | | Attached1 || light_%number% || SetPattern || mnlnmmnlm || Makes a "pulsating power source" effect |
|- | |- | ||
− | | AttachedNone || light_%number%_sound || StopSound || | + | | AttachedNone || light_%number%_sound || StopSound || || |
|- | |- | ||
− | | AttachedNone || light_%number% || SetPattern || a | + | | 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. |
Revision as of 19:03, 16 March 2020
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 (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.