Space Engineers

Space Engineers

TXC Automatic Solar Panels
206 Comments
Oblivion2012 15 Jun, 2024 @ 6:41pm 
Must be a new issue with the signal update but the programming block randomly shuts off and stops running the script idk if its the smart solar rotor conflicting or the Ganymede Solar Array but yeah the panels dont seem to align and the script stops running
Xarniia  [author] 15 Nov, 2022 @ 8:19pm 
I didn't play the games for years.
Could you please upload some screenshots of a simple setup (maybe extra world) and tell me which blocks you used? I never played with hinges.:steamhappy:
Star_Kindler 15 Nov, 2022 @ 10:08am 
This script does not appear to work anymore, at least with hinges as part of the setup.
NexusLeader 24 May, 2022 @ 6:53pm 
i did, 0.05 seems to be working fine, don't go above it and your perfect, but go above it and it's too wobbly and won't stop at the right time
Xarniia  [author] 22 May, 2022 @ 11:12am 
It depends a lot on your day legth. I playyed the game alway with very low rotor velocity.
I'm not sure how stable the game at the moment is in terms of wobble and explosions of rotors. give it a try.
NexusLeader 22 May, 2022 @ 10:12am 
dude, i said where, but i already found it in settings anyways, can it be default 0.05? because it's very slow and people won't like that
Xarniia  [author] 22 May, 2022 @ 9:44am 
ROTORVELOCITY is what you are looking for in the script :selike:
NexusLeader 21 May, 2022 @ 5:56pm 
WHERE DO I EDIT ROTOR VELOCITY!?!?
Skallabjorn 13 Aug, 2021 @ 1:33pm 
Thanks
Xarniia  [author] 13 Aug, 2021 @ 11:48am 
Yes, change the ROTORVELOCITY paramenter in the code.
There are more settings you can adjust, you can find it under "Optional settings" up here.
Skallabjorn 13 Aug, 2021 @ 10:54am 
Is there a way to change the speed the rotors align at ?
Wearo 10 Jan, 2021 @ 12:10am 
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2221990774

This is the mod that I'm trying to use with your script.
I have tried looking into it myself but with no avail. Normally your script puts its output into the PB display as a grid, value and a boolean value. Well with that mod it was constantly on 'false' and all values were 0.0' which made the array spin endlessly even after restarting the script and patiently waiting. I have fixed it temporarily by putting a vanilla solar panel on the array of mine.
There could also be a problem on my side, in a multiplayer session or the mod itself is the problem to which I care little, I'll just put down some vanilla solar panels, that's going to pose no problem.
Xarniia  [author] 9 Jan, 2021 @ 4:25pm 
It should work with other panels as long as they have a maxium output value set.
What's the mod you are using?
Wearo 9 Jan, 2021 @ 7:41am 
Does this script include other mods that add different solar panels or is it tailored specifically for vanilla solar panels? I'm having troubles setting this up with one of my mods that im using and it seems that it cannot recognize the 'foreign' panels as actual solar panels, resulting in my sollar array endlessly spinning in circles.
Xarniia  [author] 5 May, 2020 @ 10:24am 
The PB must be on the same grid as the first rotor. Please see the blueprints / pictures.
Solttu 5 May, 2020 @ 7:55am 
Is it possible to have have multiple pb in grid? Mine says at the moment no panels created.
I have miner in the same grid
Ggggtt2 11 Apr, 2020 @ 7:20pm 
I'm having an issue even finding the option to use steam workshop items in the PB. as in, there seems to be no button to add a script or even a workshop button, what do I need to do here?
mazrados 20 Mar, 2020 @ 8:43am 
I read somewhere that is related to rotors. If too heavy load it carries then wobbles.
Xarniia  [author] 20 Mar, 2020 @ 6:32am 
The scipt can't do anything against the wobbeling. It's the game's physics - sadly.
mazrados 18 Mar, 2020 @ 4:02pm 
Tried already. It works :)

BTW I think that T shape works with 2 pairs of panels. That is 8 panels symetrically.
When added more then wobbling began.

I use it for several small power stations on the beginning of survival or for something like small outpost.
Xarniia  [author] 18 Mar, 2020 @ 8:26am 
The script just checks for the output. Just try it.
mazrados 14 Mar, 2020 @ 1:16pm 
Question about centered panels. It's modded but, I guess, it's technically the same as vanilla. Only looks different. Should this script work with such panels?
Xarniia  [author] 10 Feb, 2020 @ 11:18am 
If your panels are wobbling around, make sure you have enabled “share inertia” in the rotors.
If you build DON’T-panels: Good luck! ;)
KnightForEyes 9 Feb, 2020 @ 8:50am 
Uhm... My Station Starting to... Having a Stroke... Uhmm Is that supossed to happen?
I'm Using T-Panel
Deadline 28 Oct, 2019 @ 9:37am 
Great script Congratulations on your skills
Darian Stephens 5 Sep, 2019 @ 6:58pm 
Oh. I accidentally detached the whole tower. It's working now.
Darian Stephens 5 Sep, 2019 @ 6:56pm 
This is very odd. I installed this script to a moon base with a single-rotor solar array, and it was tracking the sun just fine.
Now, after a game restart, it won't. I try to recompile and run the script again, but it just says '0 Panels created.' and goes blank.
Xarniia  [author] 4 Sep, 2019 @ 10:07am 
What's the output of the pb?
Usually you just need to compile and run.
Reigdaer 4 Sep, 2019 @ 7:24am 
im trying with one rotor, but is not aligning...

i have a botton panel with "init" "start" and "stop" but after init and start is not trying to face the sun...
Xarniia  [author] 24 Aug, 2019 @ 3:33pm 
For me it works. Just the self-trigger seems to bit a bit broken.
DrVegapunk 22 Aug, 2019 @ 5:11pm 
"Assembly not found. Please compile scropt." T solar
Xarniia  [author] 22 Aug, 2019 @ 10:51am 
Please provide any issues you encounter with the latest patch (not only negative votes). ;(
Xarniia  [author] 30 Jun, 2019 @ 2:22am 
<3 Thanks a lot! <3
Mkananoja 29 Jun, 2019 @ 5:36am 
this script might be old, but out of all of other scripts with tons of (bloat)features, this one has been most server friendly and stable (no flying pieces to stratosphere). thank you a thousand for this <3
Xarniia  [author] 1 Apr, 2019 @ 7:10am 
Updated the script to the changes in solar panels of the last update.
If there are any problems please report! :)
Korharan 30 Mar, 2019 @ 7:50am 
Confirm. 160kW and 40kW.
Xarniia  [author] 28 Mar, 2019 @ 3:04am 
Sadly, the wiki doesent tell the changed output numberss for solar panels.
Anyone can confirm the max possible output of 160/40 kW (large/small)?
Xarniia  [author] 28 Mar, 2019 @ 2:53am 
@Tsarr
I can confirm there is something wrong with the maximum output of solar panels the script gets.
Until I upload a new version you can quickfix it by setting MINRELATIVEOUTPUT = 1.98f.
DeadpanGod3 27 Mar, 2019 @ 6:20am 
ahhh yup that fixed it, been a while since i used rotors, they rotate smoothly now :D
Xarniia  [author] 26 Mar, 2019 @ 10:31pm 
Share Inertia Tensor is important of course. Please use it! :)
Darian Stephens 26 Mar, 2019 @ 8:45pm 
Have you turned on Share Inertia Tensor for all involved rotors? That always solves shaking for my arrays.
DeadpanGod3 26 Mar, 2019 @ 4:44pm 
so, apon loading my world just now and trying the script again, the arrays have rotated towards the sun correctly and are now shaking violently, guessing thats the T arrays fault, but it seems to work now, maybe Keen broke scripts?
DeadpanGod3 26 Mar, 2019 @ 4:30pm 
Doesn't seem to be working for me either, using a T solar on the moon, the base simply turns at a very slow rate with no regard to the sun, the top doesn't seem to move at all, tried with two separate arrays.
Xarniia  [author] 21 Mar, 2019 @ 11:00am 
Could you please double-check that? I did not notice any problems.
If so, please upload a world! :)
Tsarr 18 Mar, 2019 @ 12:11pm 
This script stopped working proberly after the overhaul :(
i am using U-Panels and the bottom rotor isnt tracking, and the horizontal rotors seems to only track half the time
Darian Stephens 19 Oct, 2018 @ 1:18am 
It's no longer as advisable to have multiple attachments between two grids, but make sure your rotor displacements aren't causing clang.
Saki 18 Oct, 2018 @ 11:12pm 
Are the U-Panels still possible everytime i try a dual rotor setup they either explode or wont attach on one side
Darian Stephens 28 Jun, 2018 @ 10:25pm 
@bronney
...What gifs? I didn't see any of those images animate.
bronney 28 Jun, 2018 @ 2:53pm 
Dude those tutorial gifs up there wtf? Love it :DD
Xarniia  [author] 30 Apr, 2018 @ 5:26am 
It only takes from solar panels. But if you build a oxfarm, just put one panel into.