mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Use SEAD for SEAD.
The F-14 was fixed to allow this in the latest patch.
This commit is contained in:
parent
d3b4d45bd6
commit
5f3e342a0e
@ -18,6 +18,7 @@ from dcs.task import (
|
|||||||
OptRestrictJettison,
|
OptRestrictJettison,
|
||||||
Refueling,
|
Refueling,
|
||||||
RunwayAttack,
|
RunwayAttack,
|
||||||
|
SEAD,
|
||||||
Transport,
|
Transport,
|
||||||
)
|
)
|
||||||
from dcs.unitgroup import FlyingGroup
|
from dcs.unitgroup import FlyingGroup
|
||||||
@ -164,10 +165,7 @@ class AircraftBehavior:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def configure_sead(self, group: FlyingGroup[Any], flight: Flight) -> None:
|
def configure_sead(self, group: FlyingGroup[Any], flight: Flight) -> None:
|
||||||
# CAS is able to perform all the same tasks as SEAD using a superset of the
|
group.task = SEAD.name
|
||||||
# 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.configure_behavior(
|
self.configure_behavior(
|
||||||
flight,
|
flight,
|
||||||
group,
|
group,
|
||||||
@ -275,10 +273,7 @@ class AircraftBehavior:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def configure_sead_escort(self, group: FlyingGroup[Any], flight: Flight) -> None:
|
def configure_sead_escort(self, group: FlyingGroup[Any], flight: Flight) -> None:
|
||||||
# CAS is able to perform all the same tasks as SEAD using a superset of the
|
group.task = SEAD.name
|
||||||
# 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.configure_behavior(
|
self.configure_behavior(
|
||||||
flight,
|
flight,
|
||||||
group,
|
group,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user