From 6cfe948ef21a8190fabcb203d93846fd41cd37f3 Mon Sep 17 00:00:00 2001 From: Raffson Date: Sun, 14 Jul 2024 12:58:26 +0200 Subject: [PATCH] Add new FC aircraft --- qt_ui/uiconstants.py | 3 ++ qt_ui/windows/QUnitInfoWindow.py | 2 ++ resources/units/aircraft/F-5E-3_FC.yaml | 37 ++++++++++++++++++++++ resources/units/aircraft/F-86F_FC.yaml | 34 ++++++++++++++++++++ resources/units/aircraft/MiG-15bis_FC.yaml | 31 ++++++++++++++++++ 5 files changed, 107 insertions(+) create mode 100644 resources/units/aircraft/F-5E-3_FC.yaml create mode 100644 resources/units/aircraft/F-86F_FC.yaml create mode 100644 resources/units/aircraft/MiG-15bis_FC.yaml diff --git a/qt_ui/uiconstants.py b/qt_ui/uiconstants.py index 7c644556..f2300410 100644 --- a/qt_ui/uiconstants.py +++ b/qt_ui/uiconstants.py @@ -216,6 +216,9 @@ def load_aircraft_icons(): AIRCRAFT_ICONS["Su-30MKI-AG"] = AIRCRAFT_ICONS["Su-30MKI"] AIRCRAFT_ICONS["Su-30MKM-AG"] = AIRCRAFT_ICONS["Su-30MKM"] AIRCRAFT_ICONS["Su-30SM-AG"] = AIRCRAFT_ICONS["Su-30SM"] + AIRCRAFT_ICONS["F-5E-3_FC"] = AIRCRAFT_ICONS["F-5E-3"] + AIRCRAFT_ICONS["F-86F_FC"] = AIRCRAFT_ICONS["F-86F Sabre"] + AIRCRAFT_ICONS["MiG-15bis_FC"] = AIRCRAFT_ICONS["MiG-15bis"] def load_vehicle_icons(): diff --git a/qt_ui/windows/QUnitInfoWindow.py b/qt_ui/windows/QUnitInfoWindow.py index 1e617150..004b687f 100644 --- a/qt_ui/windows/QUnitInfoWindow.py +++ b/qt_ui/windows/QUnitInfoWindow.py @@ -44,6 +44,8 @@ def aircraft_banner_for(unit_type: AircraftType) -> Path: name = "Su-30SM" elif unit_type.dcs_id == "F-15ESE": name = "F-15E" + elif "_FC" in unit_type.dcs_id: + name = unit_type.dcs_id.replace("_FC", "") else: name = unit_type.dcs_id return AIRCRAFT_BANNERS_BASE / f"{name}.jpg" diff --git a/resources/units/aircraft/F-5E-3_FC.yaml b/resources/units/aircraft/F-5E-3_FC.yaml new file mode 100644 index 00000000..4364fa22 --- /dev/null +++ b/resources/units/aircraft/F-5E-3_FC.yaml @@ -0,0 +1,37 @@ +description: + "The F-5E was developed by Northrop Corporation in early 1970s. The light\ + \ tactical fighter is an upgraded version based on previous F-5A developments. The\ + \ F-5s' combat role encompasses air superiority, ground support, and ground attack.\ + \ Given its mission flexibility, ease of operation, and low cost, the Tiger II has,\ + \ and continues to serve, air forces across the globe.\n\nThe F-5\u0415 is armed\ + \ with two 20-mm \u041C39-\u04103 cannons with 280 rounds per each cannon. The cannons\ + \ are located in the nose section, forward of the cockpit. Special deflectors are\ + \ used to avoid compressor stall conditions caused by hot gas ingestion as a bi-product\ + \ of operating the M-39-A3. Each cannon is capable of firing at a rate of 1500 to\ + \ 1700 rounds per minute.\n\nEach wingtip incorporates a launcher rail capable of\ + \ firing AIM-9 infrared-guided missiles.\n\nFive hard points (one centerline pylon\ + \ and four underwing pylons) allow the aircraft to carry different types of air-to-ground\ + \ weapons (bombs, cluster munitions, and rockets) 6,400 pounds (about 3000 kg) in\ + \ total. In addition, illumination ammunition and cargo containers can be attached.\ + \ To increase flight duration and range, external fuel tanks can be attached to\ + \ three hard points (a centerline pylon and two inboard pylons). Maneuverability\ + \ and speed can be maximized in combat by jettisoning all external stores." +introduced: 1975 +manufacturer: Northrop +origin: USA +price: 12 +role: Light Fighter +max_range: 100 +gunfighter: true +variants: + F-5E Tiger II (FC): {} +tasks: + BAI: 260 + BARCAP: 200 + CAS: 260 + Escort: 200 + Fighter sweep: 200 + Intercept: 200 + OCA/Aircraft: 260 + Strike: 200 + TARCAP: 200 diff --git a/resources/units/aircraft/F-86F_FC.yaml b/resources/units/aircraft/F-86F_FC.yaml new file mode 100644 index 00000000..d237c7d3 --- /dev/null +++ b/resources/units/aircraft/F-86F_FC.yaml @@ -0,0 +1,34 @@ +always_keeps_gun: true +description: + "The North American F-86F Sabre was the most capable western fighter\ + \ of the early- to mid-1950s. This swept wing, single engine jet was the most important\ + \ western aircraft of the Korean War and often tangled with Russian-made MiG-15s\ + \ over the infamous \u201CMiG Alley\u201D. It was a hard struggle not only for the\ + \ Korean sky, but also between two excellent aircraft builders of the East and West.\ + \ In addition to its primary role as an air-to-air fighter, the Sabre could also\ + \ carry bombs and air-to-ground rockets to attack ground targets." +introduced: 1953 +manufacturer: North American +origin: USA +price: 8 +role: Fighter +gunfighter: true +variants: + F-86F Sabre (FC): {} +radios: + intra_flight: AN/ARC-27 + inter_flight: AN/ARC-27 + channels: + type: common + intra_flight_radio_index: 1 + inter_flight_radio_index: 1 +tasks: + BAI: 250 + BARCAP: 150 + CAS: 250 + Escort: 150 + Fighter sweep: 150 + Intercept: 150 + OCA/Aircraft: 250 + Strike: 190 + TARCAP: 150 diff --git a/resources/units/aircraft/MiG-15bis_FC.yaml b/resources/units/aircraft/MiG-15bis_FC.yaml new file mode 100644 index 00000000..263c4ced --- /dev/null +++ b/resources/units/aircraft/MiG-15bis_FC.yaml @@ -0,0 +1,31 @@ +always_keeps_gun: true +description: + Developed in the years immediately following World War II, the MiG-15bis + was a first-generation jet fighter designed by the Mikoyan-Gurevich design bureau + of the Soviet Union. The MiG-15bis is a single engine, swept-wing jet that saw over + 15,000 copies produced. The MiG-15 gained fame in the skies over Korea where it + battled the F-86 Sabre and other allied aircraft. It proved an excellent match to + the Sabre, and it often came down to the skill of the pilot that determined who + made it home and who was left dangling from a parachute. Having an excellent thrust-to-weight + ratio and good climbing characteristics, the MiG-15bis was also armed with two NR-23 + 23mm cannons and a single, powerful N-37 37mm cannon. Not surprisingly, it is considered + by many as one of the deadliest fighters of the era. +introduced: 1950 +manufacturer: Mikoyan-Gurevich +origin: USSR/Russia +price: 8 +role: Fighter +gunfighter: true +variants: + MiG-15bis Fagot (FC): {} +kneeboard_units: "metric" +tasks: + BAI: 360 + BARCAP: 140 + CAS: 360 + Escort: 140 + Fighter sweep: 140 + Intercept: 140 + OCA/Aircraft: 360 + Strike: 210 + TARCAP: 140