From 56899985cdbf4c43da1affb6abe9322a76cfbf7b Mon Sep 17 00:00:00 2001 From: Starfire13 <72491792+Starfire13@users.noreply.github.com> Date: Sun, 18 Feb 2024 20:26:52 +1100 Subject: [PATCH] Add DEAD mission type to Apache and update loadouts (#252) --- .../customized_payloads/AH-64D_BLK_II.lua | 33 +++++++- resources/units/aircraft/AH-64D_BLK_II.yaml | 83 ++++++++++--------- 2 files changed, 71 insertions(+), 45 deletions(-) diff --git a/resources/customized_payloads/AH-64D_BLK_II.lua b/resources/customized_payloads/AH-64D_BLK_II.lua index 4cbb8c34..f3b45740 100644 --- a/resources/customized_payloads/AH-64D_BLK_II.lua +++ b/resources/customized_payloads/AH-64D_BLK_II.lua @@ -9,7 +9,7 @@ local unitPayloads = { ["num"] = 3, }, [2] = { - ["CLSID"] = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}", + ["CLSID"] = "{M299_4xAGM_114L}", ["num"] = 4, }, [3] = { @@ -17,7 +17,7 @@ local unitPayloads = { ["num"] = 2, }, [4] = { - ["CLSID"] = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}", + ["CLSID"] = "{M299_4xAGM_114L}", ["num"] = 1, }, }, @@ -75,8 +75,8 @@ local unitPayloads = { }, }, [4] = { - ["displayName"] = "Retribution Escort", - ["name"] = "Retribution Escort", + ["displayName"] = "Retribution DEAD", + ["name"] = "Retribution DEAD", ["pylons"] = { [1] = { ["CLSID"] = "{M299_4xAGM_114L}", @@ -99,6 +99,31 @@ local unitPayloads = { [1] = 31, }, }, + [5] = { + ["displayName"] = "Retribution Escort", + ["name"] = "Retribution Escort", + ["pylons"] = { + [1] = { + ["CLSID"] = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}", + ["num"] = 3, + }, + [2] = { + ["CLSID"] = "{M299_4xAGM_114L}", + ["num"] = 4, + }, + [3] = { + ["CLSID"] = "{88D18A5E-99C8-4B04-B40B-1C02F2018B6E}", + ["num"] = 2, + }, + [4] = { + ["CLSID"] = "{M299_4xAGM_114L}", + ["num"] = 1, + }, + }, + ["tasks"] = { + [1] = 31, + }, + }, }, ["unitType"] = "AH-64D_BLK_II", } diff --git a/resources/units/aircraft/AH-64D_BLK_II.yaml b/resources/units/aircraft/AH-64D_BLK_II.yaml index 74e7266c..29c25dfe 100644 --- a/resources/units/aircraft/AH-64D_BLK_II.yaml +++ b/resources/units/aircraft/AH-64D_BLK_II.yaml @@ -1,41 +1,42 @@ -class: Helicopter -always_keeps_gun: true -lha_capable: true -cabin_size: 0 # Can not transport troops -can_carry_crates: false # Can not carry crates -description: - The legendary 'Apache' is an US twin-turboshaft attack helicopter for - a crew of two. It features a nose-mounted sensor suite for target acquisition and - night vision systems. It is armed with a 30 mm (1.18 in) M230 chain gun carried - between the main landing gear, under the aircraft's forward fuselage, and four hardpoints - mounted on stub-wing pylons for carrying armament and stores, typically a mixture - of AGM-114 Hellfire missiles and Hydra 70 rocket pods. The AH-64 has significant - systems redundancy to improve combat survivability. American AH-64s have served - in conflicts in Panama, the Persian Gulf, Kosovo, Afghanistan, and Iraq. Israel - used the Apache in its military conflicts in Lebanon and the Gaza Strip. British - and Dutch Apaches have seen deployments in wars in Afghanistan and Iraq. -introduced: 2003 -manufacturer: Boeing -origin: USA -price: 20 -role: Attack -variants: - AH-64D Apache Longbow: {} -radios: - # DCS uses the 2nd Radio AN/ARC-164 (UHF) as the main intra flight for the Apache - # so we use this Radio for Intra and Inter Flight for now - # The radio frequencies set in the mission editor are in the current state of Early - # access not used for radio presets. Only the flight frequency is used. Any other - # frequency has to be entered manually atm. - intra_flight: AN/ARC-186(V) AM - inter_flight: AN/ARC-164 - channels: - type: common - namer: apache - intra_flight_radio_index: 1 - inter_flight_radio_index: 2 -tasks: - BAI: 510 - CAS: 510 - Escort: 100 - OCA/Aircraft: 510 +class: Helicopter +always_keeps_gun: true +lha_capable: true +cabin_size: 0 # Can not transport troops +can_carry_crates: false # Can not carry crates +description: + The legendary 'Apache' is an US twin-turboshaft attack helicopter for + a crew of two. It features a nose-mounted sensor suite for target acquisition and + night vision systems. It is armed with a 30 mm (1.18 in) M230 chain gun carried + between the main landing gear, under the aircraft's forward fuselage, and four hardpoints + mounted on stub-wing pylons for carrying armament and stores, typically a mixture + of AGM-114 Hellfire missiles and Hydra 70 rocket pods. The AH-64 has significant + systems redundancy to improve combat survivability. American AH-64s have served + in conflicts in Panama, the Persian Gulf, Kosovo, Afghanistan, and Iraq. Israel + used the Apache in its military conflicts in Lebanon and the Gaza Strip. British + and Dutch Apaches have seen deployments in wars in Afghanistan and Iraq. +introduced: 2003 +manufacturer: Boeing +origin: USA +price: 20 +role: Attack +variants: + AH-64D Apache Longbow: {} +radios: + # DCS uses the 2nd Radio AN/ARC-164 (UHF) as the main intra flight for the Apache + # so we use this Radio for Intra and Inter Flight for now + # The radio frequencies set in the mission editor are in the current state of Early + # access not used for radio presets. Only the flight frequency is used. Any other + # frequency has to be entered manually atm. + intra_flight: AN/ARC-186(V) AM + inter_flight: AN/ARC-164 + channels: + type: common + namer: apache + intra_flight_radio_index: 1 + inter_flight_radio_index: 2 +tasks: + BAI: 510 + CAS: 510 + DEAD: 115 + Escort: 100 + OCA/Aircraft: 510