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.
This commit is contained in:
Dan Albert 2021-05-22 14:27:30 -07:00
parent b6154b273c
commit 3a08944c99
2 changed files with 11 additions and 3 deletions

View File

@ -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,

View File

@ -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,