Space Engineers

Space Engineers

Not enough ratings
Automated Mining Drones. (scripted with ingame programmable block)
   
Award
Favorite
Favorited
Unfavorite
Type: World
Mod category: Exploration
File Size
Posted
Updated
6.140 MB
19 Jan, 2015 @ 4:09pm
20 Jan, 2015 @ 4:54am
5 Change Notes ( view )

Subscribe to download
Automated Mining Drones. (scripted with ingame programmable block)

Description
***
new version of mining drone available:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=382495638
***

This is an early prototype of automated drilling drones with carrier.
It does following:

1. Drills 100 shafts (10x10) layer by layer.
2. Transports excavated resources to base
3. Docks to base connector and drops cargo to base storage.
4. Returns back to asteroid and drills again, till 100 shafts are complete.

Load world and watch 2 drones working.
You can take carrier and deploy 2 other drones on remaining 2 asteroids. You should stop approximately 50 m in front of asteroid surface. Green light will indicate right distance. Do not approach to close to asteroid, do not stay too far away when deploying drone.
Drone will align to -25; -25 (the first shaft) and start drilling. It will move up 5m after every run through asteroid and 5 m right after every 10 runs till it achieves 25; 25, returns to base and stay idle. Every 2nd run it will fly to base to drop off cargo.

Do not transfer ship or base to "Me", if you do so, scripts in programmable blocks will need to be recompiled and some exceptions may happen. If you copy/paste carrier and drones in other worlds or transfer to "Me", than you need:

1. Recompile all programmable blocks.
2. Change base connector coordinates to your own (parameters BaseX, BaseY, BaseZ).
3. Connectors must be oriented to face +Y axis.
4. Some blocks could be automatically renamed by game, what causes exceptions in script.

Later i'll make this script more easy to use.

This script needs many improvements, it is very "dirty & raw" now and does not handle most of exceptions. If floating objects set to 256, sometimes floating stones block drone and it gets stuck.
Docking to base connector is too slow. Optimal trajectory and speed will come later.

Just try to experiment and comment what you think.

Upd.1: Fixed connector miss for drones 3 and 4.

Upd.2: new version of mining drone available, https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=382495638
16 Comments
Pennywise  [author] 27 Jan, 2015 @ 1:44pm 
Hi, everyone!
Here is new version of mining drone.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=382495638
It's available for copy/paste to your own world. Does not need script editing for use. Some improvements were made.
MadCow 26 Jan, 2015 @ 9:27pm 
If you're still planning to do an easier version of this, I would absolutely love it if you had time to do a tutorial. I took a long break from Space Engineers and now that I'm back, there's a lot of new features added (like pistons!) and some of this stuff I'm completely lost on. Your work here is brilliant though!
Kronic_Rogue 25 Jan, 2015 @ 9:21pm 
That looks a lot like Ecto Sage's auto miner
Kenneth 25 Jan, 2015 @ 5:43am 
This is amazing. the most impressive i have seen in this game yet. i have been trying to get this to work on my own game. copy/pase worked just fine how do i get the mining ship's to move to my base connector? i suddenly lost then. they were speeding away from me. problebly to the gps location that you had you'r base
Pennywise  [author] 24 Jan, 2015 @ 11:22pm 
Place programmable block on your base, name new connector "GPS Loc:" and run "GPS Location" script from workshop. It will give you coords of your connector.
Draven_Stone 24 Jan, 2015 @ 5:45pm 
how do you get the parameters BaseX, BaseY, BaseZ for a new connector?
MrHohenheim 24 Jan, 2015 @ 3:40pm 
This Awesome!
Pennywise  [author] 24 Jan, 2015 @ 9:46am 
If script is not stopped on some exception and timer, which launches programmable block is still running, then there are probably some floating stones around drone. And these stones block aligning. That happens because gyros and thrusters are running on very low power to make aligning more precise. And even 1-2 floating objects can block them. Try to switch off ejectors for now. Later i will do something to this.
coasion 24 Jan, 2015 @ 7:58am 
So I tried using them in Survival by building them from a blue print. After redoing all the the groups I was able to get them working. only one major problem. They drill most of the way through the asteroid and gets stuck in align mode. any sugestions on what is going on? I dug one out and the sensor is green.
coasion 24 Jan, 2015 @ 1:41am 
Thank you for the quick response. I was playing around in your world and I use the new GPS to see were you had the points line up. I saw you have the Y and Z cord dead on but the X was off just a bit. I turned the Carryall with the mining drones attached into a blue print. I will build them in survival and see how it works. I will let you know how it goes.