Space Engineers

Space Engineers

247 ratings
Graphical 3D Radar Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.097 KB
Mar 9, 2016 @ 4:59pm
Nov 25, 2016 @ 3:34am
4 Change Notes ( view )

Subscribe to download
Graphical 3D Radar Script

Description
This is a script for programming blocks. It will not show up in your mod list, it will only show up in your scripts list when you edit programming blocks.

This script plots any targets that your sensors detect, so you need to use your creativity to figure out a good sensor system to detect targets at a distance, and you probably will want to use modded sensors with increased range for this to be effective. Rotors are not necessary. For example, you could tag targets manually with a front sensor, or just expand the sensor field in all directions, or put one sensor on every side of your ship. But all solutions has their advantages and drawbacks. The sensor block can only detect one target at a time in its field.

Example ship: http://steamcommunity.com/sharedfiles/filedetails/?id=641929039

Features:
- 3D scanning: Ability to detect and display targets above and below your grid
- Realtime updating of detected target positions relative to your grid orientation
- Plotting of friendly and enemy grids in different colors
- Support for modded sensors with increased range
- Adjustable colors
- Adjustable lcd screen resolution, 40x40 - 160x160
- Adjustable script refresh rate
- Status screen with formatted GPS coordinates
- Homemade number font
- Support for multiple sensors
- Argument support for switching between display ranges:
-- "range [range in meters]", Examples: "range 50", "range 200", "range 1000"


Instructions:
- Place a power source, a Timer, a Programmable Block, and a Text Panel / LCD
- Set up one or several sensors to be able to detect targets as efficiently as possible
- Add "RADAR" to the sensor name / names (you can have more than one)
- Add "RADAR DISPLAY" to the Text panel / LCD name (you can have more than one)
- Edit the programmable block, "Browse workshop" and find this script in the list, press "ok"
- Change the forwardBlockName so it has the exact name of any block on your grid that is pointing forward
- Press "Remember & Exit"
- Setup "Actions" in the Timer Block like this:
-> add the Programmable Block
-> add the Timer Block itself and set it to "Trigger Now"
- Trigger the Timer Block with "Trigger Now"


Instructions for extra GPS Stats Display
- Follow previous instructions
- Add another LCD / Text panel, add "RADAR STATS" to its name (you can have more than one)
- Open the script for editing, but just press "Remember & Exit" to recompile it
- Trigger the Timer

Update 1.1
- Fixed issue with targets showing up in the wrong direction on some grids

Update 1.2
- Compatibility

Update 1.3
- Compatibility with new API introduced in 1.162
220 Comments
anzellott Oct 13, 2024 @ 5:46pm 
This 3d radar is cool asf I wish there was a modernized version :steamsad:
Rusted Droid Feb 13, 2021 @ 6:59pm 
@Gun2275 That script is from 25 Nov, 2016 (4 years old)
I am surprised it did not crash the game
Gun2275 Feb 13, 2021 @ 5:34pm 
is it just me or is this script too dated to work right, bc when it does starts the display is unreadable, but most of the time the code just brakes down and quits
ninjakitty7 Dec 28, 2020 @ 7:42pm 
For some reason, exiting the cockpit and deleting one of the targets totally freezes the radar script and the only way to restart it is to go into the programming block, edit, save, and re trigger the timer block. This was pretty annoying for me while I was trying to get this thing working well. The system as a whole also seems pretty slow at acquiring targets sometimes but this behavior is hard to reproduce. I'm using the advanced sensor mod which is just a normal sensor with a 1500m max range.
Bear Dec 16, 2020 @ 8:05am 
Shit script doesn't work.
Nick The Duck King Sep 2, 2020 @ 3:58pm 
how to make this thing work
Meganton Jun 30, 2019 @ 2:29am 
am i the only one having trouble with the radar after the new update? i need help. it gives me a lot of errors when i try to compile the script
S.S.Mogeko Dec 25, 2018 @ 1:50pm 
Can you by perchance update this mod? and if so, can you make it so the rotors are not needed?
gindrack Sep 17, 2018 @ 4:11pm 
for me all worke but no dot on the lcd????
SavageShark Aug 20, 2018 @ 8:25pm 
I got it going, but hte screen keeps flashing back and forth between teh radar and the ONLINE screen of the LCD