YSCEDC / YSCE

YSFlight Community Edition
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

[FEATURE] Radar Warning Reciever #42

Open NodokaHanamura opened 1 year ago

NodokaHanamura commented 1 year ago

Is your feature request related to a problem? Please describe. Complaints about UX relating to messages like Overrun and locks got me to thinking a good feature would be the implementation of an RWR system.

Describe the solution you'd like A Radar Warning Reciever is a system used on-board military aircraft that provides the direction and state of radars nearby that are active. This system is sometimes combined with a MLWS to provide cues for missile launches for semiactive and infrared missiles.

I suggest a (simple for now) RWR system that provides this information in lieu of relying on radar and the old mk1 Eyeball. This allows players to better prioritize threats.

Something similar to NATO/US RWRs would suffice, utilizing a basic symbology.

Additional context The RWR for YSFLight should be simple to understand. While for now we should focus on non-intensive work and build ourselves up (defining radar types in DAT files rather than assigning each aircraft category a radar type and aliasing all ground objects to G), It would be best to have radar types defined in DATs: for example, creating a variable like RWR_NAME or RWR_TYPE, with a developer-definable 2-3 alphanumerical identifier, such as:

A - Anti-Air Gun 29 - Sukhoi Flanker family, MiG Radars (These would use the same radar) TR - Tornado Jet 16 - F-16

And missiles would be identified by type as:

Blinking M - Active Radar Solid M - Passive Radar Yellow hemisphere outline - Infrared

For now though, we should focus solely on impelmenting the base work for it.

As of the 12th, @JOBBIN9422 has put together an HUD-based RWR system (similar to that on the F-18) that works quite nicely.

This will be updated as changes are made by the team.

NodokaHanamura commented 1 year ago

Feature has been preliminarilly added in PR #46. Going to keep this open until we get the feature more matured as we continue with development.