diff --git a/changelog.md b/changelog.md index 81928d91..78f33d03 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ # Retribution 1.0.0 ## Features/Improvements -* **[Engine]** Support for DCS v2.8.0.32066. +* **[Engine]** Support for DCS v2.8.1.34437. * **[Briefing]** Add tanker info to mission briefing * **[Campaign]** Add 5 new campaigns by Oscar Juliet from WRL * **[Campaign]** Add ability to define livery overrides also for ground/naval units diff --git a/game/ato/ai_flight_planner_db.py b/game/ato/ai_flight_planner_db.py index e513d42f..473e22b9 100644 --- a/game/ato/ai_flight_planner_db.py +++ b/game/ato/ai_flight_planner_db.py @@ -10,6 +10,7 @@ from dcs.helicopters import ( CH_47D, CH_53E, Ka_50, + Ka_50_3, Mi_24P, Mi_24V, Mi_26, @@ -289,6 +290,7 @@ CAS_CAPABLE = [ SA342M, SA342L, Ka_50, + Ka_50_3, Mi_28N, Mi_24P, Mi_24V, diff --git a/requirements.txt b/requirements.txt index 5d09fcbb..f4948c2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,7 +31,7 @@ platformdirs==2.5.4 pluggy==1.0.0 pre-commit==2.20.0 pydantic==1.10.2 --e git+https://github.com/pydcs/dcs@f12d70ea844076f95c74ffab92ec3dc9fdee32e4#egg=pydcs +-e git+https://github.com/pydcs/dcs@3894ab209d7750ab8adb8522df2e33e7a6b3282b#egg=pydcs pyinstaller==5.6.2 pyinstaller-hooks-contrib==2022.13 pyparsing==3.0.9 diff --git a/resources/customized_payloads/Ka-50_3.lua b/resources/customized_payloads/Ka-50_3.lua new file mode 100644 index 00000000..db5b1a49 --- /dev/null +++ b/resources/customized_payloads/Ka-50_3.lua @@ -0,0 +1,75 @@ +local unitPayloads = { + ["name"] = "Ka-50_3", + ["payloads"] = { + [1] = { + ["name"] = "CAS", + ["pylons"] = { + [1] = { + ["CLSID"] = "{9S846_2xIGLA}", + ["num"] = 6, + }, + [2] = { + ["CLSID"] = "{9S846_2xIGLA}", + ["num"] = 5, + }, + [3] = { + ["CLSID"] = "{A6FD14D3-6D30-4C85-88A7-8D17BEE120E2}", + ["num"] = 4, + }, + [4] = { + ["CLSID"] = "{A6FD14D3-6D30-4C85-88A7-8D17BEE120E2}", + ["num"] = 1, + }, + [5] = { + ["CLSID"] = "B_8V20A_OFP2", + ["num"] = 3, + }, + [6] = { + ["CLSID"] = "B_8V20A_OFP2", + ["num"] = 2, + }, + }, + ["tasks"] = { + [1] = 31, + }, + }, + [2] = { + ["displayName"] = "STRIKE", + ["name"] = "STRIKE", + ["pylons"] = { + [1] = { + ["CLSID"] = "{9S846_2xIGLA}", + ["num"] = 6, + }, + [2] = { + ["CLSID"] = "{9S846_2xIGLA}", + ["num"] = 5, + }, + [3] = { + ["CLSID"] = "{6DADF342-D4BA-4D8A-B081-BA928C4AF86D}", + ["num"] = 4, + }, + [4] = { + ["CLSID"] = "{6DADF342-D4BA-4D8A-B081-BA928C4AF86D}", + ["num"] = 1, + }, + [5] = { + ["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}", + ["num"] = 3, + }, + [6] = { + ["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}", + ["num"] = 2, + }, + }, + ["tasks"] = { + [1] = 31, + [2] = 32, + }, + }, + }, + ["tasks"] = { + }, + ["unitType"] = "Ka-50_3", +} +return unitPayloads diff --git a/resources/factions/bluefor_modern.json b/resources/factions/bluefor_modern.json index 2537be58..cc696d5f 100644 --- a/resources/factions/bluefor_modern.json +++ b/resources/factions/bluefor_modern.json @@ -30,6 +30,7 @@ "F/A-18C Hornet (Lot 20)", "JF-17 Thunder", "Ka-50 Hokum", + "Ka-50 Hokum III", "Mirage 2000C", "Mirage-F1B", "Mirage-F1BE", diff --git a/resources/factions/redfor_russia_2010.json b/resources/factions/redfor_russia_2010.json index e58f0f79..debff5b2 100644 --- a/resources/factions/redfor_russia_2010.json +++ b/resources/factions/redfor_russia_2010.json @@ -11,6 +11,7 @@ "J-11A Flanker-L", "JF-17 Thunder", "Ka-50 Hokum", + "Ka-50 Hokum III", "L-39ZA Albatros", "Mi-24V Hind-E", "Mi-24P Hind-F", diff --git a/resources/factions/russia_2010.json b/resources/factions/russia_2010.json index eaa45fec..06cfa1c7 100644 --- a/resources/factions/russia_2010.json +++ b/resources/factions/russia_2010.json @@ -9,6 +9,7 @@ "aircrafts": [ "IL-76MD", "Ka-50 Hokum", + "Ka-50 Hokum III", "L-39ZA Albatros", "Mi-24V Hind-E", "Mi-24P Hind-F", diff --git a/resources/factions/russia_2020.json b/resources/factions/russia_2020.json index dfbabb81..9d17e0e7 100644 --- a/resources/factions/russia_2020.json +++ b/resources/factions/russia_2020.json @@ -9,6 +9,7 @@ "aircrafts": [ "IL-76MD", "Ka-50 Hokum", + "Ka-50 Hokum III", "L-39ZA Albatros", "Mi-24V Hind-E", "Mi-24P Hind-F", diff --git a/resources/factions/wrl_taskforceblue.json b/resources/factions/wrl_taskforceblue.json index 0b1e22e9..6fb5e6b6 100644 --- a/resources/factions/wrl_taskforceblue.json +++ b/resources/factions/wrl_taskforceblue.json @@ -29,6 +29,7 @@ "Mirage 2000C", "AH-64D Apache Longbow", "Ka-50 Hokum", + "Ka-50 Hokum III", "Mi-24P Hind-F", "Mi-8MTV2 Hip", "SA 342L Gazelle", diff --git a/resources/factions/wrl_taskforcered.json b/resources/factions/wrl_taskforcered.json index 961dcb85..f94b9928 100644 --- a/resources/factions/wrl_taskforcered.json +++ b/resources/factions/wrl_taskforcered.json @@ -28,6 +28,7 @@ "Tu-22M3 Backfire-C", "Tu-95MS Bear-H", "Ka-50 Hokum", + "Ka-50 Hokum III", "Mi-24V Hind-E", "Mi-24P Hind-F", "Mi-28N Havoc", diff --git a/resources/ui/units/aircrafts/banners/Ka-50_3_24.jpg b/resources/ui/units/aircrafts/banners/Ka-50_3_24.jpg new file mode 100644 index 00000000..a682366a Binary files /dev/null and b/resources/ui/units/aircrafts/banners/Ka-50_3_24.jpg differ diff --git a/resources/ui/units/aircrafts/icons/Ka-50_3_24.jpg b/resources/ui/units/aircrafts/icons/Ka-50_3_24.jpg new file mode 100644 index 00000000..cbcb72f1 Binary files /dev/null and b/resources/ui/units/aircrafts/icons/Ka-50_3_24.jpg differ diff --git a/resources/units/aircraft/Ka-50_3.yaml b/resources/units/aircraft/Ka-50_3.yaml new file mode 100644 index 00000000..356c62f4 --- /dev/null +++ b/resources/units/aircraft/Ka-50_3.yaml @@ -0,0 +1,26 @@ +class: Helicopter +always_keeps_gun: true +carrier_capable: true +description: + "The Ka-50 Black Shark (NATO reporting name: Hokum) is a unique and deadly + single-seat, Russian attack helicopter that has seen combat in the Northern Caucasus. + It combines a high performance dual rotor system with a deadly weapons payload of + guided missiles, rockets, bombs, and a 30mm cannon. The Ka-50 is also unique in + that it has an ejection seat. The Black Shark III can also carry A-A Igla missiles." +introduced: 1995 +lha_capable: true +cabin_size: 0 # Can not transport troops +can_carry_crates: true +manufacturer: Kamov +origin: USSR/Russia +price: 20 +role: Attack +variants: + Ka-50 Hokum III: {} +radios: + intra_flight: R-800L1 + inter_flight: R-800L1 + # The R-800L1 doesn't have preset channels, and the other radio is for + # communications with FAC and ground units, which don't currently have + # radios assigned, so no channels to configure. +kneeboard_units: "metric" \ No newline at end of file