mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +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
65 lines
1.6 KiB
Python
65 lines
1.6 KiB
Python
from __future__ import annotations
|
|
|
|
from enum import unique, Enum
|
|
|
|
|
|
@unique
|
|
class UnitClass(Enum):
|
|
UNKNOWN = "Unknown"
|
|
AAA = "AAA"
|
|
AIRCRAFT_CARRIER = "AircraftCarrier"
|
|
APC = "APC"
|
|
ARTILLERY = "Artillery"
|
|
ATGM = "ATGM"
|
|
BOAT = "Boat"
|
|
COMMAND_POST = "CommandPost"
|
|
CRUISER = "Cruiser"
|
|
DESTROYER = "Destroyer"
|
|
EARLY_WARNING_RADAR = "EarlyWarningRadar"
|
|
FORTIFICATION = "Fortification"
|
|
FRIGATE = "Frigate"
|
|
HELICOPTER = "Helicopter"
|
|
HELICOPTER_CARRIER = "HelicopterCarrier"
|
|
IFV = "IFV"
|
|
INFANTRY = "Infantry"
|
|
LANDING_SHIP = "LandingShip"
|
|
LAUNCHER = "Launcher"
|
|
LOGISTICS = "Logistics"
|
|
MANPAD = "Manpad"
|
|
MISSILE = "Missile"
|
|
ANTISHIP_MISSILE = "AntiShipMissile"
|
|
OPTICAL_TRACKER = "OpticalTracker"
|
|
PLANE = "Plane"
|
|
POWER = "Power"
|
|
RECON = "Recon"
|
|
SEARCH_LIGHT = "SearchLight"
|
|
SEARCH_RADAR = "SearchRadar"
|
|
SEARCH_TRACK_RADAR = "SearchTrackRadar"
|
|
SHORAD = "SHORAD"
|
|
SPECIALIZED_RADAR = "SpecializedRadar"
|
|
SUBMARINE = "Submarine"
|
|
TANK = "Tank"
|
|
TELAR = "TELAR"
|
|
TRACK_RADAR = "TrackRadar"
|
|
|
|
|
|
# All UnitClasses which can have AntiAir capabilities
|
|
ANTI_AIR_UNIT_CLASSES = [
|
|
UnitClass.AAA,
|
|
UnitClass.AIRCRAFT_CARRIER,
|
|
UnitClass.CRUISER,
|
|
UnitClass.DESTROYER,
|
|
UnitClass.EARLY_WARNING_RADAR,
|
|
UnitClass.FRIGATE,
|
|
UnitClass.HELICOPTER_CARRIER,
|
|
UnitClass.LAUNCHER,
|
|
UnitClass.MANPAD,
|
|
UnitClass.SEARCH_RADAR,
|
|
UnitClass.SEARCH_TRACK_RADAR,
|
|
UnitClass.SPECIALIZED_RADAR,
|
|
UnitClass.SHORAD,
|
|
UnitClass.SUBMARINE,
|
|
UnitClass.TELAR,
|
|
UnitClass.TRACK_RADAR,
|
|
]
|