mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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.
15 lines
459 B
Python
15 lines
459 B
Python
from .pydcswaypointbuilder import PydcsWaypointBuilder
|
|
|
|
|
|
class TargetBuilder(PydcsWaypointBuilder):
|
|
"""Waypoint builder for target waypoint types.
|
|
|
|
This handles both precise target locations (TARGET_POINT) and target areas
|
|
(TARGET_GROUP_LOC).
|
|
"""
|
|
|
|
def dcs_name_for_waypoint(self) -> str:
|
|
if self.flight.unit_type.use_f15e_waypoint_names:
|
|
return f"#T {self.waypoint.name}"
|
|
return super().dcs_name_for_waypoint()
|