Space Engineers

Space Engineers

Automatic Mining Platform by Kezeslabas
513 Comments
DRB333S 27 Aug @ 10:38am 
failed to load on server
Dr.Theo 12 Aug @ 12:42pm 
how to get advanced settings onb lcd
al_mondo 5 Aug @ 1:57pm 
can this work without rotor?
HippieJesus 28 Jul @ 5:38pm 
when i try to compile script, i get "main method not found. Please add Main Method into script"
deathwallker3 22 Jul @ 8:04am 
Thank you for such a quick response :)
Kezeslabas  [author] 21 Jul @ 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 20 Jul @ 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 19 Jul @ 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 26 Jun @ 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 25 Jun @ 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 28 May @ 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 29 Apr @ 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 18 Mar @ 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 17 Feb @ 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 13 Feb @ 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 6 Feb @ 7:30am 
* Unable to get the drills to pass the stone/ore to the containers.
Pop_of_Two 6 Feb @ 7:29am 
I am unable to the drills to pass to any of the cargo containers that are connected.
FunkWolfie 3 Feb @ 5:12pm 
hey so my container is pass the low % but whenever I hit start it still keep auto pausing
Psychomaniak666 13 Dec, 2024 @ 6:35am 
Now thats how engineers mine :)
wootabix 13 Dec, 2024 @ 4:02am 
Will you be updating the script for prototech drills seeing as they drill faster?
Frission 7 Nov, 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 29 Oct, 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 27 Oct, 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 21 Oct, 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 19 Oct, 2024 @ 4:09pm 
script wont find the rotor or the square pistons?
Markiieee 19 Oct, 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 30 Sep, 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 29 Aug, 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 28 Aug, 2024 @ 11:26am 
Would the script work with RB Piston pack?
MightyN0ob 31 Jul, 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 6 Jul, 2024 @ 6:52am 
If you paste this in creative the pistons are already extended just be warned about that :P
FickleFox 23 Jun, 2024 @ 4:49pm 
NEVERMIND! For anyone else who might encounter this problem, be sure to use an ADVANCED ROTOR.
FickleFox 23 Jun, 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 15 Jun, 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 26 May, 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 21 May, 2024 @ 7:18pm 
Thank you Kezeslabas, amazing drill Script.
If anyone wandering, Yes it still works in 2024
flasham 29 Apr, 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 29 Apr, 2024 @ 5:56am 
This script don't recognize cargo, so it don't pause on full, pls f.i.x....
Krougal 3 Feb, 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 15 Jan, 2024 @ 10:43pm 
@sgtperry use //Mine 02/ for the tag on 2nd drill. That might help.
sgtperry 8 Dec, 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 6 Dec, 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 24 Nov, 2023 @ 5:21pm 
@Kezeslabas Hi, could you help me with my problem please?
Khal 13 Nov, 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 13 Nov, 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.
Khal 12 Nov, 2023 @ 2:38pm 
Figured you did but just in case :P
Ah I see, it's all good.
ATF_Coldblooded Carebear || 12 Nov, 2023 @ 2:18pm 
I know …I have that mod too x
as for stone I was mostly referring to ship with tiered drill mod on, those required something for stone removal. Not the platform since they can use normal basic refineries or the deuterium refinery.
Khal 12 Nov, 2023 @ 2:10pm 
@ATF_Coldblooded Carebear || That is quite alright buddy :) I need the stone for the Deuterium Fusion Reactors mod :P It is a bit cheesy but I want all my Uranium for weapons :D
However it is not cheap to build lol
ATF_Coldblooded Carebear || 12 Nov, 2023 @ 2:04pm 
Oh! But seeing that your usin the deeper ore mod might bring “issue” not overly problematic per se but à issue with the time to the drill the good stuff will be slowed down to a bored fest if used the horizontal piston. Because the sheer size of the hole it will be a very long time before you dig to it…

This is just mu opinion on this ..so the end decisions is your to take

I would use this mod with vanilla ore spawning and use a drilling ship or simple unscripted mining platform, both using tiered ship tool from nukeguard for the deeper ore mod (modded drill would flow well with a mod that eliminates stone and the tier 1-5 thruster mod because those ship will become from relatively heavy to very heavy pending on your cargo size.
Khal 12 Nov, 2023 @ 2:02pm 
@ATF_Coldblooded Carebear || Thanks for replying so fast :)
Well that is just beautiful :D because I don't think it would have worked with vanilla pistons to dig down 400m where the Gold and Silver are haha. Ah yeah, but I don't like giant holes everywhere in my world. So I try to make the holes as small as I can, and hopefully find spots where there are bunch of resources clumped together. Make a proper mining operation out of it with just one hole up to the surface where drones can carry everything home :)

Yeah I spent some time searching for an answer to the question you had asked about the pistons and saw that modded drills are a no go :) but thank you for the warning.

Ah cool. Do those pipes look like vanilla pipes?
I use EDP - More Logistics Options mod that does the same for containers :) they have corresponding costs, the biggest one is juicy :P 7x11x3 container (6 conveyor ports)