Space Engineers
Оценок: 205
Stop Rotor on High Solar Power Output
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
18.502 KB
1 янв. 2015 г. в 16:00
13 сен. 2019 г. в 3:24
Обновлений: 43 (просмотреть)

Подпишитесь, чтобы загрузить
Stop Rotor on High Solar Power Output

В 1 коллекции, созданной Sigurd Hansen
Scripts I use
Предметов: 3
Описание
Auto Optimize Solar Panels / Oxygen farm - Update 1.11
The first and original script which will stop one or more rotors in one or two axis when your solar panel or oxygen farm has reached a minimum defined output.

The program autostarts at compile, but may be manually overridden by argument "stop" and "start"

-------------------
INGAME BUG
Might not work on dedicated servers. Try your setup on a non-DS game before reporting bugs.
-------------------
Features:
Rotating sun
- Support for rotating sun.
Oxygen farm
- Support for Oxygen Farm
No timer block dependency
- No need any more for the timer block. Just use argument "start" or "stop"
Mod support
- Support for solar panel mods
Duplication
- Duplicate rotor values to other rotors as well

Your opinions, comments and rating would be greatly appreciated.
Also, I would love to see your solar arrays as well. Post images in the comment section if you like.

Youtube instructions here - Ignore timer setup, as this is no longer needed.
3rd party German tutorial here.
New Blueprint here
Old Blueprint here (One Axis, older software)
3rd party world/blueprint with duplication function here
3rd party guide for stabilizing large arrays here
Look at the code here[pastebin.com] (1.10b)

Troubleshooting
Check ownership. Recompile program if ownership has been changed.
Does the timer start the programming block? Try to start the programming block manually a couple of times.
Does the programming block throw an error message?
Check naming in script vs real names.
Does the name search return more results than it should?
Check the current output from the solar panels while rotor is on. Look for the highest value, and change the variable in the program.
Search result order is important. If a rotor name ends in 3, the attached rotor must end in 3.

When reporting bugs, please comment with minimum this info:
Dedicated server or not
Dual or Single Axis
Solar panel or oxygen farm
Paste the output from the first run in the programming block

Update 1.11
Minor cleanups & optimizations
Began implementing persistent data
Update 1.10b
Added autostart
Update 1.10
LCD-support
Cleanups
Update 1.09
Did a hotfix break something again? Slowed down rotors and cleanup.
Update 1.08
Removed dependency on timer block

Sigurd Hansen
Donation[www.paypal.com]
Популярные обсуждения Просмотреть все (9)
18
23 янв. 2016 г. в 0:44
Third duplicate Axis
Mike ={JcC}=
14
1 фев. 2017 г. в 7:41
Can't Get Duplicate Axis To Work
Landron
10
7 янв. 2016 г. в 19:32
Rotation stopping due to programming block naming solar panel incorrectly
Joe
Комментариев: 753
Sigurd Hansen  [создатель] 13 июл. 2022 г. в 14:03 
Have not started Steam for years. Have this been broken for everyone? :)
Molten Carnage 7 янв. 2022 г. в 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 25 окт. 2020 г. в 23:07 
Hi, i'm wondering whether you have update plans for hinge blocks. Or is this script also Hinge-compatible?
Sigurd Hansen  [создатель] 23 авг. 2020 г. в 8:04 
been away for a while. Your logs show just warnings. It should work. Can you publish a world?
Molten Carnage 15 июл. 2020 г. в 13:56 
@Sigurd Hansen is the link below what you were asking for?
Sigurd Hansen  [создатель] 12 июл. 2020 г. в 12:56 
Any error messages?
Molten Carnage 2 июл. 2020 г. в 13: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}=  [создатель] 14 янв. 2020 г. в 11:55 
Since when?
Because it was still working yesterday...
Лур 14 янв. 2020 г. в 7:57 
the script stopped working