Space Engineers

Space Engineers

Drone Master Script v3.4
11 kommentarer
baterenema 10. aug. 2022 kl. 7:27 
how can i view the code ?
Fish 15. okt. 2020 kl. 0:26 
Next century huh? 👀
Foundation 28. mar. 2019 kl. 3:30 
do you plan on rewriting this ?
rlb  [ophavsmand] 7. juni 2018 kl. 19:32 
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. maj 2018 kl. 9:04 
(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. maj 2018 kl. 9:01 
And what would I type into the text screen?
Roasty my Toasty 16. maj 2018 kl. 9:00 
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  [ophavsmand] 8. juli 2017 kl. 16:40 
@The Mirage Thanks, I'll look into it and see if by any chance it's on my end!
The Mirage 8. juli 2017 kl. 15:43 
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  [ophavsmand] 8. juli 2017 kl. 4:11 
(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. juli 2017 kl. 16:26 
There is noting wrong with the script but how do i use it