Space Engineers
Недостатньо оцінок
Rotor Return Home - beta
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Mod
Mod category: Script
Розмір файлу
Додано
Оновлено
149.648 KB
27 січ. о 13:56
29 січ. о 8:46

Підпишіться, аби завантажити
Rotor Return Home - beta

Опис
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
Titan Nya 2 верес. о 14:38 
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
🅂🄸🅂🄺  [автор] 2 верес. о 14:25 
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 верес. о 10:55 
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
🅂🄸🅂🄺  [автор] 2 верес. о 9:14 
@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 верес. о 8:56 
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 берез. о 14:20 
Das ist seltsam, im neuen Savegame wo ich potenzielle Mods hinzugefügt habe, macht der keine Probleme.
🅂🄸🅂🄺  [автор] 26 берез. о 13:25 
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 берез. о 11:22 
Habs jetzt mehrere Stunden versucht aber nichts gefunden. Hier mal die Welt https://steamproxy.net/sharedfiles/filedetails/?id=3201986546
Wäre wirklich dankbar für Hilfe
🅂🄸🅂🄺  [автор] 26 берез. о 0:11 
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 берез. о 14:25 
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?