Possible to setup Runway attack payload, default to strike payload otherwise;

This commit is contained in:
Khopa
2020-12-15 23:14:36 +01:00
parent 1a1e55e16c
commit 991cd91dd4
4 changed files with 86 additions and 40 deletions

View File

@@ -140,6 +140,7 @@ from dcs.task import (
SEAD,
Task,
Transport,
RunwayAttack,
)
from dcs.terrain.terrain import Airport
from dcs.unit import Ship, Unit, Vehicle
@@ -978,6 +979,7 @@ COMMON_OVERRIDE = {
AntishipStrike: "ANTISHIP",
GroundAttack: "STRIKE",
Escort: "CAP",
RunwayAttack: "RUNWAY_ATTACK"
}
PLANE_PAYLOAD_OVERRIDES: Dict[Type[PlaneType], Dict[Type[Task], str]] = {