Space Engineers

Space Engineers

29 ratings
Range Finder
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
16.742 KB
11 Oct, 2018 @ 8:41pm
25 Jul, 2020 @ 12:34pm
3 Change Notes ( view )

Subscribe to download
Range Finder

In 1 collection by Bullet Force
War Bundle
4 items
Description
A simple and very easy to use range finder script that will give details such as distance, speed, size and the GPS location on ships and grids from a distance.

Features:
- The script has two modes 'scan' and 'auto scan'. The first will only scan when you push a button, the second will constantly scan.
- Supports regular LCDs and LCD's found in other blocks such as cockpits.
- Uses a template system for ease of use.

Current Version: 2

User Guide:
1. Load the program into the Program Block by clicking Edit and then click Browse Scripts and search for it.
2. Open up the 'Custom Data' property of the Program Block.
3. Fill in the missing data for each field.
3.1 <<SCREENS>> holds the names of any valid LCD screens or Display surfaces such as those in the cockpit.
3.1.1 To use a display that is not an LCD but part of another block such as in a cockpit use the formula:
"CockpitName::ScreenNumber"
Example: "Cockpit Main::2
This will look for a block called Cockpit and try and find the second screen (The screens go from left to right).
3.1.2 To use an LCD just enter the name of the block without "::"
3.1.3 To enter multiple screens seperate them with "<+>"

3.2 <<SHOW ALL TARGET DATA>> - Whether to show detailed target info. Values = true/false.

3.3 <<MAX SCAN RANGE>> - The max range the cameras should attempt to scan in metres.
3.3.1 On servers should be the max of your server's sync range.
3.3.2 10000 is a good range.

4. Type in "load" into the Arguments box and push the Run button.
5. Type in "scan" or "auto scan" into the argument field to begin scanning.
5.1 Scan does one scan then stops. Useful if triggered via a toolbar number.
5.2 Auto scan constantly scans until told to stop.

Valid Input Commands:
scan - scans once
auto scan - starts an automatic scan
stop - stops the program from running
template - generates a fresh template
load - loads from the existing template
33 Comments
Django_Montana 10 Mar @ 4:08pm 
Don't work. It can't find lcd or camera 🙃
Taterbits 20 May, 2023 @ 11:53am 
How do I tell the script which camera or camera group to use? I end up seing my own ship since I have internal cameras to look at LCDs.
sushen 28 Jun, 2022 @ 5:38pm 
Can't use the screen of the programmable block for output ?
Deadmeat 11 Feb, 2021 @ 7:57pm 
Thank you
Bullet Force  [author] 5 Feb, 2021 @ 4:04pm 
<<SCREENS>>test<</SCREENS>>

Try that.
Deadmeat 5 Feb, 2021 @ 8:45am 
Noob question : my lcd name is test and my config is as follows :

<<TEMPLATE>>
<<SCREENS>><<test>>
<<SHOW ALL TARGET DATA>><</SHOW ALL TARGET DATA>>
<<MAX SCAN RANGE>><</MAX SCAN RANGE>>
<</TEMPLATE>>

but it tells me "No screen found" I have also tried <<SCREENS>><</test>>
is there a working example of the template somewhere that I can look at , or can someone let me know what I did wrong.
Nikki 28 Jan, 2021 @ 5:05am 
Hey. Does this script work with cameras mounted on rotors? Seem to be having a issue where a camera on the hull works, but the one on a rotor designator dosnt. Could it be that this script only uses one camera? Good script overall tho!
Bullet Force  [author] 12 Nov, 2020 @ 2:06am 
Ok. I will take a look when I can.
JustUninstalMan 9 Nov, 2020 @ 11:04pm 
Bullet force yeah i should have screenshot it. it was twice the amount when i tried to scan. I even let it get well above and i will run the scan like the guide says and it still says can't scan yet.
Bullet Force  [author] 9 Nov, 2020 @ 3:28am 
When it says that it means the cameras are still charging up. Basically the cameras have a sort of hidden ammo counter thing and everytime you can do a scan it uses it up. The longer the range you set it to the longer it takes to refill/reload it.

Wait till it says 10000/10000 then it should work. If it still not working let me know.