Skip to content

Niclassslua/InoTechRadar

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 8, 2023 19:08
July 8, 2023 19:23
July 8, 2023 21:30
July 5, 2023 20:38
July 5, 2023 20:38

InoTechRadar

I decided to give this resource from 2017 a rework and fix the main error of the radar not working. Forks and commits are appreciated.

Requirements & Dependencies:

ESX (will be removed, only used in one function)

Features:

  • Tracks other player-controlled aircraft and boats.
  • Toggleable interface display, which is maximized while in first person. (See example screenshot #1)
  • Different vehicles have different radar ranges and refresh rates. (Military vehicles are generally equipped with much stronger radar, for instance). 2D range checks are used for simplicity’s sake.
  • Configurable LoS checks allows for using terrain or buildings to occlude yourself, effectively allowing you to “fly under the radar”.
  • Radar targets will be displayed with their callsign, distance, altitude, and velocity. (See example screenshot #1).
  • Sonar targets are only displayed as a dot (See example screenshot #2).
  • Radar cannot see targets that are submerged, and Sonar can only see other boats and subs.
  • Size of the radar scales automatically with your resolution.

Todos:

*) Angle based radar

**) Animate radar sweep? Performance may be an issue for spam-updating html canvas Implemented in V1.0.0

**) Bonus points if sweep can be matched with physically visible radar on Predator.

*) Client-side options Implemented in V1.0.0

*) Implement radar types for different identification & showing directional vectors

*) Active & Passive SONAR

**) Active range sonar would greatly boost range, but also reveal your own position to other sonar from far away

**) Allow boats/subs without active SONAR to be invisible from passive SONAR while their engines are turned off (or going very slowly?)

***) Will need server-side code to propagate sonar status

***) Will need to ensure passengers in vehicles cannot change active sonar status, and get their own active sonar status from server.

***) There are currently no multi-person submarines, though.

*) Possibly add propagation delay to SONAR to simulate speed of sound

**) Investigate performance issues if this was to be implemented V1.0.1

*) Add static ground radar Implemented in V1.0.1

**) Add ground radar operation

**) Add radar distribution system

*) Add radar to certain dinghy variations (all seat variations)

*) Take target signature into account?

*) Add knots as an option for velocity display

All credits go to Ino!

About

Rework of the Great InoTechRadar "Radar and Sonar for Aircraft & Boats" Script

Resources

Stars

Watchers

Forks

Packages

No packages published