Space Engineers

Space Engineers

59 ratings
GPS guided mining robot. 4-drills vers. (Scripted with ingame programmable block, no mods, can be used on remote servers)
   
Award
Favorite
Favorited
Unfavorite
Type: Blueprint
File Size
Posted
Updated
747.633 KB
18 Feb, 2015 @ 10:00am
22 Aug, 2015 @ 3:42pm
5 Change Notes ( view )

Subscribe to download
GPS guided mining robot. 4-drills vers. (Scripted with ingame programmable block, no mods, can be used on remote servers)

Description
Drone has following functions:

A) Remember connector - You can set connector, you're docked to as your drone base connector, to which it will return to drop off ore. This function can be called from rear remote control.

How to do step by step:
1. Get in drones cockpit
2. Press "2" to activate rear control
3. Dock to connector, using camera (pres "1") or external view ("V").
4. Press "4" to remember this connector.
5. Unlock and disconnect, now drone will return to this connector.

B) Set drilling grid - It sets entry point and angles for your mining. This function can be called from front remote control.
How to do step by step:
1. Get in drones cockpit
2. Press "1" to activate front control
3. Align your ship in front of asteroid (stay approximately 50 m from asteroid surface), using camera "1" or external view.
4. Press "2" to set drilling grid. Drone starts aligning and mining automatically after that.
5. Get out of cockpit, drone will now do everything on its own.

C) Pause - this function simply pauses drone auto mode and returns control to pilot. Pause can be called from cockpit "3" or by pressing button under ship connector.

D) Throw out stone. This function is called by bot navigation script, while mining. It does not need any control.

You can see how this drone works here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=382495638
Load world and watch 2 drones working. And 2 stayng idle near your base. You can bind it to any free connector on your base or even to connector of red ship, floating nearby.
Than you can go to second asteroid and set drone to auto-mining mode.
You can copy/paste it to your own world, or make blueprint. If you change ownership of drone, don't forget to recompile all programming blocks.
Important: Base or ship, to which drone drops off ore, must have some containers included in "BaseCargo" group.
You can also try to use it in multiplayer, but it won't work reliably. Maybe, in next update i'll fix most of issues and this will be useful for multiplayer too.
-----------------
Upd. 4.3
4-drills harvester updated.
Managing blocks via block groups were replaced with managing via prefix in block name.
It results in:
1) No script glitches when groups are not created from bluebrint.
2) Now you can dock to bases with pistons and rotors, script will not throw exceptions.

--------------------------
There are some constants in the begining of "PBHrvNav" programmable block:

--------
string ShipName="Harvester5"; // Ship Name, should be the same as beacon.

int Clock=20; // This is system clock var determining how frequently navigation script will be executed. Use values from 1 to 60. For UPS=60 (Simulation speed = 1) 60 means 1 run/second, 20 - 3 runs per second. For lower server performance like "Space Central Europe" 20 can be 1 script run per second.

float SimSpeed=1f; // Simulation Speed, can be lower then displayed.

float GyroMult=1f; // Gyro values multyplier. Do not set over 1 if you are not sure what you do. Can be set to lower then 1 if on your serv harvester always misses connector and can't ajust for docking.

float ThrustMult=1f; // The same as GyroMult, but determines lateral thrusters power. Not recommended to set over 1, lower values if harvester misses connector.

float BrakingDist=500; //Braking distance. If serv has higher speed limit should be ajusted to higher values.

int BrakeDelay=10; // Time needed to fully stop harvester after flight.

float DockGyroPower= 0.5f; // This param lowers gyro power on last 20 meters of docking for more precize pointig to base connector.

float MaxCargo=5; // Cargo load in % of Max capacity on which harvester will return to base.
--------------------------------------

for "Space Central Europe" serv i've used folowing set:

string ShipName="Harvester5";
int Clock=20;
float SimSpeed=0.7f;
float GyroMult=1f;
float ThrustMult=1f;
float BrakingDist=500;
int BrakeDelay=10;
float DockGyroPower= 0.5f;
float MaxCargo=80;

for "FOHSE":

string ShipName="Harvester5";
int Clock=20;
float SimSpeed=0.8f;
float GyroMult=1f;
float ThrustMult=0.6f;
float BrakingDist=4200;
int BrakeDelay=20;
float DockGyroPower= 0.5f;
float MaxCargo=80;
186 Comments
doug 21 Oct, 2017 @ 7:31am 
Does not help!!!
doug 21 Oct, 2017 @ 7:25am 
Try the auto mining robot thats called the octopus and I modified it to mine on the moon!!!:steamhappy:
Vĕnŕøm™ 12 Sep, 2017 @ 2:27am 
please update
Varaxian 15 Dec, 2016 @ 8:49pm 
Penny,

The new update has broken the code. Please see the below IMGUR

http://imgur.com/a/lFCMg

Program(797,11): Error: Operator '!=' cannot be applied to operands of type 'MyDetectedEntityInfo' and '<null'

Help? I just got this thing working and a server I could use it on. :'(

Gassniffer 23 Oct, 2016 @ 7:29pm 
Please please fix this miner :)
amessiah 5 Oct, 2016 @ 1:59pm 
+1
legotaz 4 Oct, 2016 @ 7:50am 
this drone used to be so cool until the game broke it....... are we getting a updated (Working) one?
CID 7 Aug, 2016 @ 4:27pm 
Hi, me again... Love all your works in fact ;-)...
The drone stuck some time by sliding left or right "in" the asteroid and then I have to drill manually around it to solve.
Have you test to put wheels on the side to prevent that or should I.
I'm also trying to implement the max cargo load from the Octopus actually as the one in this drone return a strange very large int... (I didn't tried it in survival mode actually so, for the moment, I override the cargoload function to not calculate the maxCargo but to take a constant var.)
amessiah 6 Jun, 2016 @ 3:42pm 
can you? no really - there not so much good autominers. or suggest one!