Space Engineers

Space Engineers

Not enough ratings
Rotor Return Home - beta
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
149.648 KB
27 Jan, 2024 @ 1:56pm
29 Jan, 2024 @ 8:46am
2 Change Notes ( view )

Subscribe to download
Rotor Return Home - beta

Description
This simple yet useful mod allows players to easily return their rotors to their home position with just the press of a terminal button.
No more manual adjustments or scripts required!

🛠︰Info ・─────────────・・・
Adds a button to start return the rotor to home position and a slider to set the home position angle to rotor terminal controls.

❗❗❗ Currently only advanced rotors and hinges are supported because of a bug.
If you really want support for it please vote for this at least 3 years old bug[support.keenswh.com]❗❗❗

🛠︰Programableblock API ・──・・
you can also use this mod in your own scripts by using the following actions and properties

🛠︰Actions
  • ReturnToHome: Return to home position
  • ResetHomePositionAngle: Reset home position angle
  • IncreaseHomePositionAngle: Increase home position angle
  • DecreaseHomePositionAngle: Decrease home position angle
  • DisableRotorWhenHomeAngleReached: Disable rotor when hp reached On/Off

🛠︰Properties
  • HomePositionAngle: float
  • DisableRotorWhenHomeAngleReached: bool
  • IsReturningToHome: bool

🛠︰Incompatible Mods
  • VCZ Elevator v2.0: This mod hides controls of advanced rotors.

🛠︰Support ・──────────・・・
It would be nice if you could consider supporting me

[ko-fi.com] [patreon.com] [paypal.me]

or join my Discord[discord.gg] if you have suggestions, wishes, or just want to know what else I'm working on. My Discord is new, so there is not much going on yet.
You can also check out my other mods in my Workshop.

🛠︰Github ・───────────・・・
The source for this mod can be found at RotorReturnHome [github.com] and is licensed under MIT [github.com]
You can use my code as you like, just a license and a copyright notice is required, but please do not flood the workshop with copies of this mod.
If you think some features are missing, try to ask first
23 Comments
Titan Nya 2 Sep, 2024 @ 2:38pm 
I didn't think about only 1 limit... I'm pretty rusty as I haven't played the game for a long time and came back recently to it :p
Well do what you think is the best for the mod as long as it don't crash/lag the game i'm ok with it :p
🅂🄸🅂🄺  [author] 2 Sep, 2024 @ 2:25pm 
It might work to set only a limit for the upper or the lower limit. When 1 limit is set, it will remember how many rotation/degrees it has done.

An optional return home speed option should be possible without creating conflicts.

For a direction option, it is more complicated than it sounds, at least when it should avoid running into loops. I have to think about it a bit more. Maybe an optional preferred direction option is a compromise. For situations where the home position could not be reached using the preferred direction, it will fall back to the default logic.
Titan Nya 2 Sep, 2024 @ 10:55am 
Well... for limits the problem is the rotating part is making full turns... Well it's your choice to add or not settings, i'll do with how it is for now :p
🅂🄸🅂🄺  [author] 2 Sep, 2024 @ 9:14am 
@Titan Nya
I'm not convinced about adding new settings — yet, but I will think about it.
You should be able to archive the desired direction by adding rotor limits. I believe I did it so it will respect rotor limits for its calculation of the return direction.
Titan Nya 2 Sep, 2024 @ 8:56am 
ok as other comment said about timer, need to check as my quick test was with rotors off and other rotor on, but I'd like if you could have a setting for return speed and return direction, I'm trying to have a ship with 2 rotating part in opposite direction and having a return to home then landing... Haven't finished the ship yet as my quick test about the unfinished rotating part are already quite heavy (torque on the ship) and hit some of other armor block (probably cause it's slope hitting an empty (for now) spot... I ran out of inspiration for today to continue working of this design and need to calculate how much of the things i need but so far this mod is great!
Sangrias 26 Mar, 2024 @ 2:20pm 
Das ist seltsam, im neuen Savegame wo ich potenzielle Mods hinzugefügt habe, macht der keine Probleme.
🅂🄸🅂🄺  [author] 26 Mar, 2024 @ 1:25pm 
VCZ Elevator v2.0 ist der Übeltäter.
Hier werden TerminalControls ausgeblendet. Wenn ich das richtig sehe versucht der Mod Author eigentlich nur seine Blocks anzupassen, aber es betrifft auch die anderen Mods.

Ich werde das in meiner Mod nicht fixen können.
Sangrias 26 Mar, 2024 @ 11:22am 
Habs jetzt mehrere Stunden versucht aber nichts gefunden. Hier mal die Welt https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3201986546
Wäre wirklich dankbar für Hilfe
🅂🄸🅂🄺  [author] 26 Mar, 2024 @ 12:11am 
Alle mods die neue TerminalControls (Buttons, slider, switches, checkboxen, etc) hinzufügen oder entfernen.
Du kannst auch gerne neue Welt hochladen, dann kann ich mir das selber anschauen.
Sangrias 25 Mar, 2024 @ 2:25pm 
Ich habe jetzt einen neuen Spielstand angelegt mit Rotor return home als erstes und nach und nach evtl. mögliche Mods hinzugefügt. Ohne Erfolg.
Was fällt den alles unter Terminalsteuerung ngenau?