Space Engineers

Space Engineers

362 arvostelua
Midspace's Experimental Solar Tracker [EOL]
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Type: Mod
Mod category: Block, Script, Other
Tiedostokoko
Julkaistu
Päivitetty
149.031 KB
24.1.2015 klo 21.14
1.6.2017 klo 16.23
21 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Midspace's Experimental Solar Tracker [EOL]

Kuvaus
End Of Life - not receiving any more updates.

This is an experimental cube and script used for tracking the position of the sun, to automatically reorient a Rotor to face the sun.

Basic instructions.
  1. Build your Rotor.
  2. Build your Solar Panel onto the Rotor.
  3. Build the SunSensor cube on the face of the Solar Panel.
  4. Change the custom name of the SunSenor to include " /AT[Rotor 2] ", where the name of the rotor appeared between the [].
  5. Watch the rotor turn to track the sun.

You can have any name in the SunSenor, as long as the key "/AT[xxxx]" appears in it separated by a space.
ie., "Sun Sensor 1 /AT[ROTOR 4]".
or., "Sun Sensor 1 /AT(ROTOR 4)".

Manual tracking
If you wish to manually orient a Solar Panel, tracking information will appear in the "Show on Hud" settings.
Simple edit the Solar Panel, and add "Az:0 El:0"
ie., "Solar Panel 1 Az:0 El:0"
The script will automatically update Az:0 and El:0 with the appropriate Azimuth and Elevation to rotate the Solar Panel.

Second Rotor
A second stage rotor can be enabled, but is very experimental, and I wouldn't try it on ships. Only Stations.
ie., "Sun Sensor 1 /AT[Rotor 12][Rotor 13]".
or., "Sun Sensor 1 /AT(Rotor 12)(Rotor 13)".

Caveats
It will track a moving sun.
If you are using two rotors, be careful of how the rotors will flip the solar panel about.
Rotor names are NOT case sensitive.

Rotor settings including torque, braking torque, and turn velocity will be reset by the Sun Sensor for its own purpose.
Turn limits and displacement will not be touched.

The Sun Sensor purposely uses a Sensor as this will draw 1.98Kw of power.
Once the solar array is reoriented, you can always turn the Sun Sensor off.
(I may change/remove this in the future.)

The Solar Tracker block will obey ownership requirements. Please make sure you have set appropriate ownership to the Solar Track block and the associated Rotor blocks.

If you turn the Sun Sensor "Show On Hud", you may see a lot of debug information appear on screen.
This script is still very experimental, please understand.

Issues
If it stops tracking the sun - or one of the two rotors you have configured stop turning.
Edit the custom name of the SunSenor, and delete one of the brackets, and then add it back in.
This should get it immediately working again.
It doesn't move - Check the ownership of the sensor and rotors!
It moves but does not line up properly. - Remove the Sun sensor and place a new one that is rotated by90 degrees (either left or right).


Dedicated Servers
This will work on a dedicated server. Rotors on multi player games can visually appear as if the rotor has gone crazy and flipping back and forth. This is only a visual desync between the client and server. The issue goes away when a player is seated in a chair on a connected grid to the rotor.
421 kommenttia
Dardomor 18.3. klo 0.33 
Same here and I totally agree! Thanks for this mod!
Far-Seeker 16.3. klo 9.21 
Was clearing away some mods and scripts I don't need anymore and noticed I still have this. While the vanilla custom turret controllers has made this redundant in the past couple of years, It was a great help for much longer! :steamthumbsup:
KOSi 21.5.2023 klo 14.14 
After save game and load again its stoped to work
GoomDon 11.11.2022 klo 6.11 
This worked like a charm, I'm very happy about it.
gerald2 13.6.2022 klo 11.58 
it gives me an error i cant read whats wrong even cause it just blink in red when i close control panel also " are needed in sensor name ? or it should be just sun sensor /AT[rotor]?
fenlander 26.4.2022 klo 3.16 
This works a treat.
Jonas 16.1.2021 klo 11.51 
does this work with hinges?
Skallabjorn 4.12.2020 klo 8.26 
Confirmed, I have used this for years and it works great
dnjuandmrk 7.10.2020 klo 18.06 
It IS a block. Open the G menu and search for it. The thumbnail looks like a solar panel with a tracer on it. It still works. I just built 3 in a survival game yesterday
TMaster1324 24.8.2020 klo 9.11 
Sun sensor is not a block, how do I do this?