Stationeers

Stationeers

Two axis solar tracker
34 Comments
JeanDeaux  [author] 28 Jul @ 11:51am 
I just fired this up to double check and it's still working fine for me. You playing in the Beta branch or something? Also be sure you've only got one Solar Sensor on that network branch.
Ellivuod 28 Jul @ 11:42am 
Error Line 24 lb Vert Sensor Vertical Average, I think an update change the behavior now we have a Mode 2 for Vertical
JohnX 25 Feb @ 11:55am 
the best script it works alone just put the sensors data port east i can't believe it :P thanks man
-₪EPIC₪- Fail 23 Jan @ 2:18pm 
Thanks, I created a sleep delay as well... I think I set mine to 30 seconds. Its really important to collect ALL the sunlight when you have mods that change the power you get from the sun via its radiance value. I get only 15 from a solar panel with 98% efficiency.
JeanDeaux  [author] 23 Jan @ 7:30am 
Updated with a little delay to collect those twilight rays.
-₪EPIC₪- Fail 19 Jan @ 7:17pm 
A little nit picky but, its not optimized for the setting sun. It resets to start position too soon. Solar panels are still collecting juice and then they turn away.
JeanDeaux  [author] 22 May, 2024 @ 6:10pm 
@Dreiden
Just built a fresh new grid & tried on an old map, works fine in both. Get a screen shot and share a link, best to post in the Forums and I'll see it and respond there with anything I see awry.

Be sure you only have "one" daylight sensor on that network, if you have more than one then you may be getting mixed input values that'll mess with the alignment.
Dreiden Kisada 9 May, 2024 @ 10:44pm 
Doesn't work, panels point no where near the sun. Even with the power port aligned with the data port of the sensor.
ALEGATOR2222 1 May, 2024 @ 9:53am 
Great, everything works
JeanDeaux  [author] 15 Apr, 2024 @ 1:10am 
Just updated this with a night time repositioning routine that won't get fooled by eclipses and should easily handle Seasons if they should be introduced.
JeanDeaux  [author] 28 Mar, 2024 @ 8:28am 
I just pulled up the game and checked, you aren't able to rotate the solar panel installations except on the ground plane. You won't be able to install solar panels on the sides or bottom of a structure to achieve a full spherical solar track.
Gfurst 28 Mar, 2024 @ 7:10am 
In space it probably make more sense to place panels on their side, no?
JeanDeaux  [author] 24 Mar, 2024 @ 2:40am 
@SpecialUnit,
You'd need to create a 2nd solar panel string that would be isolated from the other solar string and build on the underside so that those panels worked on the opposite hemisphere. I don't think that Stationeers allows you to rotate the solar panels to be installed in that upside down manner and is your restricting factor since you can't get the panels to face in a direction below that horizon.

Even though you're playing in a 3D space environment, the game engine still reacts in a 2D manner, so you're currently forced to accept planetary rotation and sunsets even though you're in space.
SpecialUnit 23 Mar, 2024 @ 11:36pm 
How would we go about making these work for places like space where you get access to sun from beyond the 'horizon'?
Gfurst 27 Jan, 2024 @ 7:39am 
No I actually just asked if this script controls all solar panels or they have to be set individually, which I guess you already answered my question.
JeanDeaux  [author] 27 Jan, 2024 @ 6:03am 
@Gfurst, there's a link in this Description above that'll take you to a chip version with batch writers. If you're asking if a single batch writer can be used to control all different types of solar panels like this MIPS program does then no. If you want to discuss this further, let's do that in the Stationeers forums.
Gfurst 27 Jan, 2024 @ 4:19am 
Can you set it to a batch writer to change all panels on the network?
Suge 21 Dec, 2023 @ 8:14am 
You're a life saver.
JeanDeaux  [author] 19 Dec, 2023 @ 6:28pm 
Hit the Subscribe button on this page, next time you start up Stationeers you should see this program appear in your Library. Just load the program from your library and commit it to the chip.
BmoneysMafia 19 Dec, 2023 @ 5:22pm 
Ok so I got the laptop and IC chip so how do I get your script on it? this is so different since I last played
JeanDeaux  [author] 19 Dec, 2023 @ 4:46pm 
@GmoneysMafia This is a MIPS program, there's only one chip to use. I did add a link above in the description that will show a chip version of this setup.
BmoneysMafia 19 Dec, 2023 @ 4:31pm 
did miss what chip you are using? its been a long time since I've played
JeanDeaux  [author] 13 Dec, 2023 @ 9:53am 
This program still appears to be functioning correctly after all the planets got thrown on a tilt after the Rocket update.
Kyr 8 Dec, 2023 @ 10:23am 
I understand using an APC, etc. I just like my designs to be super safe and idiot proof :steamhappy:

Having the script record the angles on the sensors first "activate" would allow it to reset them to the starting position once the sensor shows no daylight. This keeps the setup simple for users, while ensuring that _if_ the base runs dry of power overnight for any reason, the panels are positioned to catch the first light of the new day - avoiding any need to manually intervene (other than possibly building more batteries/panels).
MoonooM 6 Dec, 2023 @ 1:12pm 
@Kyr - Most likely the chip just needs to be powered through a UPS with a battery
JeanDeaux  [author] 6 Dec, 2023 @ 8:19am 
@Kyr - Adding a script to manage position after sunset is certainly do-able, but it's also limiting. Every planet has a different tilt, rotation, and some even rotate in different directions; therefore some additional setup would be required with each planet. I've opted to simply go with a universal setup, plain and simple. As long as you have an APC with a medium battery or better, a transformer to ensure that 1000W is being diverted to the APC to keep it charged, and you've got enough solar panels up to collect enough power to satisfy your power demands, this will easily handle all your solar managing needs without any customization.
Kyr 2 Dec, 2023 @ 6:21am 
Great script. One improvement suggestion - once the sun has set, reset the panels to face the sunrise so they are ready for the next day just in case the base runs out of power in the night.
MoonooM 22 Nov, 2023 @ 11:11am 
The best!!! Huge like, I love it!!!)
MABdad 16 Nov, 2023 @ 7:43pm 
works like a champ ! Thank You
wilbur 15 Nov, 2023 @ 8:36am 
Thank you. It worked very well.
claymored 31 Oct, 2023 @ 3:35am 
worked perfect. zero setup beyond facing the power and data ports same direction. thank you.
Rory McCann 3 Sep, 2023 @ 2:47pm 
Worked a treat after 4 other failed scripts
Huntdog 28 Aug, 2023 @ 4:43pm 
Thank you for this updated code. I appreciate your time you spent on it. Totally worked for me first try.
JeanDeaux  [author] 17 Aug, 2023 @ 2:58am 
This is an updated solar tracking unit for post IC update. 98-99% efficiency with coding that now handles all variation types of solar panels, no pin dialing required. POWER ports of all solar panel variations must be facing same direction as Daylight Sensor Data Port.