mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove ROE from SEAD Sweep to avoid engaging statics
This commit is contained in:
parent
e9d0273056
commit
da64cdbab7
@ -4,7 +4,6 @@ from dcs.task import (
|
|||||||
ControlledTask,
|
ControlledTask,
|
||||||
EngageTargets,
|
EngageTargets,
|
||||||
Targets,
|
Targets,
|
||||||
OptROE,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
from game.utils import nautical_miles
|
from game.utils import nautical_miles
|
||||||
@ -14,7 +13,6 @@ from .pydcswaypointbuilder import PydcsWaypointBuilder
|
|||||||
class SeadSweepIngressBuilder(PydcsWaypointBuilder):
|
class SeadSweepIngressBuilder(PydcsWaypointBuilder):
|
||||||
def add_tasks(self, waypoint: MovingPoint) -> None:
|
def add_tasks(self, waypoint: MovingPoint) -> None:
|
||||||
self.register_special_ingress_points()
|
self.register_special_ingress_points()
|
||||||
waypoint.tasks.append(OptROE(value=OptROE.Values.OpenFireWeaponFree))
|
|
||||||
# Preemptively use ECM to better avoid getting swatted.
|
# Preemptively use ECM to better avoid getting swatted.
|
||||||
ecm_option = OptECMUsing(value=OptECMUsing.Values.UseIfDetectedLockByRadar)
|
ecm_option = OptECMUsing(value=OptECMUsing.Values.UseIfDetectedLockByRadar)
|
||||||
waypoint.tasks.append(ecm_option)
|
waypoint.tasks.append(ecm_option)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user