Solar Logic Cable Golf

From Unofficial Stationeers Wiki

Revision as of 14:06, 28 February 2021 by Sfbmod (talk | contribs) (Solar Panel Golf challenge with only 1 chip and 1 sensors.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Can send both horizontal and vertical numbers to all panels without batch writers or anything else using the sb command (set batch I call it.) Use only an IC chip and one daylight sensor (and cables.) -539224550 is the current type hash for the "Solar Panel (dual)" object. Sends the values to all objects on that network, so doesn't need a device knob on the IC. The wiki has a list of other hash numbers as necessary for the other solar panel types.

sb [type hash] Var r? sb -539224550 Horizontal r1 sb -539224550 Vertical r2

Can also do the math to use both the vertical and horizontal outputs of one daylight sensor. I use one upside in horizontal mode. Only need 1 device knob for the IC for infinite solar panel control. This is my current file. Have the horizontal sensor and solar panel data ports all facing north. I use d1 as an output to a spinning light on top of my solar tower to turn on at night and off at day. To help act as a backup beacon if I get lost at night without power to my tracker card.

alias Sensor d0 # Horizontal Sensor s Sensor Mode 1

l r1 Sensor Horizontal l r2 Sensor Vertical

mul r1 r1 -1 sub r1 r1 90 sub r2 180 r2 div r2 r2 1.5 add r2 50 r2 sb -539224550 Horizontal r1 sb -539224550 Vertical r2

l r3 Sensor Activate seqz r3 r3 s d1 On r3 yield j 3