Space Engineers

Space Engineers

247 vurderinger
Graphical 3D Radar Script
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
4.097 KB
9. mar. 2016 kl. 16:59
25. nov. 2016 kl. 3:34
4 ændringsbemærkninger ( vis )

Abonner for at downloade
Graphical 3D Radar Script

Beskrivelse
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://gtm.steamproxy.vip/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 kommentarer
anzellott 13. okt. 2024 kl. 17:46 
This 3d radar is cool asf I wish there was a modernized version :steamsad:
Rusted Droid 13. feb. 2021 kl. 18:59 
@Gun2275 That script is from 25 Nov, 2016 (4 years old)
I am surprised it did not crash the game
Gun2275 13. feb. 2021 kl. 17:34 
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 28. dec. 2020 kl. 19:42 
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 16. dec. 2020 kl. 8:05 
Shit script doesn't work.
Nick The Duck King 2. sep. 2020 kl. 15:58 
how to make this thing work
Meganton 30. juni 2019 kl. 2:29 
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 25. dec. 2018 kl. 13:50 
Can you by perchance update this mod? and if so, can you make it so the rotors are not needed?
gindrack 17. sep. 2018 kl. 16:11 
for me all worke but no dot on the lcd????
SavageShark 20. aug. 2018 kl. 20:25 
I got it going, but hte screen keeps flashing back and forth between teh radar and the ONLINE screen of the LCD