Space Engineers

Space Engineers

View Stats:
Oldwolf Apr 22, 2019 @ 5:29am
Programming an Advanced Rotor
Hello Community & Devs,

I am relatively new to Space Engineers.

I was wondering if someone could point me down the right road so to speak as far as programming an advanced rotor to act as a crane.

I found the wiki for programming but am a bit lost. It is not incomprehensible, I just don't know what method to use to get the rotor to go from -90 to 0 and back again at a speed that won't torque the crane right off.

I am using the "K" menu and arrow keys to do it manually right now and it works it's just clunky.

Any help from a fellow Engineer will be awesome :)
< >
Showing 1-8 of 8 comments
Karmaterrorᵁᴷ Apr 22, 2019 @ 5:56am 
Not sure on the programming side but for stuff like this i usually...

1, set rotor limits
2, set velocity
3, use on/off and reverse on two hotbar keys to move it around :)
BreezeRider Apr 22, 2019 @ 5:56am 
https://steamcommunity.com/sharedfiles/filedetails/?id=694296356 this might help for more complex things. :)
Last edited by BreezeRider; Apr 22, 2019 @ 5:57am
ShadedMJ Apr 22, 2019 @ 6:05am 
@OldWolf : Why do you you need programming, when the task you state doesn't require it? The two posts above should help you either way...
RoofCat Apr 22, 2019 @ 6:25am 
Rotor limits are a bit tricky. Is -90° == 270°? Not really. A bit of a mess there with those sliders.
You can use Ctrl+Click and set accurate values for everything. Like 0.008 for solar panels in low load single player game for example.
Reverse can be used from G menu in cockpit. Works just fine.
Rotor speed on the other hand - be careful as using G menu it jumps in "huge" steps (0.5 rpm iirc). So rather don't use it except over free space with low loads.
Having Rotor lock switch on your G menu is nice to have too.
And then rotor head detach, attach works from cockpit nicely too on designs made for connections.

That's basically it. In general low speed = good speed. 0.1..0.2 rpm are the most common I work with besides solar panel blocks mentioned above going even much slower. And actually requiring script in MP or in a world plagued by reduced simulation speed.
Calibre Apr 22, 2019 @ 6:38am 
I assume you mean something like this: https://imgur.com/a/Z2AY7GI
Karmaterrorᵁᴷ Apr 22, 2019 @ 6:43am 
That diagram over complicates things a bit IMO.

Like its at least 2 rotors (maybe 3) and multiple pistons, you can do a crane with just 3 rotors though...

https://steamcommunity.com/sharedfiles/filedetails/?id=778985229
https://steamcommunity.com/sharedfiles/filedetails/?id=775014036
Last edited by Karmaterrorᵁᴷ; Apr 22, 2019 @ 6:54am
Jawa Apr 22, 2019 @ 6:47am 
I have never programmed rotors myself, but Whiplash141 posted some code you might want to look at a while back. See Whip's reply in the post below:
https://www.reddit.com/r/spaceengineers/comments/67ldvq/rotor_control_script/

if you are interested in using someone else's script, MArmOS on the workshop should be able to do what you need. I have used it to build a welding arm onto my base for repairing my ships.
Oldwolf Apr 22, 2019 @ 6:53am 
Hey Thanks everyone this all helps me get a grip on things.


It is very engaging to try to figure out things.

I have smashed a cockpit, knocked the front wheel assembly off and flipped my "truck" with the crane while learning how it all works lol!

Great stuff!
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 22, 2019 @ 5:29am
Posts: 8