Revert "Revert "Add support for the AI-only F-14A."" (#27)

This reverts commit 920c9b15ff815b5df08ff90c4a6b0a10cce3e169.
This commit is contained in:
MetalStormGhost 2022-12-03 15:31:40 +02:00 committed by GitHub
parent e38a6cd907
commit 0c30ce3bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 96 additions and 2 deletions

View File

@ -45,6 +45,7 @@ from dcs.planes import (
FW_190A8,
FW_190D9,
F_117A,
F_14A,
F_14A_135_GR,
F_14B,
F_15C,
@ -160,6 +161,7 @@ ESCORT_CAPABLE = [
F_15D,
F_14B,
F_14A_135_GR,
F_14A,
Su_33,
J_11A,
Su_30,

View File

@ -6,7 +6,7 @@ from dcs import Mission
from dcs.country import Country
from dcs.mapping import Vector2
from dcs.mission import StartType as DcsStartType
from dcs.planes import Su_33
from dcs.planes import F_14A, Su_33
from dcs.ships import KUZNECOW
from dcs.terrain import Airport, NoParkingSlotError
from dcs.unitgroup import FlyingGroup, ShipGroup, StaticGroup
@ -263,7 +263,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

View File

@ -0,0 +1,55 @@
local unitPayloads = {
["name"] = "F-14A",
["payloads"] = {
[1] = {
["name"] = "CAP",
["pylons"] = {
[1] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{8D399DDA-FF81-4F14-904D-099B34FE7918}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{7575BA0B-7294-4844-857B-031A144B2595}",
["num"] = 4,
},
[4] = {
["CLSID"] = "{7575BA0B-7294-4844-857B-031A144B2595}",
["num"] = 5,
},
[5] = {
["CLSID"] = "{7575BA0B-7294-4844-857B-031A144B2595}",
["num"] = 8,
},
[6] = {
["CLSID"] = "{7575BA0B-7294-4844-857B-031A144B2595}",
["num"] = 9,
},
[7] = {
["CLSID"] = "{8D399DDA-FF81-4F14-904D-099B34FE7918}",
["num"] = 11,
},
[8] = {
["CLSID"] = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",
["num"] = 12,
},
[9] = {
["CLSID"] = "{82364E69-5564-4043-A866-E13032926C3E}",
["num"] = 10,
},
[10] = {
["CLSID"] = "{82364E69-5564-4043-A866-E13032926C3E}",
["num"] = 3,
},
},
["tasks"] = {
[1] = 10,
},
},
},
["unitType"] = "F-14A",
}
return unitPayloads

View File

@ -12,6 +12,7 @@
"C-130",
"C-130J-30 Super Hercules",
"F-117A Nighthawk",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",
"F-15C Eagle",

View File

@ -13,6 +13,7 @@
"C-130",
"C-130J-30 Super Hercules",
"F-117A Nighthawk",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",
"F-15C Eagle",

View File

@ -11,6 +11,7 @@
"B-52H Stratofortress",
"C-130",
"C-130J-30 Super Hercules",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",
"F-4E Phantom II",

View File

@ -8,6 +8,7 @@
],
"aircrafts": [
"AH-1J SeaCobra",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-4E Phantom II",
"F-5E Tiger II",

View File

@ -7,6 +7,7 @@
"fa_IR"
],
"aircrafts": [
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-4E Phantom II",
"F-5E Tiger II",

View File

@ -11,6 +11,7 @@
"C-130",
"CH-47D",
"CH-53E",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-4B Phantom II",
"F-4E Phantom II",

View File

@ -17,6 +17,7 @@
"CH-47D",
"CH-53E",
"F-117A Nighthawk",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",
"F-15C Eagle",

View File

@ -10,6 +10,7 @@
"AH-1W SuperCobra",
"A-4E Skyhawk",
"A-6A Intruder",
"F-14A Tomcat (AI)",
"F-14A Tomcat (Block 135-GR Late)",
"F-14B Tomcat",
"F-4B Phantom II",

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,27 @@
carrier_capable: true
description:
"The Grumman F-14 Tomcat is a two-crew, variable wing-geometry, maritime\
\ air superiority fighter that served with the US Navy for 32 years and continues\
\ to serve with the IRIAF in Iran. The F-14 was the US Navy's frontline fighter\
\ from the 1970s to the mid-2000s. Over the course of its long service it also became\
\ the US Navy\u2019s lone airborne reconnaissance asset.\n\n\
\ Noteworthy features of the Tomcat are its swing-wing\
\ configuration, two-man crew, and the powerful AN/AWG-9 Weapons Control System\
\ (WCS) and radar. The AWG-9 allows employment of the long-range AIM-54 Phoenix\
\ air-to-air missile. The F-14 Tomcat was present in several historic events\
\ that include the two Gulf of Sidra incidents, Operations Desert Storm Iraqi Freedom,\
\ the Yugoslavian conflict, and Operation Enduring Freedom over Afghanistan. It\
\ was also immortalized in the iconic motion picture, Top Gun, and starred in several\
\ other feature films including The Final Countdown, Executive Decision, and others.\n\
\nThe Tomcat was also played a vital role in the Iran-Iraq war of the 1980s, where\
\ is flew for the Islamic Republic of Iran Air Force."
introduced: 1974
manufacturer: Grumman
origin: USA
price: 20
role: Carrier-based Air-Superiority Fighter/Fighter Bomber
max_range: 350
# DCS default livery for the AI F-14A is the black demo scheme.
default_livery: vf-142 `ghost riders`
variants:
F-14A Tomcat (AI): {}