Space Engineers

Space Engineers

Drone Master Script v3.4
11 Comments
baterenema 10 Aug, 2022 @ 7:27am 
how can i view the code ?
Fish 15 Oct, 2020 @ 12:26am 
Next century huh? 👀
Foundation 28 Mar, 2019 @ 3:30am 
do you plan on rewriting this ?
rlb  [author] 7 Jun, 2018 @ 7:32pm 
Sorry for late reply. This script was somewhat poorly designed (being grown from an automated taxi service) and development has been discontinued. Specifically, I didn't write in any support for persistent data, i.e. an active target, and shoehorning it in would not work well.

New drone script is in the works, to be released next century :)

To answer your question, this version is capable only of scanning, flying, &c. Next version was to be automatic, attack, and so on, but I couldn't build in support.
Roasty my Toasty 16 May, 2018 @ 9:04am 
(Sorry for spam posting, things are just occurring to me as I think of them and I cant edit comments) I can have turrets set to attack everything just turned on
Roasty my Toasty 16 May, 2018 @ 9:01am 
And what would I type into the text screen?
Roasty my Toasty 16 May, 2018 @ 9:00am 
Could you use this script to have murderous friendly drones agressively look for and attack anything in sight explore the whole surface of a planet?
rlb  [author] 8 Jul, 2017 @ 4:40pm 
@The Mirage Thanks, I'll look into it and see if by any chance it's on my end!
The Mirage 8 Jul, 2017 @ 3:43pm 
This works well in single player. In multiplayer there is a problem where the drone will not accept any new waypoints. Even if you clear the GPS text box and enter new waypoints, it won't use them and will return to the first set of waypoints you entered. Eventually it will just stop responding, thinking that it's already at a final waypoint.

This happens manually using the remote control block and adding waypoints as well, so I beleive it's a SE core bug. But if anyone else runs into this it would be useful to know.
rlb  [author] 8 Jul, 2017 @ 4:11am 
(v3.3) Not too useful for anything quite yet. It can move around, scan things, dock to things, and perform actions at waypoints (see Action List [spaceengineerswiki.com] for actions).

To use it:
- Build a drone with two text panels, a timer, a remote control, and a programmable block.
- Make sure all the names of the above are correct (you can double-check the names used in the script; they're at the top) and set the timer to run the programmable every second.
- Set behaviors in the script (also at the top) and enter commands into the command text panel (e.g. move here, dock here, etc).
- Start the timer and let the drone go!

If you don't wanna do that, you can pull the example drone I made from the link at the bottom of the workshop page and modify it.
Hope this helps!
ShinyPhoenix998 7 Jul, 2017 @ 4:26pm 
There is noting wrong with the script but how do i use it