mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add support for the AI-only F-14A.
The AI for the flyable one is having issues firing AIM-54s. This allows working around that. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1927.
This commit is contained in:
@@ -14,6 +14,7 @@ from dcs.planes import (
|
||||
B_17G,
|
||||
FA_18C_hornet,
|
||||
F_16C_50,
|
||||
F_14A,
|
||||
Ju_88A4,
|
||||
P_51D_30_NA,
|
||||
plane_map,
|
||||
@@ -262,6 +263,7 @@ is livery name as found in mission editor.
|
||||
"""
|
||||
PLANE_LIVERY_OVERRIDES: dict[Type[FlyingType], str] = {
|
||||
FA_18C_hornet: "VFA-34", # default livery for the hornet is blue angels one
|
||||
F_14A: "vf-142 `ghost riders`", # default livery for the AI F-14A is the black demo scheme
|
||||
}
|
||||
|
||||
"""
|
||||
|
||||
@@ -5,7 +5,7 @@ from typing import Any, Union
|
||||
from dcs import Mission, Point
|
||||
from dcs.country import Country
|
||||
from dcs.mission import StartType as DcsStartType
|
||||
from dcs.planes import Su_33
|
||||
from dcs.planes import Su_33, F_14A
|
||||
from dcs.point import PointAction
|
||||
from dcs.ships import KUZNECOW
|
||||
from dcs.terrain import Airport, NoParkingSlotError
|
||||
@@ -251,7 +251,9 @@ class FlightGroupSpawner:
|
||||
# Setting Su-33s starting from the non-supercarrier Kuznetsov to take off from
|
||||
# runway to work around a DCS AI issue preventing Su-33s from taking off when
|
||||
# set to "Takeoff from ramp" (#1352)
|
||||
if (
|
||||
# Also setting the F-14A AI variant to start from cats since they are reported
|
||||
# to have severe pathfinding problems when doing ramp starts (#1927)
|
||||
if self.flight.unit_type.dcs_unit_type == F_14A or (
|
||||
self.flight.unit_type.dcs_unit_type == Su_33
|
||||
and group_units[0] is not None
|
||||
and group_units[0].type == KUZNECOW.id
|
||||
|
||||
Reference in New Issue
Block a user