Once you’ve learned IC10 basics, automation is where Stationeers really opens up. This guide builds two of the most useful scripts: a solar tracker that aims a whole field of panels at the sun, and a battery-aware power manager that runs a backup generator only when needed.
Dual-axis solar tracker
A Daylight Sensor reports the sun’s Horizontal and Vertical angles. Feed those to every solar panel on the network at once with a batch store (sb), addressing panels by their type hash:
alias sensor d0
define SolarPanel -539224550
loop:
l r0 sensor Horizontal
l r1 sensor Vertical
sb SolarPanel Horizontal r0
sb SolarPanel Vertical r1
yield
j loop
One chip now aims a whole field. Because it uses the panel type hash, every panel you add to the network is tracked automatically — no rewiring. (Use the dual-panel hash for the larger panels if that’s what you’ve built.)
Battery-aware power management
Read a battery’s charge ratio and switch a backup generator on only when you’re running low — saving fuel and preventing brownouts. Connect a battery to d0 and a generator’s control to d1:
alias battery d0
alias generator d1
define lowMark 0.25
loop:
l r0 battery Ratio
slt r1 r0 lowMark # below 25% charge -> turn generator on
s generator On r1
yield
j loop
For smoother control, use hysteresis — separate on and off thresholds (e.g. on below 25%, off above 90%) so the generator doesn’t flicker on and off around a single set point. The same idea works for heaters, coolers and pumps.
Why automate?
Automation runs continuously — which is exactly why a persistent dedicated server matters. On a stable server your trackers, power logic and atmospherics keep running even when you’re offline, with no calculation errors from a laggy host. Stationeers hosting from $8.50/month on Ryzen 9 hardware, 30% off with XGAMEON.







