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:
Dan Albert
2023-07-23 12:26:01 -07:00
committed by Raffson
parent e25aac774f
commit 014ae5faf5
6 changed files with 31 additions and 6 deletions

View File

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