Space Engineers

Space Engineers

Automatic Mining Platform by Kezeslabas
518 Comments
Shurenai Oct 1 @ 1:30pm 
Would this work with a modded drill-like tool? Like a laser drill? Or does it have to be a vanilla drill? Was thinking to use this to clear a large cylindrical hole in an ice lake w/ a laser drill for construction purposes.
StoneTiger Sep 28 @ 2:01pm 
When using Small grid pistons do i need to change the piston movement setting?
xFunnyDeathx Sep 20 @ 2:34am 
@Dr.Theo i figured out. wehn an lcd display is placed on the same grid as mining station put the main tag (default: /Mine 01/ ) in name. when script runs type in argument of programmeble block refrech and press run. works for me and show advanced data. ( when set to true in script)
Kezeslabas  [author] Sep 16 @ 7:31am 
@HippieJesus My guess is that you are using a modded Programmable Block. They usually don't work unfortunately.

@al_mondo Unfortunately a rotor is required for this script, it is wired pretty deeply into the logic.

@Dr.Theo If you load the script to a programmable block, and run the "set" command at least once, then the Custom Data of the block will be filled with the configuration options. There find the "Show Advanced Data" option and change it to "True"

@DRB333S Some servers have scripts disabled, others might have whitelists that only allow specific scripts to work. Ask the maintainer of the server about it.

@Peach There is no specific setting for clearing space, it would be a neat feature though. But, the rotation speed can be modified, find the "Rotor Rotation Speed at 10m" option in the Custom Data of the programmable block after you load the script to it.
Peach Sep 3 @ 2:15pm 
read a few pages of cpmmentaries, but couldnt find anything like what i needed. is there a setting for clearing space? or a mining speed variable?
DRB333S Aug 27 @ 10:38am 
failed to load on server
Dr.Theo Aug 12 @ 12:42pm 
how to get advanced settings onb lcd
al_mondo Aug 5 @ 1:57pm 
can this work without rotor?
HippieJesus Jul 28 @ 5:38pm 
when i try to compile script, i get "main method not found. Please add Main Method into script"
deathwallker3 Jul 22 @ 8:04am 
Thank you for such a quick response :)
Kezeslabas  [author] Jul 21 @ 7:17am 
Hey! If you are experiencing issues with Clang, then the cause could be that the "Share Inertia Tensor" feature of the game got it's own world setting recently, and it is disabled by default.

This feature is crucial for keeping clang in bay, and the mining script manages this setting dynamically to reduce the chances of things blowing up.

However, if the feature is turned off in your world settings, then the script can't do anything to please Clang.

You can enable this feature if you go to "Load Game" in the main menu, select your world then click "Edit Settings", click "Advanced", scroll down and find "Enable Share Inertia Tensor" and click on the box so it is filled.

I hope this helps. @deathwallker3 @6666qq
6666qq Jul 20 @ 7:15am 
On behalf of Clang itself, I urge you, the creator of the script, to update it and make it work on behalf of Clang itself!!!!
deathwallker3 Jul 19 @ 12:04pm 
Hello i know the like hood of me getting a response is zero but i might as well try. due to game updates im having tons of problems using this script due to clang. I would love to see a update come out for it here soon...
Villain.Zod Jun 26 @ 8:55am 
Resolved! I figured it out. A drill became damaged when it clipped the concrete skirt around my base. Once repaired, it all worked great. Great Stuff!!
Villain.Zod Jun 25 @ 9:07pm 
Help Please - Ore not moving from drills to any containers. Driller is on same grid as my base. Drills show they are on another grid (due to advanced rotor I am guessing). Any idea how to fix this? Do I need a merge block in this?
Meya May 28 @ 6:21pm 
This only works with old Drill seems to not recognize prototech drill if you are lucky enough to find one. Can do it old fashion way though with timers ^.^
Roflnomish Apr 29 @ 4:35pm 
idk if it's some weird mod conflict or maybe something to do with the new prototech drills being added now, but the script refuses to detect my drill even though it has the correct /Mine 01/ tag in the name :/
Killer Bee Mar 18 @ 6:10pm 
Your script is really useful from early game, cheap and easy to build. Gives all the ore you need to start your base.
WellThen Feb 17 @ 12:08am 
Hey guys can anyone help me.

i Built my mining platform put in the right Names on all my pistons Rotas Drills
And soon as i would type in start hit run
and its just says Aligning 1/1 time - 1235345 some stupid number and it just wont go past 1
i have rebuilt moved it and every time i would hit run it just says 1/1

But before it would say like 0/64 or what ever number and run fine and make that big hole in the ground but i just dont know why its stopped working and wont go any higher than 1

If anyone ran in to this Plz Help me Fix it Plz
Peekofwar Feb 13 @ 12:20pm 
Something that would be great, is an ability to have a timer block fire if the script detects the rig has not moved during a span of 30 seconds. This could be used to trigger a fault mode, where a pause command is issued to the rig and an indicator be illuminated to alert the operator.

It should probably pause automatically and wait for an operator to attend to the contraption.

Automation Timer Block /Mine 01/Fault/
-> Automation Programmable Block /Mine 01/ -> Run: Pause
-> Crane Fault Speaker -> Play
-> Crane Fault Indicator -> On
-> Beacon Fault Broadcast -> On
Pop_of_Two Feb 6 @ 7:30am 
* Unable to get the drills to pass the stone/ore to the containers.
Pop_of_Two Feb 6 @ 7:29am 
I am unable to the drills to pass to any of the cargo containers that are connected.
FunkWolfie Feb 3 @ 5:12pm 
hey so my container is pass the low % but whenever I hit start it still keep auto pausing
Psychomaniak666 Dec 13, 2024 @ 6:35am 
Now thats how engineers mine :)
wootabix Dec 13, 2024 @ 4:02am 
Will you be updating the script for prototech drills seeing as they drill faster?
Frission Nov 7, 2024 @ 2:26am 
How do you make it do a partial arc, l ike 220 degrees in an arc facing the platform? I built one on the edge of a hill so for half of the circle it's just digging air...
Rayanth Oct 29, 2024 @ 2:34pm 
@Markiieee the 'f' just means it's a floating point number. the script sees the number as a percentage - 0.9f means 90%, 0.5f means 50%. It's the only way you can set it, so you'll just have to figure out what percentage your desired numbers are.

@Nightmare vElK.cA - I'm having the same issue trying to set it up today post-Contact update. Rotor's going to 30 RPM no matter what I set it to....
Pretty Little Psycho Oct 27, 2024 @ 8:21am 
Niche issue, but the script doesn't recognise the drills if using the ToolCore replacer for vanilla drills, not sure how to fix this, or if it can be fixed?
Nightmare Oct 21, 2024 @ 10:27am 
How exactly do you change the rotor speed? I tried changing the Rotor Rotation Speed at 10m: and it doesn't recognize it, i've tried changing the other values on that line and it doesn't appear to change the speed.
gloriousthe1 Oct 19, 2024 @ 4:09pm 
script wont find the rotor or the square pistons?
Markiieee Oct 19, 2024 @ 1:20pm 
Can someone explain the values for high and low cargo limits? trying to limit how much stone is coming in so it doesn't clog up a very new base on a new save. default is 0.9f for high and 0.5f for low, i have no idea what these numbers are referring to, my friend and I were hoping we could set it to run until we have 300k stone and restart again when it drops below 200k. any help would be awesome thanks
Cryphon Sep 30, 2024 @ 1:15pm 
I would like to thank the author of the mod for the inspiration!
Your script formed the basis of my creation: poke
Alexis The Calico Yokai Aug 29, 2024 @ 9:34am 
I had set the low limit for the Cargo variable to 0.05F and it's not changing.
Alexis The Calico Yokai Aug 28, 2024 @ 11:26am 
Would the script work with RB Piston pack?
MightyN0ob Jul 31, 2024 @ 8:48pm 
Trying to get more than one of these set up on the same grid, and it just refuses to work.

I got to Custom Data, and change /Mine 01/ to /Mine 02/ and it just changes itself back, and breaks my original /Mine 01/ setup.
Meya Jul 6, 2024 @ 6:52am 
If you paste this in creative the pistons are already extended just be warned about that :P
FickleFox Jun 23, 2024 @ 4:49pm 
NEVERMIND! For anyone else who might encounter this problem, be sure to use an ADVANCED ROTOR.
FickleFox Jun 23, 2024 @ 4:25pm 
Getting a "Rotor: Not Found!" in setup even though everything is setup and connected. Could this be a patch issue? It was working before...
Xahni13 Jun 15, 2024 @ 7:25am 
@schlauke, in the video he does a piston extended and names it /mine 01/ver/inv/. make sure it is extended first
Schlauke May 26, 2024 @ 8:35am 
Just found your script today @Kezeslabas and it works really well, thank you for sharing it with the community. In the setup comments it says that inverted for horizontal pistons is not supported yet. Any chance of that still being added to the script functionality? Would be really cool for digging sideways into a mountain or underground.
Grat Dalton May 21, 2024 @ 7:18pm 
Thank you Kezeslabas, amazing drill Script.
If anyone wandering, Yes it still works in 2024
flasham Apr 29, 2024 @ 8:39pm 
It does recognize cargo. You have to put /Mine 01/ or whatever your mine is named in the Cargo name.
iX-9 Apr 29, 2024 @ 5:56am 
This script don't recognize cargo, so it don't pause on full, pls f.i.x....
Krougal Feb 3, 2024 @ 10:43am 
So I've been using this script a while and it works great for the most par, but lately I am having problems where the bottom vertical piston head self-destructs after a while. The thing is always banging as it operates, especially bad with ice. I have tried turning the rotor torque settings down, but it hasn't helped.
dragonsphotoworks Jan 15, 2024 @ 10:43pm 
@sgtperry use //Mine 02/ for the tag on 2nd drill. That might help.
sgtperry Dec 8, 2023 @ 11:37pm 
im having an issue making a second mining platform on same grid as old one i changed the tags to mine 02 to make it simple but the script will only run the first platform even if i change the script to mine 02 on a separate programmable block, am i missing something?
flasham Dec 6, 2023 @ 1:52am 
This is an awesome script. I was not near an ice lake but found an ice deposit about 30 meters down. I put on 5 drills, 7 vertical pistons and 1 horizontal piston. I've got over a MILLION ice, not to mention the other ores that are refined onsite from stone. I was also able to get the remote LCD's to work so I can monitor the mine from my control tower about 3km away! Great job on this!!
Khal Nov 24, 2023 @ 5:21pm 
@Kezeslabas Hi, could you help me with my problem please?
Khal Nov 13, 2023 @ 11:47pm 
@Kezeslabas Hello, I am having some difficulties with the script not starting after applying more vertical pistons. I use a mixture of vanilla and modded ones and they are working together just fine on another mining platform. I have tried recompiling the script, ran set and refresh command several times, reloaded the script and even rebuilt everything including the program block. Alas, it does the initial start alignement and all that with the drills spinning. But it doesn't start spinning. Do you happen to know what could be the issue? The modded pistons are the same that ATF_Coldblooded Carebear || asked about before. Appreciate your help :)
Khal Nov 13, 2023 @ 10:48pm 
@ATF_Coldblooded Carebear || Hi again, have you had any issues with the script not starting after replacing the vertical piston with a longer one?

I have recompiled the script, ran set command several times, reloaded the script and even rebuilt everything including the program block.

Have you had this issue? I have a mixture of mod and vanilla pistons.