Space Engineers

Space Engineers

Lagless Drills (OBSOLETE)
DanP  [developer] 1 May, 2015 @ 6:06pm
Custom Drills
I know everyone wants to use this mod with their custom drills, and that's something I definitely want to support. My original ideas to include them have not worked out, and though I will keep trying, I have come up with a (hopefully) temporary alternative:

Custom drill authors will need to:
* Set their drill's range and offset to 0
* Include their desired range and offset in the drill's subtype name

This is far from ideal, as it prevents the drill from working if Lagless Drills is not installed. Unfortunately, I have not found a way to read from or write to a drill's range from within the code, and until I do, this is the only way custom drills can work with the mod.

Bear in mind that none of this is currently included in the mod, but I plan to add it very soon. I would love to hear ideas, if anyone has any to offer. If you happen to know how to read and write a drill's offset and range from within a script mod, please let me know.

I will release more information when I have something working.
< >
Showing 1-6 of 6 comments
Alreadyded 3 May, 2015 @ 10:59am 
Any idea on how long till you get this update out?
DanP  [developer] 3 May, 2015 @ 4:25pm 
I'll shoot for Monday or Tuesday. I'm taking a break from anything non-critical this weekend so I can enjoy the game for a bit. :-)
Alreadyded 4 May, 2015 @ 8:38am 
Ok cool, i got permission to update the earthbreaker drill with this. I will put a link here if you dont mind. Once the update comes out of course.
DanP  [developer] 4 May, 2015 @ 5:21pm 
Alright, I am testing out my first implementation of this. If it works, I will post it tonight, along with very simple specifications.
DanP  [developer] 4 May, 2015 @ 6:15pm 
I have it successfully reading and using a range and offset notation in the SubtypeId field, but the ore is not being spawned in a way that works well for larger drills. Namely, very large drills explode when used with this mod. I will have another look at it tomorrow to see if I can work that out.

Exploding drills aside, you can use it by formatting the custom drill's SubtypeId accordingly:
MyAwesomeCustomDrill[LD_R20O2.5]

This tells the mod that you want a target drilling area that is:
A cube with 20 meter sides, set 2.5 meters in front of the drill

Then, set the original SensorRadius and SensorOffset properties to 0 so the game will not do double work.


Keep in mind that to cover an equivalent area, a cube side needs to be about double a sphere's radius. So if the drill has an original radius of 12, you will want to set this somewhere in the neighborhood of 24, according to your liking.

I have posted what I have so far in the following test mod:
http://ad.gamersky.info/@steamcommunity.com/sharedfiles/filedetails/?id=433959431

The mod linked to above is only for testing and will probably break repeatedly, unleash the four horsemen, etc. Use at your own risk.
Last edited by DanP; 4 May, 2015 @ 6:22pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50