Space Engineers

Space Engineers

Not enough ratings
Mobile Drilling Rig V3.1
   
Award
Favorite
Favorited
Unfavorite
Type: Blueprint
File Size
Posted
1.274 MB
29 Jun, 2019 @ 4:01pm
1 Change Note ( view )

Subscribe to download
Mobile Drilling Rig V3.1

Description
*OBS*
If the rig isn't working and/or PB doesn't have any code, here is the script for it:
https://steamproxy.net/sharedfiles/filedetails/?id=1786425539

I'll be updating that script with fixes, not the entire blueprint (unless i make physical changes)
*OBS*


Attachment for a youtube video:
https://www.youtube.com/watch?v=aaMFO2JZ0TY

Prototype/Beta mobile mining rig with expanding drillhead.
Must have scripts enable in world.

Usage:
Park over an ore deposit and turn on brakes (1)
Press 3 to start mining.
Press 4 to stop mining.


The rig will drill down to the ore seam, place the expanding part in the middle of the ore seam and then expand.

Will fille 2 large cargo containers in 3-4 mining cycles.

Code leaves a lot of features to be desired, will be updated later.
40 Comments
Tekk  [author] 17 Sep, 2023 @ 3:07am 
cheers :)
And yes it does, I wanted it to be able to use more connectors as i put them on, without having to change the script again and again.

If you wanna do the same with them, you can use the code i just gave you, and replace "Drills" with "Connectors" :)
Snowdrift Hunter 16 Sep, 2023 @ 8:37pm 
Thanks again! lol. It does, making it possible to use it on a mobile base.

I'm guessing the script even controls the connectors that throw out stone?
Tekk  [author] 16 Sep, 2023 @ 4:12am 
No problem, little additions like these only make it better :)

Slightly below the line changed before, is a line with:


GridTerminalSystem.GetBlocksOfType<IMyShipDrill>(Drills);

Add ~8 empty lines under that, and fill them with:


for (int i = 0; i < Drills.Count; i++)
{
if (Drills[i].CustomData.Contains("NoScript"))
{
Drills.RemoveAt(i);
i--;
}
}

That should exclude all drills that contain "NoScript" in their Custom Data.

Again, the "NoScript" is arbitrary, you can change it to whatever you want as long as it's the same in both the script, and custom data.
Snowdrift Hunter 15 Sep, 2023 @ 12:16am 
Sorry if I am asking so much. But would there be a way to do the same thing with the drills?
Snowdrift Hunter 2 Sep, 2023 @ 12:03am 
Thanks, its been a royal pain to work on.

It worked, thanks!
Tekk  [author] 1 Sep, 2023 @ 9:20am 
That looks correct!
Beastly build btw, nice :)
Tekk  [author] 1 Sep, 2023 @ 9:19am 
... Seems steam formatting is removing part of it
Let's see if this works:

if (!Pistons[i].IsSameConstructAs(Me) || Pistons[i].CustomData.Contains("NoTower"))
Snowdrift Hunter 31 Aug, 2023 @ 7:59pm 
This is what I am building with your drill and script at the heart of it. It has a few other pistons to control a solar system and elevators plus a set of pistons that are used to locked it down for drilling.
https://steamproxy.net/sharedfiles/filedetails/?id=3028913838

I am using your "replacement" script. It shows the code at line 308 rather then 311, I've replaced it. Hoping correctly.
https://steamproxy.net/sharedfiles/filedetails/?id=3028913830

But this is what I get when I go to check the code.
https://steamproxy.net/sharedfiles/filedetails/?id=3028913815
Tekk  [author] 30 Aug, 2023 @ 9:29am 
Right, so, on top of the changes i mentioned, one line of codes need to be changed.
Near the bottom, on line 311 is:

if (!Pistons .IsSameConstructAs(Me))

This needs to be changed to:

if (!Pistons .IsSameConstructAs(Me) || Pistons .CustomData.Contains("NoTower"))

This will make the script ignore any piston that has NoTower in the Custom Data.
You can change the text to whatever you want, just keep in mind that it is Case Sensitive :)
Snowdrift Hunter 27 Aug, 2023 @ 7:39pm 
That's awesome, thank you! Definitely don't need it immediately, so please take your time with it.