Space Engineers

Space Engineers

Astronomicon
78 Comments
Mortus Eclipse 14 Apr @ 6:06pm 
Is there anything specific I need to do to get the LCD on a subgrid to work? I have a camera on a ball turret mount that acts as my Ore/Asteroid Scanner using the Radio Spectrography Mod and Target Designator for S.C.A.M. based drones. Looking through the current turret camera I have two transparent LCDs to each side to allow viewing Spectrograph data, and ideally the Astonomicon Display as well but it just remains blank. If I locate the script on the turret it does not see the control seat, but the display seems to work.
KuroShiro 22 Oct, 2024 @ 9:36pm 
where is the data stored? So I can transfer the database between grids (my scout and my miner)
Cruel Sun  [author] 21 May, 2024 @ 8:08am 
Bearcat. All the coords sends thought the ClipBoard. Yes, ? shows all the objects.
SilvaUrsa 20 May, 2024 @ 1:22pm 
Loving this script so far!
Stumbled on a feature I'm not sure was covered, but when you search your asteroids, opening the Text field of the LCD automatically copies it to your gps. So just search "?" for all asteroids and they'll all populate your GPS coords.
Cruel Sun  [author] 26 Mar, 2023 @ 2:25am 
COSTAS Milo. There is no way to get this information using the camera :steamsad:
COSTAS Milo 25 Mar, 2023 @ 9:18pm 
Thanks for this script.
Would it be possible to display the ore it contains? sorry i'm asking too much ;)
Hm how ore detector works....Hmmm ?
Why human on Earth ? how do we make babies ?
Nice day
Rofl 2 Feb, 2022 @ 7:50am 
Thank you for the reply. I see now how to use the clipboard and +GPS. Hopefully one day keen peels back enough layers to make that process into a single action!
Cruel Sun  [author] 1 Feb, 2022 @ 7:59am 
Rofl, there is no way to send coords automatically. Only clipboard method.
+GPS will add any user's point to base (manually). It's showed on a video.
Rofl 31 Jan, 2022 @ 4:05pm 
Is there a way to automatically push the info gained by the scan into an in game GPS? Also, what exactly does the +GPS command do? Maybe i am not understanding it...
Cruel Sun  [author] 3 Jan, 2022 @ 12:58am 
I don't know how to do this. The script works well on the server, so I don't even know what it will be needed for.
Varaxian 2 Jan, 2022 @ 10:57am 
Any chance this can become a server mod?
Cruel Sun  [author] 20 Dec, 2021 @ 7:08am 
Thanks, I'll check it up.
Starkye 20 Dec, 2021 @ 7:01am 
Hey cruel sun, I just noticed what's the problem. It seems that the updating via radio doesn't send the whole information and is leaving out the notes that I left in the asteroids. When I use find in the base I can see that I do have the same amount of asteroids but the notes are missing, but when I do it on my exploring ship the notes are there.
Starkye 19 Dec, 2021 @ 5:57am 
I did, I also used the find command with no arguments but the asteroids are still there just the notes dissapeared. Then I tried remapping but apparently the base's PB didn't want to sync with my ship's PB anymore so idk what happened. Gonna start a new save just in case its corrupted or something because it never happened to me before either.
Cruel Sun  [author] 18 Dec, 2021 @ 11:15am 
At any time, you can check all the data in the "User Data" text panel. I have been using this code every day for a long time and have never lost any data.
Starkye 18 Dec, 2021 @ 9:49am 
Is it normal for the notes i place in asteroids to disappear? I had mapped a great region around my base and noted which ores had each asteroid but now when I check only 4-5 of them actually still have the notes???
Starkye 7 Sep, 2021 @ 4:42pm 
yeah i was literally close to touching the asteroid thats why I asked, it was a singleplayer game and it didn't recognize any asteroid except for two situations. A) Having like a lot of cameras facing in the same direction (only recogniced it like twice then never again) B) Reducing the distance (Recogniced it once every like 20 scans or so). I remember it didn't happen to me before so that's why im asking
Cruel Sun  [author] 7 Sep, 2021 @ 3:26pm 
Starkye, unfortunately the game doesn't preload all visible objects at once. Some objects "appears" only if you going near. If you play on a server check up the Sinc Distance too.
Starkye 7 Sep, 2021 @ 10:15am 
Hey quick question, does changing the range at which the camera looks for an asteroid any impact in the accuracy? I noticed that I couldn't scan any asteroid in my single-player world until I reduced the distance of the scans from 15 to 10 km. Now it recognizes *some* of the asteroids but still only *sometimes*
Cruel Sun  [author] 5 May, 2021 @ 9:14am 
Korvatus Klok Nope, you will get your grid info.
Korvatus Klok 4 May, 2021 @ 8:58pm 
Question
Not sure if this has been asked but, will this still work it the camera is behind glass and/or transparent LCD panels?
Starkye 11 Apr, 2021 @ 11:06am 
ohhh i get it, thanks. so it was just desync that makes sense
Cruel Sun  [author] 11 Apr, 2021 @ 7:54am 
Hi, I think if you are playing on a dedicated server, sometimes the wordld data is not fully loaded. You can see an asteroid but you can even fly throught it.
Starkye 11 Apr, 2021 @ 7:39am 
and now it works again idk what happened
Starkye 11 Apr, 2021 @ 7:33am 
Also it only seems to notice the 2 asteroids I already scanned, but nothing else
Starkye 11 Apr, 2021 @ 7:29am 
sometimes i also get a "no success", i am 500m from the asteroid tho
Starkye 11 Apr, 2021 @ 7:27am 
When I try to scan I get a "Wait for camera will ready" same as Athos a few comments below but it worked before with two asteroids so i know for a fact the server has raycast on, it just stopped working without explanation. already recompiled and rebuilt everything and idk what to do
Cruel Sun  [author] 14 Mar, 2021 @ 5:59am 
1. Current object is stored in •• Astronomicon Custom Data
2. The resuilt of the search is stored in •• Astronomicon Custom Data too.
KuroShiro 13 Mar, 2021 @ 4:12am 
is there a way to transfer the data on to another grid by just copy pasting something? Where is the data actually stored?
KuroShiro 11 Mar, 2021 @ 2:10am 
ah sad that the game itself has limitations. Automatically setting the distance via blind jump and overriding the gyros to face the destination would've been a very nice function
Cruel Sun  [author] 24 Feb, 2021 @ 2:28am 
KuriKaktus Sorry but the JumpDrive block cat'n do it.
https://github.com/malware-dev/MDK-SE/wiki/Sandbox.ModAPI.Ingame.IMyJumpDrive
KuroShiro 23 Feb, 2021 @ 11:16pm 
can it automatically place the GPS or at least the blind jump distance on jump drives?
Stevros1903 12 Dec, 2020 @ 3:16am 
Hay there dude looks like an amazing Script cant wait to get into world and start trying it. Hopefully solve some of my organisational issues
Cruel Sun  [author] 21 Oct, 2020 @ 1:57pm 
Athos, maybe you play in a server with disabled raycast.
Athos 20 Oct, 2020 @ 10:30pm 
When I try to scan I get a "Wait for camera will ready" on my screen? Any ideas?
Cruel Sun  [author] 11 Oct, 2020 @ 10:57am 
Shadowpheonix 11 Oct, 2020 @ 6:26am 
The ship you used in the Astronomicon 2.0 video looks incredible. Is the blueprint available?
Cruel Sun  [author] 30 Sep, 2020 @ 3:18pm 
Usstan, Hi - From the description - You can choose the LCD by _Astro0 _Astro1 ... _FindAstro2 ...
About the XBox port - You can use my script to made the port. If you know how to do it.
Usstan 30 Sep, 2020 @ 2:48pm 
Also @Gabriella could you submit this script to Mod.Io too so the Xbox community can use it on Dedicated Servers (Currently in Beta).

I've taken a look at the curretly published scripts, mostly scripts from Isy republished, but you shouldn't need an xbox to port it, just copy the code to a file named Script.cs and then zip that source file, zip name can be anything.

Then you would have to create a SE mod (type ingameScript) on mod.io and upload the zip.
Not sure if the type is available during creation or if you have to set it afterwards.
Usstan 30 Sep, 2020 @ 2:42pm 
@Gabriella Hey are you considering adding support for showing output from Astronomicon on cockpit screens? Would be great to be able to add the _Astro screen to one of my cockpit LCD's instead of using a transparent LCD as a "HUD".
Cruel Sun  [author] 28 Sep, 2020 @ 3:49am 
Kreisis, Use the command ? without parameters, just ?
Cruel Sun  [author] 28 Sep, 2020 @ 3:42am 
TwistedGrim,Yes, there are no other methods in the game.
Flacon86 27 Sep, 2020 @ 10:33pm 
Is there a command to show all the stores data?
TwistedGrim 27 Sep, 2020 @ 7:39pm 
Im assuming that the camera requirement means you are using raycasting? I play on a server which has this turned off.
Cruel Sun  [author] 23 Sep, 2020 @ 12:25pm 
Added a new video.
Cruel Sun  [author] 22 Sep, 2020 @ 1:06am 
Updated.
Gordon Shumway, thank you so much for your feedback! Now the code is better.
Gordon Shumway 21 Sep, 2020 @ 2:58pm 
Thanks already for the super fast replies and your awesome work!
My Team already loves this and it makes working on the same set of gps as a group easy.

Already found the Me.CustomName line which is a totally fine for me.

The 176km dont make sense in my case, the object is about 30km away.
Maybe check the calculation, seems to be incorrect.
(atleast i dont know how a distance of ~30km turn to something above 100km, let alone 176km)

I currently use AutoLCDs CustomData function to pull the info from the PB on LCD which makes is usable for us but its easier for everyone (and less scripts to run) if you implement it in yours.

I hope its okay if i post these things here in comments, i'd happily provide feedback anywhere you need as this is something i searched for quite some time and none of the existing scripts where as good as this one :grwheart:
Cruel Sun  [author] 21 Sep, 2020 @ 2:23pm 
Gordon Shumway,
- About the Logo - Line 3 - const string Logo = "Astronomicon"; // You can change this OR remove Line
Me.CustomName = " •• " + Logo;

- 176km is a lenght between your grid and an object

- With the search resuilts - Ok, I add it
Gordon Shumway 21 Sep, 2020 @ 12:27pm 
Is it possible to not rename the PB by the script itself, i'd like to organize the blocks myself and its screws my organization over :D nothing wild but maybe i just overlooked the option.
Gordon Shumway 21 Sep, 2020 @ 12:17pm 
Well that could be it, probably only rendered and not yet loaded properly on the server thus no success.
If i use the find command it gives me the search results in the PB custom data - would it be possible to maybe tag a lcd with
_astro_results or something similar for it to show only found objects?
2nd thing i noticed is that theyre prefixed with a distance
176 Km GPS:Molag 4DA:-5977.98:119829.68:-128437.62: Mg,Ice,
which turns to roughly 24km when added as a gps. What distance is that?