Space Engineers

Space Engineers

52 ratings
Rotor Servo Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.367 KB
8 Aug, 2018 @ 7:34am
8 Aug, 2018 @ 8:06am
2 Change Notes ( view )

Subscribe to download
Rotor Servo Control

Description
This basic script controls the velocity of rotors to align them to a set angle. Optimal rotation direction not guaranteed.
Usage instructions are included in the script.
16 Comments
Imperial Fleet 22 Jun, 2024 @ 3:54am 
can it be, that the sciped doesn´t work anymore.
i tryed to load it in the block but it doesn´t show up.
Babbayega 13 Dec, 2020 @ 5:06pm 
any chance of a button function to go up/down by a degree at a time as opposed to entering data on the custom data block each time? kind of hard to dial in a 'level' position given the rover could be at any given angle.
LSG123 15 Oct, 2020 @ 2:39pm 
wouldn't it just have to basically increase the number in the custom data thingy by 90 degrees? surely thats not that hard? i really do not know how to use scripts at all, if anyone could do this, i beg you, help me out
LSG123 15 Oct, 2020 @ 2:37pm 
@gogata94 what exactly do your changes do? if anyone makes a script that lets you change to MULTIPLE specific angles i will worship you, i basically need it so that when i tell it to, the rotor will rotate 90 degrees. PLEEAASSSEE ANYONE THAT CAN DO THIS. i really really want this, an idea for a reloading torpedo tube that ive had for aaages wont work without it, ive tried using timers so like it rotates and then either turns off or decreases vel to 0 after the right amount of time to get 90 degrees but for some reason it wont let me actually like fine tune it, no matter what it always goes either too far or not enough.....
Remaarn  [author] 8 Aug, 2020 @ 10:06pm 
@Mata52 I am not currently working on this script. This was just a simple one to fill a certain need. You are free to use the code as reference if you are able. There isn't much of it.
Mata52 8 Aug, 2020 @ 4:44pm 
Is it possible to actually make the script set chosen rotors to always the same angle? I found that the fact that it uses custom data of particular rotors is problematic because another script controlling them replaces custom data of rotors.
Remaarn  [author] 26 Apr, 2020 @ 5:53am 
@gogata94 So long as you change the name and link back to this version then yes.
gogata94 26 Apr, 2020 @ 5:45am 
@Remaarn do you mind if I steel your code was very helpfull to me but I needed some tweeks and since i am happy at how it works now i wanna post it to the workshop?
I added a new function to it.
Firebrand 10 Apr, 2020 @ 4:36pm 
@Remik Are you looking under "Browse Scripts" in the programming block's edit menu?
Firebrand 10 Apr, 2020 @ 4:32pm 
This works like a charm in conjunction with Vectorthrust2. I use this with a timer block set up to return my thrusters and "wings" to a locked "space flight mode" on my small shuttle. Hitting it again deploys wings and unlocks two big atmo thrusters with vectoring for heavy lifting.
This is just what I needed, thanks!