dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
712 stars 185 forks source link

radar detection still wrong #1109

Closed DanAlbert closed 3 years ago

DanAlbert commented 3 years ago

https://github.com/dcs-liberation/dcs_liberation/commit/f68935735d436385a0821e1168a8726c7dba8ebb attempted to improve detection of SAMs that have active radars, but it's still wrong (and the UI has been for ages). Non-radar units still have detection_range set, so we can't use that as a key for detecting whether or not a SAM has a radar.

I think we probably do need to go back to the curated list, but we need to audit the list since it was missing so many things and included things it should not have.

DanAlbert commented 3 years ago

This still isn't quite right. We need two distinct lists:

  1. Has a radar
  2. Has a radar guided weapon

Answering question 1 is interesting because it tells us whether or not the target can be hit by an ARM or distracted by a decoy. Question 2 tells us whether or not we need SEAD/SEAD escort.