Space Engineers

Space Engineers

Not enough ratings
Asteroid Catalogue System
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.468 KB
Feb 10, 2020 @ 3:49am
Mar 12, 2020 @ 2:00am
3 Change Notes ( view )

Subscribe to download
Asteroid Catalogue System

Description
An asteroid cataloguing system for vanilla game. Can use sensor to record asteroids, or camera to remotely record them with raycast. Raycasting disabled by default, enable in script settings.

UPDATE: Added "search" function.

Has two modes and needs up to 4 LCD panels.

Panels:

-Ore Panel: used to record or display ores in an asteroid.
Manually input ores you find on asteroid.
Automatically populated in Station Mode from records.

-Scan Panel: Outputs results of sensor scan or remote scan.
Displays the EntityId of the asteroid, distance (in raycasting mode), volume (from bounding box).
In raycasting mode, also displays whether the asteroid is already catalogued in ship's records.

-Details Panel: Outputs data retrieved from records.
EntityId of the asteroid, coordinates and distance, bounding box volume.
Lists records of ores or other notes about the asteroid you put into the Ore Panel when creating entry.

-IO Panel: used for transferring records between grids and retrieving asteroid coordinates.
Doesn't need to be visible.
Doesn't need to be present when the script is compiled.
Script can output to IO Panel on a different grid it's connected to. Useful for storing data from survey ship to base.


Modes and commands:
Commands are input as arguments to the script.

Ship only commands(default):
run with no arguments - sensor scan - requires Sensor and Scan Panel, outputs data to Scan Panel
save - save data from Scan Panel and Ore Panel to storage, also requires Details Panel for storage.
remote scan - uses Camera to raycast to asteroid and display result on Scan Panel, automatically records result in storage, requires Details Panel for storage.
Ship and station modes:
prev/next scrolls through the stored data and displays it on Details Panel
export - writes data from Details Panel to IO Panel, IO Panel doesn't have to be on same grid
import - stored data from IO Panel in storage.
edit - adds/updates data from Ore Panel to the record selected on Details Panel
delete - removes the record selected on Details Panel from storage
search - lists records containing the exact words you typed after the search command.

Main use cases:

Small survey craft:
Would have a sensor and/or camera for scanning. Ore detector recommended.
Scan Panel to display scan results, Ore Panel to input/record ores you find there, Details Panel to store the data when finished. Use commands prev/next, default/save (for Sensor scan), remote scan/edit (for Camera scan), export (when docked with grid that has an IO Panel).

Long term survey craft:
Sensor/camera, panels as above, heavier use of edit command to update records.

Base/station:
Ore Panel, Details Panel, and IO Panel, no sensor or camera. In Station Mode scanning is disabled, and using prev/next to browse records also updates Ore Panel from memory for easier editing. Use the import command to store data from the IO Panel into storage. The export command also outputs the GPS data for the selected record for ease of navigation.


Don't hesitate to ask for alterations if you need something specific that the script doesn't quite do.

UPDATE:
Script now works with my new Deep Scanner mod, allowing you to automatically add the ore composition of an asteroid to the database.
https://steamcommunity.com/sharedfiles/filedetails/?id=2020088518
Popular Discussions View All (1)
4
Dec 21, 2021 @ 3:56pm
Suggestions/Requests
GruntBlender
21 Comments
rottielover Dec 21, 2021 @ 8:01am 
Getting a nullref are you maintaining this one anymore?
rottielover May 21, 2020 @ 8:11am 
I'm not getting the exception error with the raycast, but when I try it I can see a flash of text on the LCD panel but then it goes back instantly, I tried with auto run setting true and false
Lord_Ducksworth Mar 30, 2020 @ 2:15pm 
When I enable raycast, the script throws exception error. verified the camera name is correct and tried with different names and cameras. Neat idea. hope to get it working.
GruntBlender  [author] Mar 12, 2020 @ 2:16am 
Finally got around to finishing that scanner mod. https://steamcommunity.com/sharedfiles/filedetails/?id=2020088518
It gives you the composition of an asteroid and is compatible with this script.
Bi0HazardXIII Feb 25, 2020 @ 10:25am 
I think there is a sensor mod that does the scanning portion, but it is not widely used in multiplayer
GruntBlender  [author] Feb 24, 2020 @ 6:01pm 
It's theoretically possible, but with how awkward the interface is (being limited to LCD panels and buttons, or argument line in the PB) it's not a huge step up from using an external database program and copy-pasting data between that and the game. I'll look into adding an extra panel for filtered and sorted output, but at the moment I'm working on a mod to scan an asteroid for all ores automatically. No idea if I'll succeed, but here's hoping.
Bi0HazardXIII Feb 24, 2020 @ 8:32am 
Hmmm is there a way to add a tag? And then it just puts those tags in a certain order? Like a tag for resource type, distance from home station, user/faction tag (assuming that multiple factions are working together) and then maybe a date when it was made? Then just run a filter to sort the data on the text panel? I have no idea if any of this is possible, nor do I expect it.
GruntBlender  [author] Feb 23, 2020 @ 5:06pm 
Yeah, a proper database system for them would require a mod, since mods have access to much more in-game data than scripts. I reckon a mod could figure out the actual mass and composition of an asteroid and have much better UI. There's only so much I can do with a script, and with this one scrolling through the entries one at a time, even 800 is too much to scroll through.
Bi0HazardXIII Feb 23, 2020 @ 5:00pm 
There are alot of asteroids out there haha
GruntBlender  [author] Feb 21, 2020 @ 11:04pm 
Right, so currently the script stores data in the CustomData field of the LCD panel. That has a character limit of 64,000, or about 800 entries. Honestly, I wasn't expecting people to catalogue that many asteroids