Space Engineers

Space Engineers

Solar Panel Alignment Script V3.7 (T-Type)
16 条留言
Adomus  [作者] 1 月 14 日 下午 11:38 
Line: string Horizontal_rotor_tag_main = "SLR1H";

Should help
Adomus  [作者] 1 月 14 日 下午 11:38 
Updated script, it should now check against a custom tag to identify the rotor in V2.7 - Good catch, I altered this to make naming easier and forgot I was meant to leave this in.

Give it a try now, should work with less confusion now, appreciate the help with the beta test!
Adomus  [作者] 1 月 14 日 下午 10:34 
At the beginning of the code - tags are between the " " marks

E.g. "STR1H"

Will double check the code later to make sure I have the tag. But you just need to add the relevant tag to the rotor

E.g. Advanced Rotor [STR1H]

That's how the script identifies the correct block
Halcyforn 1 月 14 日 上午 4:44 
i copy code to notepad++ looking where is write about this name there is nowhere in code idk whats wrong now
Halcyforn 1 月 14 日 上午 1:03 
on start of file you change naming ok i understand thats why i used new names then old names on my profile you have screen with this error, idk whats wrong and this is advanced rottors
Adomus  [作者] 1 月 13 日 下午 6:04 
Horizontal = main rotor that turns left/right
Adomus  [作者] 1 月 13 日 下午 6:03 
That one is the tag you need to add to the horizontal rotor, if you add that on the end of the rotor text it should find it on compile
Halcyforn 1 月 13 日 上午 8:32 
Ok now system cant compile cant find SLR1H code ver 2.6
Adomus  [作者] 1 月 12 日 下午 12:14 
Added a few more images so you can see the construction for context
Adomus  [作者] 1 月 12 日 下午 12:09 
But not a problem regarding beginner, welcome to becoming an advanced space engineer via scripts!

To simplify the outer panels detect the light direction and the main front facing panels just collect energy
Adomus  [作者] 1 月 12 日 下午 12:00 
the script automates this to use what would be a simple way to track light direction in the real world using LDRs
Adomus  [作者] 1 月 12 日 上午 11:59 
Bank panels are the main ones which collect power (the ones at the front)

Detector panels are placed perpendicular to the main collector solar panels (top, bottom and side) for each rotor. These panels detect the light rather than an object to track, and will aim to balance the level of light detected to achieve left = right and top = bottom

When top and bottom are equal they are tracked correctly in the vertical position, and if left and right detectors are equal the horizontal position tracked correctly
Halcyforn 1 月 12 日 上午 9:51 
when i make new solar panels i test something crashed my map and it was another mod. about my message im begginer with this, only what i done earlier was rename the rotors, but looking at your description not everyone know what is this detector panels etc. not everyone is deep in programing i just understand some of this but only basics.
Adomus  [作者] 1 月 12 日 上午 6:22 
I will adjust the script to rename solar panels that you tag with perhaps LL/RR for left and right detectors so it will automatically rename them once it picks that up.

Something I didnt think of until I got your message, so appreciate you reaching out
Adomus  [作者] 1 月 12 日 上午 6:21 
The script looks for the left/right up/down detectors on each side of the panel, if it doesnt pick up the name tag beforehand it will rename the panels attached to each rotor.

I usually use buildvision to rename my solar panels, but you can do the following:

Add a control panel to one the side you are renaming and you will have to adjust the naming from the control menu
Halcyforn 1 月 11 日 下午 3:33 
im stupid with this script how to build it i see you add some solar panels on top bot and left side ok, idk what detector panels you say if this solar than script change names of them idk if should, i cannt name 3 panels like detector but system just change names