mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
- Add the new airassault mission type and special flightplans for it - Add the mission type to airbase and FOB - Add Layout for the UH-1H - Add mission type to capable squadrons - Allow the auto planner to task air assault missions when preconditions are met - Improve Airlift mission type and improve the flightplan (Stopover and Helo landing) - Allow Slingload and spawnable crates for airlift - Rework airsupport to a general missiondata class - Added Carrier Information to mission data - Allow to define CTLD specific capabilities in the unit yaml - Allow inflight preload and fixed wing support for air assault
16 lines
566 B
Python
16 lines
566 B
Python
from dcs.point import MovingPoint, PointAction
|
|
from dcs.task import Land
|
|
|
|
from .pydcswaypointbuilder import PydcsWaypointBuilder
|
|
|
|
|
|
class StopoverBuilder(PydcsWaypointBuilder):
|
|
def build(self) -> MovingPoint:
|
|
waypoint = super().build()
|
|
waypoint.type = "LandingReFuAr"
|
|
waypoint.action = PointAction.LandingReFuAr
|
|
waypoint.landing_refuel_rearm_time = 2 # Minutes.
|
|
if (control_point := self.waypoint.control_point) is not None:
|
|
waypoint.airdrome_id = control_point.airdrome_id_for_landing
|
|
return waypoint
|