Space Engineers

Space Engineers

Automated Defence and Patrol Drone
102 Comments
(_KsR_) 18 Mar @ 6:44am 
Будет ли совместимость с скриптом: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2146371052&searchtext= ???
jarhead 22 Jan @ 6:05pm 
Any updates on this script?

I had the idea of using the direction of the connectors of both the "drone" and "base" (ship or station) as the direction of up (connector on drone on "bottom" with connector of base on "top"). This will let you set the vertical distance "above" the base connector and the horizontal "patrol orbit" to the "side" of the base connector. This will also allow any ship (drone) design to work since the script will say that its (same grid) "connector" is "down". The script will then be able to adjust based on any "movement" of the "base". Also it can have damage detection, ammo capacity, fuel/power level. If any of these go past a set amount it "returns to base". If damage then It won't "leave" until you tell it to. If ammo or fuel/power then once it has been refilled it will leave on its own.
MrFox 17 Jun, 2024 @ 9:09pm 
dead/
Dots 30 Jul, 2023 @ 11:59pm 
well, few years passed and still no new version yet :(
Ejcreeper 8 Aug, 2022 @ 8:52am 
Okay but uhhhh what about drones without turrets? example the gatling gun and reloadable rocket launcher
MrFox 21 Mar, 2022 @ 11:26pm 
Plz add a auto dock if fuel is low. I plan on having 6 of these :P
Spencer 20 Feb, 2022 @ 1:15am 
Might wanna build an example build. More often than not ppl don't try these things cause its a lot of effort for another broken drone script.
Spencer 20 Feb, 2022 @ 1:13am 
One thing I have always found surprising is the total lack of a working attack drone like this. I've been playing for years and aside from a few clever scripts that where short lived no one has maintained the mod let alone write up something special for it. There are 100 scripts for mining and such that are amazing such as PAM. I figured an attack drone would be no less important for ppl to write stuff for. That being said I've not tried this script yet but only hope it works as you say friend :)
Zorgges 1 Feb, 2022 @ 3:40am 
Doesn't work for me and presenting errors
[TBU] eldarstorm  [author] 13 Dec, 2021 @ 8:42pm 
Will be taking a look at making it work with weaponcore, but that may be for the next version
Torsión Testicular 11 Dec, 2021 @ 11:51am 
great script, but if you can make it works with weaponcore you will be god. I rlly need that XD
[TBU] eldarstorm  [author] 25 Nov, 2021 @ 8:58pm 
@OPERATOR how would you want to have it attack manually? Also, if you want you can join me in my Discord, its linked above.
OPERATOR 25 Nov, 2021 @ 7:26pm 
@eldar if you can add a manual attack you'd be a godsend the only other ones are refusing to fix scripts or wont make any updated versions, it would be great to be able to make a dispoable drone army, especially if it works with weaponcore, as alot of servers use it ontop of games.
[TBU] eldarstorm  [author] 25 Nov, 2021 @ 3:25pm 
There may be some other things I am missing. I plan on having the same base function available that the drone had, but it should be able to do alot more. There will be the need to set a few settings in Custom Data once the script is pasted in.
[TBU] eldarstorm  [author] 25 Nov, 2021 @ 3:25pm 
Current plan (A chuck already done on the new version):
-Unidirectional communication via antenna
-Ability to have a Base Station or Ship
-None, Auto, and Manual Patrol routes (Auto can generate from Base's location)
-Multiple Designations (Base or Drone)
-Drone to have Multiple modes (None, Defense, Fleet, Mining, Explore)
(Explore, Mining, and Fleet are future features, but adding into the framework to make it easier to work on)
-Easier setup of Indicator Lights, LCD Info panels, RC Blocks, ect
-Hoping to have a better object collision avoidance using trace from camera (noticed my drones colliding during early testing, and asteroid avoidance was a joke (got stuck))
-Configure settings via the Custom Data panel
-Much better info screen info
-Custom Data settings auto generated
-Timer block no longer needed
[TBU] eldarstorm  [author] 25 Nov, 2021 @ 3:25pm 
@OPERATOR Without changing a ton, you could set a manual patrol point in the remote base and it should work. I suppose I could add in a manual attack location in later on. I will have to look into how it could be made to use with weapons core.

Right now I am still building out the framework. There are several new features that were not in the old that this will have.
OPERATOR 22 Nov, 2021 @ 5:07pm 
I've been looking for a good drone script, I wonder if I can just use the new version and send my own army into someones base that would be the day, especially if I can get it to work with weaponcore, almost no script works for this right now and any that did the creators didn't care enough to work on their scripts.
[TBU] eldarstorm  [author] 22 Nov, 2021 @ 2:37pm 
@OPERATOR Yes, been putting a good chunk of work into this, should have alot more function than before and should hopefully be easier to use.
OPERATOR 17 Nov, 2021 @ 10:39pm 
Ohh this is getting an update? I'm interested
[TBU] eldarstorm  [author] 8 Nov, 2021 @ 1:40am 
@ShArPy1o1 Thanks for the link, I will include it in the info above when finish updating it.
[TBU] eldarstorm  [author] 8 Nov, 2021 @ 12:08am 
Working on a update to this and possibly a different script as well. I should have a updated working version of this uploaded soon.
Starkye 7 Sep, 2021 @ 7:06am 
@Napalmer are you planning on uploading it to workshop?
ShArPy1o1 16 Aug, 2021 @ 6:33am 
Sensor mod in description doesnt exist anymore... i use this and its great... https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=915690707
SevenofThr4wn 20 Mar, 2021 @ 8:57pm 
Can the patrol drone bs set to go on a repeated course?
Mr. Awesome 9 Feb, 2021 @ 8:25am 
@Napalmer Your update is returning a lot of errors in game???
Napalmer 1 Feb, 2021 @ 2:28pm 
@eldarstorm, I saw that you hadn't updated the code in a bit so I forked your repo to see if I could get it working. It seemed to work fine on my sandbox.
https://github.com/napalmer7/SE_Defence_and_Patrol_Drone
Typhon 25 Jan, 2021 @ 4:14pm 
I looked into it, but I don't know enough about scripting to be able to fix any of it. Here's hoping someone does!!
O'Mast 20 Jan, 2021 @ 7:48am 
is there anyone who knows how to fix it?
August_Grimm 19 Jan, 2021 @ 8:36pm 
@Woodzykiler looks like this script hasn't been updated in 4 years. Shame.
MrFox 19 Jan, 2021 @ 6:26pm 
why are none of the Patrol drone scripts updated?
Scorpio77Man 11 Dec, 2020 @ 11:30am 
Is this script working?
BinaryKiller Recoded 27 Nov, 2020 @ 7:03pm 
Please fix this script, it is needed!!!
Massimo2781 26 Feb, 2020 @ 9:57am 
Unfortunately not working...8 lines with obsolete contents
ARK7 17 Feb, 2020 @ 7:19am 
8 errors in script related to, IMyTextPanel and IMyTerminalBlock.
otisczech 3 May, 2019 @ 10:03am 
Not working
Foundation 28 Mar, 2019 @ 3:30am 
will you be updating this ?
Hage Maoh 22 Mar, 2019 @ 1:34pm 
This script would be great if it used turrets for enemy detection instead of a sensor
starmind 12 Mar, 2019 @ 8:57am 
funny hotfix : open remote control block, and in setting instead "flight mode-patrol" use "flight mode-one way" , and all is then working as expected...
starmind 12 Mar, 2019 @ 8:39am 
hello i really need a script like this in order to give Player Ships some live ... From what i see the script run fine when you have 2 remotes C with good name and a long range sensor, it get all the GPS needed, but will not "start" the autopilot, need to update script for that.
--Kaos-- 7 Mar, 2019 @ 5:00am 
out of date , no longer works
Cosmos 20 Jan, 2019 @ 5:02am 
didnt work for me
❤ Space Bear ❤ 9 Nov, 2018 @ 7:44pm 
Does this script work or no?
Dots 17 Sep, 2018 @ 6:53am 
this was good back in the day but if author didn't update the script and keep up with times so it doesn't work anymore.
O'Mast 14 Aug, 2018 @ 1:40am 
The script does not work. Would you please put it back?
TheDoomLordd 10 Aug, 2018 @ 3:59am 
Currently this script doesnt function, i am no good with sctipting and would love to get this working
tcLunat1c 8 Aug, 2018 @ 11:36am 
Is there a guide or a video about this script? Dont know how to use timeblock
titanopteryx 20 Feb, 2018 @ 6:12pm 
Also on line 196, if you remove the () after HasInventory the warning goes away.
titanopteryx 20 Feb, 2018 @ 6:05pm 
You can get rid of that instance of an object error by renaming your remote control to PATROL

That said, even with the error gone this thing isn't taking off and patrolling.
gatecrasher 17 Jan, 2018 @ 6:46am 
Caught exception during execution of script:Object reference not set to an instance of an object
Dots 4 Jan, 2018 @ 3:19am 
i keep trying to make it work but fails due to some errors