From 3a08944c9925943e84f6d4f0ee767a86018c4918 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 22 May 2021 14:27:30 -0700 Subject: [PATCH] Use the CAS DCS type for SEAD so F-14s can do it. The CAS task type appears to be a superset of the SEAD task in every way. Larger task variety as well as larger aircraft pool. --- gen/aircraft.py | 10 ++++++++-- gen/flights/ai_flight_planner_db.py | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gen/aircraft.py b/gen/aircraft.py index c7b7a17a..1156d737 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -1263,7 +1263,10 @@ class AircraftConflictGenerator: flight: Flight, dynamic_runways: Dict[str, RunwayData], ) -> None: - group.task = SEAD.name + # CAS is able to perform all the same tasks as SEAD using a superset of the + # available aircraft, and F-14s are not able to be SEAD despite having TALDs. + # https://forums.eagle.ru/topic/272112-cannot-assign-f-14-to-sead/ + group.task = CAS.name self._setup_group(group, package, flight, dynamic_runways) self.configure_behavior( group, @@ -1387,7 +1390,10 @@ class AircraftConflictGenerator: flight: Flight, dynamic_runways: Dict[str, RunwayData], ) -> None: - group.task = SEAD.name + # CAS is able to perform all the same tasks as SEAD using a superset of the + # available aircraft, and F-14s are not able to be SEAD despite having TALDs. + # https://forums.eagle.ru/topic/272112-cannot-assign-f-14-to-sead/ + group.task = CAS.name self._setup_group(group, package, flight, dynamic_runways) self.configure_behavior( group, diff --git a/gen/flights/ai_flight_planner_db.py b/gen/flights/ai_flight_planner_db.py index 2c476b14..b8438a9c 100644 --- a/gen/flights/ai_flight_planner_db.py +++ b/gen/flights/ai_flight_planner_db.py @@ -230,7 +230,7 @@ CAS_CAPABLE = [ ] -# Aircraft used for SEAD tasks. Must be capable of the SEAD DCS task. +# Aircraft used for SEAD and SEAD Escort tasks. Must be capable of the CAS DCS task. SEAD_CAPABLE = [ JF_17, F_16C_50, @@ -240,6 +240,8 @@ SEAD_CAPABLE = [ Su_25TM, F_4E, A_4E_C, + F_14B, + F_14A_135_GR, AV8BNA, Su_24M, Su_17M4,