Space Engineers

Space Engineers

59 个评价
GPS guided mining robot. 4-drills vers. (Scripted with ingame programmable block, no mods, can be used on remote servers)
   
奖励
收藏
已收藏
取消收藏
Type: Blueprint
文件大小
发表于
更新日期
747.633 KB
2015 年 2 月 18 日 上午 10:00
2015 年 8 月 22 日 下午 3:42
5 项改动说明 ( 查看 )

订阅以下载
GPS guided mining robot. 4-drills vers. (Scripted with ingame programmable block, no mods, can be used on remote servers)

描述
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:
http://psteamcommunity.yuanyoumao.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 条留言
X 2017 年 10 月 21 日 上午 7:31 
Does not help!!!
X 2017 年 10 月 21 日 上午 7:25 
Try the auto mining robot thats called the octopus and I modified it to mine on the moon!!!:steamhappy:
Pennywise  [作者] 2017 年 9 月 13 日 上午 12:32 
Vĕnŕøm™ 2017 年 9 月 12 日 上午 2:27 
please update
Varaxian 2016 年 12 月 15 日 下午 8:49 
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 2016 年 10 月 23 日 下午 7:29 
Please please fix this miner :)
amessiah 2016 年 10 月 5 日 下午 1:59 
+1
legotaz 2016 年 10 月 4 日 上午 7:50 
this drone used to be so cool until the game broke it....... are we getting a updated (Working) one?
CID 2016 年 8 月 7 日 下午 4:27 
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 2016 年 6 月 6 日 下午 3:42 
can you? no really - there not so much good autominers. or suggest one!