Space Engineers

Space Engineers

CAT Basic Raycast Range Finder
Showing 1-10 of 12 entries
< 1  2 >
Update: 17 Jan, 2020 @ 9:37pm

updated for new Surface system of Display handeling

Update: 26 Jul, 2019 @ 9:57pm

Update: 11 May, 2018 @ 8:27pm

Update: 25 Jan, 2017 @ 2:41pm

Update: 25 Jan, 2017 @ 1:05pm

Update: 25 Jan, 2017 @ 9:34am

Revision Added Perimeters:
Added new perimeters. With the exception of "gb_DisableRecall" These can be set in the script itself or changed by string messages into the programmable block. (see notes on how "gb_DisableRecall" effects script default settings)
bool gb_DistParse = true; // parse meters to KM and truncate decimals to the 2 most significant figures
bool gb_ShowID = true; // show Detected entity IDs
bool gb_ShowGPS = true; // show Detected entity GPS
bool gb_ShowHistory = true; // show history if nothing detected
bool gb_DisableRecall = true // disables the reading of storage to recover adjusted settings

Revision Added Commands:
* "CEAR_HIS" :: Clears the history
* "PARSE_DIST:ON" & "PARSE_DIST:OFF" :: Enables or disables the parsing of distances to m/km format (default is meters without 'm' indicator)
* "SHOW_ID:ON" & "SHOW_ID:OFF" :: Enables or disables the showing of detected entity ID
* "SHOW_GPS:ON" & "SHOW_GPS:OFF" :: Enables or disables the showing of GPS of detected entity
* "SHOW_HIS:ON" & "SHOW_HIS:OFF" :: Enables or disables the showing of History

Revision Notes:
* Some duplicate code was split into a function.
* I took a lot of the message parsing out of the main method and put it into its own method.
* I added a recovery feature where it will remember it's settings on the PB it is installed onto so if you change the settings with commands and then reset the script it should remember your changed settings.
* IMPORTANT:
>> if "gb_DisableRecall" is true the script recovery feature will not read storage on reset, but it will still write to storage. This means whatever the default values in the script are set to will be written into storage replacing old saved settings. This makes it possible to change settings by editing the script.
>> If "gb_DisableRecall" is false, on script reset or world load the script recovery feature will read the PBs storage value and parse it to recover it's settings. This will replace the default settings of the script and only string messages into the PB will cause the stored values to be updated. Once the script has been run once in this way, editing the default values will not have an effect on that Pbs function.
>> The effected settings are "gi_Range", "gb_DistParse", "gb_ShowID", "gb_ShowGPS", "gb_ShowHistory", "gb_Turn_On_Cam" and "gb_Scan_Without_Cmd". All others are unaffected by the recovery feature

Update: 25 Jan, 2017 @ 8:20am

Update: 25 Jan, 2017 @ 4:46am

Update: 16 Jan, 2017 @ 5:25pm

Update: 23 Dec, 2016 @ 7:05am

Corrected an issue where low camera charge would result in history not being printed
Corrected an issue where low charge while raycast is disabled would result in the script never enabling raycast and thus forever remaining at low charge