Space Engineers

Space Engineers

Stop Rotor on High Solar Power Output
753 条留言
Sigurd Hansen  [作者] 2022 年 7 月 13 日 下午 2:03 
Have not started Steam for years. Have this been broken for everyone? :)
Molten Carnage 2022 年 1 月 7 日 上午 10:47 
Does anyone know of a working alternative, other than MA Solar Tracking blocks. I have tried every which way to get this script working except rewriting the script. Script recognises all the rotors including the duplicate inverted axis. But the only thing that happens is both of my RotorY and inverted RotorYa stop at 0 degrees and all rotors on the solar array turn off.
Arktis_P 2020 年 10 月 25 日 下午 11:07 
Hi, i'm wondering whether you have update plans for hinge blocks. Or is this script also Hinge-compatible?
Sigurd Hansen  [作者] 2020 年 8 月 23 日 上午 8:04 
been away for a while. Your logs show just warnings. It should work. Can you publish a world?
Molten Carnage 2020 年 7 月 15 日 下午 1:56 
@Sigurd Hansen is the link below what you were asking for?
Sigurd Hansen  [作者] 2020 年 7 月 12 日 下午 12:56 
Any error messages?
Molten Carnage 2020 年 7 月 2 日 下午 1:09 
I can confirm that this script is, sadly, no longer working. I know that there is the Smart Solar Rotor mod set but I would rather stick to vanilla blocks. https://steamuserimages-a.akamaihd.net/ugc/1293045997788288107/65EE44EE1E842DF5C1DCF0B027D4983155DA20BB/
Mike ={JcC}=  [作者] 2020 年 1 月 14 日 上午 11:55 
Since when?
Because it was still working yesterday...
Лур 2020 年 1 月 14 日 上午 7:57 
the script stopped working
Rain 2019 年 9 月 26 日 上午 9:33 
nevermind - as i said - small mistake
Robthedude 2019 年 9 月 14 日 上午 4:25 
sent you a friend request so i can PM the link
Sigurd Hansen  [作者] 2019 年 9 月 14 日 上午 1:21 
If you can publish your world, I can have a look when time permits.
Robthedude 2019 年 9 月 13 日 下午 3:58 
did notice that the Y axis is a little borked, it doesn't turn fully towards the sun well.
Robthedude 2019 年 9 月 13 日 上午 7:09 
it seems to work now, thank you for your time and effort to fix it!
Robthedude 2019 年 9 月 13 日 上午 6:56 
thank you! will test right away!
Sigurd Hansen  [作者] 2019 年 9 月 13 日 上午 3:26 
I have done some crude changes to make it work again. Please test. Will generate warnings.
Sigurd Hansen  [作者] 2019 年 9 月 13 日 上午 12:59 
Oh, I haven't played SE for a while. I'll have a look during the weekend.
Robthedude 2019 年 9 月 3 日 下午 2:03 
can this get an update?
it no longer works sadly
Torres 2019 年 9 月 3 日 上午 10:08 
What did you do to make it work again?
Pegas519 2019 年 8 月 24 日 上午 8:04 
I Remed '#pragma warning disable 0162 ' which was the quickfix to prevent errors on recompile, although there was warnings, the script works.
Pegas519 2019 年 8 月 24 日 上午 7:59 
This script is broken by the last update:
Usage of #pragma warning is prohibited
Mike ={JcC}=  [作者] 2019 年 5 月 6 日 上午 9:34 
The way the script works is that the panel on rotor Y is trying to alling up until it reaches the set max output. The moment it reaches that point it stops moving and copy its angles to all the other rotors. So no, there is no way to move all rotors at the same time while searching for the sun. And in my eyes, it wouldn't make much of a difference too, other than it would be more eye pleasing ;)
Lord Vastos 2019 年 5 月 5 日 下午 7:54 
when i duplicate the motion from rotorY to another rotor Y any way to make them move at the same time ? its only copy the movement afte the number 1 have finish
St4ubwedel 2018 年 12 月 27 日 下午 1:22 
Well, somehow it just started to rotate, i didn't even do anything maybe it just takes some time. But thanks anyway, great mod :steamhappy:
St4ubwedel 2018 年 12 月 27 日 下午 1:06 
I can't figure it out how to upload my world to the workshop, can you accept my friend request so that i can pm you?
Mike ={JcC}=  [作者] 2018 年 12 月 27 日 下午 12:52 
Since i don't have access to my cristal ball right now, maybe you can upload the world to the workshop, so i can have a look at it?
St4ubwedel 2018 年 12 月 27 日 下午 12:47 
I can't get multiple Y-Achis Rotors working. I enabled Rotor duplication and set the Source to my default rotor RotoryY (which is working perfectly) and destination rotor to RotorYa. But the rotor (RotorYa) just doesn't starts rotating.
Mike ={JcC}=  [作者] 2018 年 10 月 28 日 上午 4:26 
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1550211533
It is performing absolutely pefect on planets if you set it up the right way. I have a world with 6 t-shaped arrays . Those 3 in the middle of the screen have 160 solar panels each. And they are producing enough power to recharge batterys for the night and power the whole station with all sorts of power draining stuff. Not a single reactor is used there.

If you have trouble setting up your arrays, feel free to puplish it on the workshop, so i can have a look at it.
YouTube.com/StoneLegion 2018 年 10 月 27 日 下午 7:27 
How well does the mod work on Planets? I set mine up been about 5 min it's moving a lot but not really in a good way it's 80 and falling it seems to only do it in a small range then resets..
Mike ={JcC}=  [作者] 2018 年 10 月 20 日 上午 4:10 
You need to build your array so that it can freely spin around. On the other hand, the script does not interfere with the min and max settings for the turning angle. So if you set them correctly, the array wont hit anything anymore. But you need to setup those settings first.
[SDD]Dwarve1 2018 年 10 月 19 日 下午 7:38 
mine got a little error it turns to far and breaks itself on the ground. anybody got a fix for that? sry for my bad english
Mike ={JcC}=  [作者] 2018 年 7 月 31 日 下午 1:42 
Please search for those two lines:

const bool ControlCustomTimerAtMaxPower = true;
const bool ControlCustomTimerAtLowPower = true;

and set both to false. It's at the very bottom of the list of settings right before the script actually starts.

If it still doesn't work after that, please upload your world to the workshop, so i can have a look at it.
notintnotnan 2018 年 7 月 31 日 上午 11:51 
I´m having trouble with the settings, i´ve made the station as on the video but I only get spinning panels, they don't lock. I´ve tried by switching the rotors, by adjusting the HighPwrValue varible and still it doesn´t work. What else can be wrong?
Captain Kravos Reeves 2018 年 7 月 29 日 下午 7:21 
Also, just wanted to say, that the script works fine on my dedicated server.
Captain Kravos Reeves 2018 年 7 月 29 日 下午 5:50 
Nevermind, I managed to modify the code to do what I wanted. Thanks for awesome script.
Captain Kravos Reeves 2018 年 7 月 29 日 下午 5:28 
How can I modify the script to output all attached solar panels power output to the LCD?
And maybe a total output produced?
Commander Tomleson 2018 年 7 月 20 日 上午 10:36 
i ended up just destroying the array but it said it has multiple supported but when i try to make 2 main solors it would error me
Sigurd Hansen  [作者] 2018 年 7 月 4 日 上午 10:05 
Been very busy lately. Will set them to false as soon as I can find some available time.
bronney 2018 年 6 月 28 日 下午 9:08 
Ok after testing I have something to add for new users if they are using it on antenna relays in zero G. Only convert the first grid to station and leave the other 2 grids behind the rotors as "ships". You can also build in a camera to look at the LCDSolar when needed so you can remotely see the values. And one more camera aligned with the panels so you can check the sun. What a useful and easy setup script!!.. Love it! Thanks.
bronney 2018 年 6 月 28 日 下午 3:53 
Does it matter which rotor I set to RotorX? It seems to work either way.
Aryan 1 2018 年 6 月 26 日 上午 11:07 
Ah, thx m8. That was pretty easy. Finally everything works, love this script.
Mike ={JcC}=  [作者] 2018 年 6 月 26 日 上午 7:35 
Thanks... Thats an easy fix. Please read my previous comment on this page and do exactly the same on your script. (set those two lines from true to false). I dont know why Sigurd has set those lines to true by default but you can just set them to false and it works like a charm.
Everything else on your setup is done correctly.
Aryan 1 2018 年 6 月 26 日 上午 4:08 
I'm not that experienced with scripts, but my friends and me thought that a spinning solarpannel would be nice to have, i changed nothing, but i still think that the i made the mistake. appreciate ur help m8 https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1423098163
Mike ={JcC}=  [作者] 2018 年 6 月 25 日 下午 2:37 
Please put your world into the workshop so i can have a look at it.
Aryan 1 2018 年 6 月 25 日 上午 10:59 
I cant get it fixed. . . my solar panel is just spinning arround, it doesnt stop
Tumor 2018 年 4 月 25 日 上午 9:53 
Just thought I'd share my solar array, thanks for the script!
https://psteamcommunity.yuanyoumao.com/id/xirsoi/screenshots/

I plan to build another one, which should put my peak power at about 1.4 MW in full sun. I'm gonna build more batteries to take advantage of the surplus :)
Mike ={JcC}=  [作者] 2018 年 3 月 18 日 下午 6:17 
Nevermind, i just downloaded your world manually.
There are two problems here. First of all you have to set both

const bool ControlCustomTimerAtMaxPower = true;
const bool ControlCustomTimerAtLowPower = true;

to false. You dont have those timerblocks, and thats why the script throws an exeption.

Second problem is your modded solar panels has half the max power output as the vanilla one.
So i dont know why you are using it, since this one is more than double the size while producing just half the power, but setting

const float HighPwrValue = 119.4f;

to

const float HighPwrValue = 58.5f;

it works just fine.
Mike ={JcC}=  [作者] 2018 年 3 月 18 日 下午 5:46 
If i may ask if you could use the workshop please for sharing your world, it would save me a lot of time. It would even automatically load the mods you are using.
Ext. 2018 年 3 月 18 日 下午 5:30 
Here is the save file. The script is matching the rotors and solar panel. Not sure what else I can do. I've put duplication to false. didn't change a thing.

You will need *** (DX11) Solarpanels *** mod

http://s000.tinyupload.com/?file_id=22228686859150529296

I keep getting a Caught Exception error : Object Reference is not set to an instance of an object