mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Configure target points for F-15E S4+.
We don't need explicit configuration of initial points. The plane automatically configures any steerpoint immediately before a target point as an initial point. Target offset points and aim points have not been implemented because I can't find any information the describes their intent. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3088.
This commit is contained in:
@@ -210,6 +210,8 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
task_priorities: dict[FlightType, int]
|
||||
laser_code_configs: list[LaserCodeConfig]
|
||||
|
||||
use_f15e_waypoint_names: bool
|
||||
|
||||
_by_name: ClassVar[dict[str, AircraftType]] = {}
|
||||
_by_unit_type: ClassVar[dict[type[FlyingType], list[AircraftType]]] = defaultdict(
|
||||
list
|
||||
@@ -516,6 +518,7 @@ class AircraftType(UnitType[Type[FlyingType]]):
|
||||
laser_code_configs=[
|
||||
LaserCodeConfig.from_yaml(d) for d in data.get("laser_codes", [])
|
||||
],
|
||||
use_f15e_waypoint_names=data.get("use_f15e_waypoint_names", False),
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user