Space Engineers

Space Engineers

Stop Rotor on High Solar Power Output
Mike ={JcC}=  [developer] 10 Jan, 2016 @ 9:44am
Third duplicate Axis
Since there is a limitation of how many panels you can put onto one rotor, you probably need more than one solar array. And in order to not have an own timer and programmable block for each one of them, i just thought about how i can get a third duplicated axis to work.
Yes, there are still two axis, but in case of a T-shaped array, you need x, y and y-reversed to be duplicated.
So even if i'm not a coder i managed to get it done by copy pasting around a bit in the code.
I just wanted to ask you (Sirgurd Hansen) if you can add this into the future versions of the script so maybe someone can use it if he find it useful.

so here is what i'm using it for (doing this in survival, panels still not ready, but everything is working)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=597878194
and here is the working version of the altered code (you probably know where to look at)

*too bad, i can't post the code here... im trying to use pastebin
**here it is: http://pastebin.com/tteWBUHc
Last edited by Mike ={JcC}=; 10 Jan, 2016 @ 9:50am
< >
Showing 1-15 of 18 comments
Sigurd Hansen  [developer] 10 Jan, 2016 @ 11:25pm 
Yeah, I've been meaning to add an extra line anyway. I'll add it in the next version.
Mike ={JcC}=  [developer] 11 Jan, 2016 @ 4:13pm 
Thanx man, appreciate it ;)
Mike ={JcC}=  [developer] 14 Jan, 2016 @ 2:03pm 
Oh wow... so i guess you might be right with the syntax not helping you to reduce the need of support in the future ;)
So how can you define wich source will copyed to wich destination? Is it the position in the array?
so the source in the first position will linked to the destination in the first position?
Sigurd Hansen  [developer] 14 Jan, 2016 @ 2:14pm 
Yeah, your correct about the position in the array. I might change the syntax back :p
Last edited by Sigurd Hansen; 14 Jan, 2016 @ 2:15pm
Mike ={JcC}=  [developer] 14 Jan, 2016 @ 2:22pm 
You know... those who have nothing to do with coding, already have a hard time even with just setting up the variables, understanding what it means and what it does. The new Syntax might be a little bit too much for those :)

Do you even see a situation where you need more than three axis?
Sigurd Hansen  [developer] 14 Jan, 2016 @ 2:32pm 
Not really.
Mike ={JcC}=  [developer] 14 Jan, 2016 @ 2:39pm 
Seems there is an error with the new one:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=600525780

What's this "privateImplementationDetails" thing?
Sigurd Hansen  [developer] 14 Jan, 2016 @ 2:52pm 
Have never seen that error before. Not at a computer now; will need to do some changes tomorrow i guess.
Sigurd Hansen  [developer] 16 Jan, 2016 @ 1:41am 
Do you still got that strange private-error? The syntax has been changed in the latest version btw.
Mike ={JcC}=  [developer] 16 Jan, 2016 @ 2:01am 
Yes, i still get the same error, except with a different number.
Sigurd Hansen  [developer] 16 Jan, 2016 @ 2:39am 
Can you publish a save?
Mike ={JcC}=  [developer] 16 Jan, 2016 @ 3:34am 
Here it is:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=600887434

Straight ahead there is a small rover and a programmable block next to it with the script version 1.04 (1.04b produces the same error)
The programmable block is named "Solar PC 2"
Last edited by Mike ={JcC}=; 16 Jan, 2016 @ 3:36am
Sigurd Hansen  [developer] 16 Jan, 2016 @ 6:00am 
Well at least there is a problem with it not finding the timer which i'm not handling correclty. Will need to look more at this later.
Sigurd Hansen  [developer] 17 Jan, 2016 @ 12:38pm 
Please update to the latest version.
Mike ={JcC}=  [developer] 18 Jan, 2016 @ 9:05am 
weired... if i load the new script into the block and fill out all variables, i get the message "assembly not found, please compile the script"
Then i press edit, and "check code" Followed by the message "compiled successfully". After that i get the "private error" message again.
Checked all settings... it should work. The old script (1.03) is working there, just not the new ones... Wonder if its just me, or if there are others too who get this error message.
Last edited by Mike ={JcC}=; 18 Jan, 2016 @ 9:05am
< >
Showing 1-15 of 18 comments
Per page: 1530 50