Space Engineers

Space Engineers

-= Drill=HERE! =-
17 Comments
TechCoder  [author] 23 Mar @ 5:30am 
DRILL HERE certainly requires gravity (as said before and description states.... "you must be in a gravity well of a planet for this to work - sorry.... no 'space' or 'asteroids' allowed.... - talk to Keen!")

You _could_ trick (or HACK if you prefer) to get asteroid GPS by
1. place a ship close enough to the asteroid to detect the ore
2. Use Antenna relay system in SE to see the ore from the planet
3. Use DRILL HERE to point to that ore (the GPS will likely be pretty far off, and of course the other data from the script will be garbage, but it would 'work' - somewhat...)

If you really just want to 'CHEAT' and get the ore coordinates then I recommend https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2790047923
jokerace45 15 Mar @ 11:11am 
So this script is only usable on a planet then?
DarkSideRC 14 Mar @ 10:33pm 
@TecCoder, my first need is to use "Nanobot GPS Drilling Script" on asteroids. To do this I need Ore GPS position, and "Drill There" is perfect for that....
TechCoder  [author] 13 Mar @ 4:57am 
Asteroids have no gravity and therefore don't produce data that can be used via the API (talk to Keen....) to do all the calculations (and make the script be what it is advertised to be - giving the user an exact location to drill from, etc....)

It sounds like you 'edited' my script to make it a fancy Ore Detector - which would have been much simpler (and I would have been happy to direct you) to use the original Ore Detection script.) So, NO, I will not 'break' my script to do something that is already out there!
DarkSideRC 13 Mar @ 3:48am 
Hi @TechCoder . I try your mod. Very usefull. But i want to use it on asteroid and just have a warning message saying i'm not on a planet. Can you adapt your script to just compute the Ore coords in this case ? (I edited your script to solve this for my own purpose).
Mortus Eclipse 14 Aug, 2024 @ 3:26pm 
Working great now, will be very useful for getting drones on target to mine deep ore deposits.
TechCoder  [author] 10 Aug, 2024 @ 9:06am 
Again, this script has "nothing" to do with ore mods (which, believe me, I have tried, used and gotten very frustrated with Keen about not being able to use them through the API!!!)

If you can "see" the ore on the HUD (typically the yellow marking from any sort of Ore Detector), then you can point at it with your ship, use this script and get your Drill=>HERE! markings (even if the ore mod gives you something 800,000 km away.... - probably not very perfectly accurate at that range - and wouldn't work at all because you aren't on that planet, etc...., but certainly the script doesn't care) - the point being that Ore Detectors have nothing to do with the script, directly....
Mortus Eclipse 10 Aug, 2024 @ 9:00am 
Will Give it a try. Thanks.
Mortus Eclipse 10 Aug, 2024 @ 8:59am 
Oh, and I know you said Modded Ore Detectors should not be a problem, but I forgot to mention that I am using the Ore Detector++ Mod and have the small detector set to max range, 600 meters. I use the Deeper Ores mod in my game. Not sure if any of that ends up being relevant.
TechCoder  [author] 10 Aug, 2024 @ 8:44am 
Another user on Discord (which I MUCH prefer to use and is MUCH simpler for you to include screenshots I think...) and I found another issue on the ORBIT function.

Just uploaded vTC1.1.2 and that user verified it works for them, so please grab the new version and let me know.
TechCoder  [author] 10 Aug, 2024 @ 4:40am 
@Mortus Eclipse Not sure what happened (obviously my problem - somehow...) looks like the latest version didn't update on Steam - please download the latest and let me know if you still have issues.

LATEST VERSION is vTC1.1.1
TechCoder  [author] 10 Aug, 2024 @ 3:44am 
Yeah, another 'helpful-ish' error message (why do they have to be so freakin' cryptic??) and a 'best wild guess' is that it has something to do with the argument you entered.

But my crystal ball didn't get back from the repair shop and you gotta tell me WHAT you were doing and WHEN it happened (you did say "when I try to run it" - I presumed you meant as it starts, though it looks like you went to 'Run' something)

I really need to know what you are doing to cause the error (as I don't see it when I do stuff, I need your 'eyes, ears and fingers' to tell me what all happened, step by step...)

Until I can duplicate the error, I can't fix it.

As for 'specifics' - do exactly what I did in the video and you will get the same results. Anything you do differently, I need to know about so I can do what you did!
Mortus Eclipse 9 Aug, 2024 @ 8:40pm 
The error is:
Caught exception during execution for script:Index was outside the bounds of the array.
at Program.Process (System.String arg) 0x000f4 in <23688ccd3fe64943b23b4de016ec3eeb>:0

at Program.Main (System.String arg.Sandbox.ModAPI.Ingame.UpdateType updateSource) 0x000a0 in <23688ccd3fe64943b23b4de016ec3eeb>:0

Any thoughts? Thanks.
Mortus Eclipse 9 Aug, 2024 @ 4:37pm 
Will grab the error message when I fire up my game next. In the mean time I was trying to see if there was any specifics on using the script I may have missed.
TechCoder  [author] 9 Aug, 2024 @ 3:19pm 
"seems to crash" - without SOME sort of information you see, there's nothing I can help with ("I get a script error" - WHAT ERROR??????)

"the Ore Detector"...... - where in the instructions (or in the video) is "Ore Detector" referenced/important? Of course, an Ore Detector is needed to see the ore, but it does not have to be part of the 'explorer' ship.

"resource mods" - sure, as stated "if you can see the ore..."
"modded ore detectors" - see above......
Mortus Eclipse 9 Aug, 2024 @ 1:23pm 
I am having trouble running the script. When I try to run it, it seems to crash and I get a script error. Does the Ore Detector need to be in a specific orientation, either cockpit or remote control set to main? Have everything else seeming set up as above. Does this actually work with resource mods and/or modded or detectors?