mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
pydcs update for DCS 2.7.1
This commit is contained in:
@@ -7,9 +7,9 @@ AAA_UNITS = [
|
||||
AirDefence.AAA_ZU_23_Closed_Emplacement,
|
||||
AirDefence.AAA_ZU_23_Emplacement,
|
||||
AirDefence.SPAAA_ZU_23_2_Mounted_Ural_375,
|
||||
AirDefence.AAA_ZU_23_Closed_Emplacement_Insurgent,
|
||||
AirDefence.AAA_ZU_23_Insurgent_Closed_Emplacement,
|
||||
AirDefence.SPAAA_ZU_23_2_Insurgent_Mounted_Ural_375,
|
||||
AirDefence.AAA_ZU_23_Insurgent,
|
||||
AirDefence.AAA_ZU_23_Insurgent_Emplacement,
|
||||
AirDefence.AAA_8_8cm_Flak_18,
|
||||
AirDefence.AAA_Flak_38_20mm,
|
||||
AirDefence.AAA_8_8cm_Flak_36,
|
||||
@@ -17,6 +17,6 @@ AAA_UNITS = [
|
||||
AirDefence.AAA_Flak_Vierling_38_Quad_20mm,
|
||||
AirDefence.AAA_SP_Kdo_G_40,
|
||||
AirDefence.AAA_8_8cm_Flak_41,
|
||||
AirDefence.AAA_40mm_Bofors,
|
||||
AirDefence.AAA_Bofors_40mm,
|
||||
AirDefence.AAA_S_60_57mm,
|
||||
]
|
||||
|
||||
@@ -9,7 +9,7 @@ class AlicCodes:
|
||||
AirDefence.SAM_SA_10_S_300_Grumble_Clam_Shell_SR.id: 103,
|
||||
AirDefence.SAM_SA_10_S_300_Grumble_Big_Bird_SR.id: 104,
|
||||
AirDefence.SAM_SA_11_Buk_Gadfly_Snow_Drift_SR.id: 107,
|
||||
AirDefence.SAM_SA_6_Kub_Long_Track_STR.id: 108,
|
||||
AirDefence.SAM_SA_6_Kub_Straight_Flush_STR.id: 108,
|
||||
AirDefence.MCC_SR_Sborka_Dog_Ear_SR.id: 109,
|
||||
AirDefence.SAM_SA_10_S_300_Grumble_Flap_Lid_TR.id: 110,
|
||||
AirDefence.SAM_SA_11_Buk_Gadfly_Fire_Dome_TEL.id: 115,
|
||||
|
||||
@@ -32,7 +32,7 @@ UNITS_WITH_RADAR = [
|
||||
AirDefence.SPAAA_Vulcan_M163,
|
||||
AirDefence.SPAAA_ZSU_23_4_Shilka_Gun_Dish,
|
||||
AirDefence.EWR_1L13,
|
||||
AirDefence.SAM_SA_6_Kub_Long_Track_STR,
|
||||
AirDefence.SAM_SA_6_Kub_Straight_Flush_STR,
|
||||
AirDefence.SAM_SA_10_S_300_Grumble_Flap_Lid_TR,
|
||||
AirDefence.SAM_SA_10_S_300_Grumble_Clam_Shell_SR,
|
||||
AirDefence.EWR_55G6,
|
||||
|
||||
@@ -154,7 +154,7 @@ _WEAPON_FALLBACKS = [
|
||||
Weapons.BRU_57_with_2_x_AGM_154A___JSOW_CEB__CBU_type_,
|
||||
None,
|
||||
), # doesn't exist on any aircraft yet
|
||||
(Weapons.AGM_154B___JSOW_Anti_Armour, Weapons.CBU_105___10_x_CEM__CBU_with_WCMD),
|
||||
(Weapons.AGM_154B___JSOW_Anti_Armour, Weapons.CBU_105___10_x_SFW__CBU_with_WCMD),
|
||||
(Weapons.AGM_154C___JSOW_Unitary_BROACH, Weapons.GBU_12),
|
||||
(
|
||||
Weapons.BRU_55_with_2_x_AGM_154C___JSOW_Unitary_BROACH,
|
||||
@@ -483,29 +483,29 @@ _WEAPON_FALLBACKS = [
|
||||
# CBU-87 CEM
|
||||
(Weapons.CBU_87___202_x_CEM_Cluster_Bomb, Weapons.Mk_82),
|
||||
(
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_CEM_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_2_x_Mk_82___500lb_GP_Bomb_LD,
|
||||
),
|
||||
(
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb_,
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_CEM_Cluster_Bomb_,
|
||||
Weapons.TER_9A_with_2_x_Mk_82___500lb_GP_Bomb_LD,
|
||||
),
|
||||
(
|
||||
Weapons.TER_9A_with_3_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_3_x_CBU_87___202_x_CEM_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_3_x_Mk_82___500lb_GP_Bomb_LD,
|
||||
),
|
||||
# CBU-97
|
||||
(Weapons.CBU_97___10_x_CEM_Cluster_Bomb, Weapons.Mk_82),
|
||||
(Weapons.CBU_97___10_x_SFW_Cluster_Bomb, Weapons.Mk_82),
|
||||
(
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_2_x_Mk_82___500lb_GP_Bomb_LD,
|
||||
),
|
||||
(
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb_,
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_SFW_Cluster_Bomb_,
|
||||
Weapons.TER_9A_with_2_x_Mk_82___500lb_GP_Bomb_LD_,
|
||||
),
|
||||
(
|
||||
Weapons.TER_9A_with_3_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_3_x_CBU_97___10_x_SFW_Cluster_Bomb,
|
||||
Weapons.TER_9A_with_3_x_Mk_82___500lb_GP_Bomb_LD,
|
||||
),
|
||||
# CBU-99 (It's a bomb made in 1968, I'm not bothering right now with backups)
|
||||
@@ -515,7 +515,7 @@ _WEAPON_FALLBACKS = [
|
||||
Weapons.CBU_87___202_x_CEM_Cluster_Bomb,
|
||||
),
|
||||
# CBU-105
|
||||
(Weapons.CBU_105___10_x_CEM__CBU_with_WCMD, Weapons.CBU_97___10_x_CEM_Cluster_Bomb),
|
||||
(Weapons.CBU_105___10_x_SFW__CBU_with_WCMD, Weapons.CBU_97___10_x_SFW_Cluster_Bomb),
|
||||
(
|
||||
Weapons.LAU_131_pod___7_x_2_75_Hydra__Laser_Guided_Rkts_M151__HE_APKWS,
|
||||
Weapons.LAU_131_pod___7_x_2_75_Hydra__UnGd_Rkts_M151__HE,
|
||||
@@ -971,26 +971,14 @@ WEAPON_INTRODUCTION_YEARS = {
|
||||
Weapon.from_pydcs(Weapons.CBU_52B___220_x_HE_Frag_bomblets): 1970,
|
||||
# CBU-87 CEM
|
||||
Weapon.from_pydcs(Weapons.CBU_87___202_x_CEM_Cluster_Bomb): 1986,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb
|
||||
): 1986,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_2_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb_
|
||||
): 1986,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_3_x_CBU_87___202_x_Anti_Armor_Skeet_SFW_Cluster_Bomb
|
||||
): 1986,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_2_x_CBU_87___202_x_CEM_Cluster_Bomb): 1986,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_2_x_CBU_87___202_x_CEM_Cluster_Bomb_): 1986,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_3_x_CBU_87___202_x_CEM_Cluster_Bomb): 1986,
|
||||
# CBU-97
|
||||
Weapon.from_pydcs(Weapons.CBU_97___10_x_CEM_Cluster_Bomb): 1992,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb
|
||||
): 1992,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_2_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb_
|
||||
): 1992,
|
||||
Weapon.from_pydcs(
|
||||
Weapons.TER_9A_with_3_x_CBU_97___10_x_Anti_Armor_Skeet_SFW_Cluster_Bomb
|
||||
): 1992,
|
||||
Weapon.from_pydcs(Weapons.CBU_97___10_x_SFW_Cluster_Bomb): 1992,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_2_x_CBU_97___10_x_SFW_Cluster_Bomb): 1992,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_2_x_CBU_97___10_x_SFW_Cluster_Bomb_): 1992,
|
||||
Weapon.from_pydcs(Weapons.TER_9A_with_3_x_CBU_97___10_x_SFW_Cluster_Bomb): 1992,
|
||||
# CBU-99
|
||||
Weapon.from_pydcs(
|
||||
Weapons.BRU_33_with_2_x_CBU_99___490lbs__247_x_HEAT_Bomblets
|
||||
@@ -1032,11 +1020,11 @@ WEAPON_INTRODUCTION_YEARS = {
|
||||
Weapons.MER2_with_2_x_Mk_20_Rockeye___490lbs_CBUs__247_x_HEAT_Bomblets
|
||||
): 1968,
|
||||
# CBU-103
|
||||
Weapon.from_pydcs(Weapons.BRU_57_with_2_x_CBU_103): 2000,
|
||||
Weapon.from_pydcs(Weapons.BRU_57_with_2_x_CBU_103___202_x_CEM__CBU_with_WCMD): 2000,
|
||||
Weapon.from_pydcs(Weapons.CBU_103___202_x_CEM__CBU_with_WCMD): 2000,
|
||||
# CBU-105
|
||||
Weapon.from_pydcs(Weapons.BRU_57_with_2_x_CBU_105): 2000,
|
||||
Weapon.from_pydcs(Weapons.CBU_105___10_x_CEM__CBU_with_WCMD): 2000,
|
||||
Weapon.from_pydcs(Weapons.BRU_57_with_2_x_CBU_105___10_x_SFW__CBU_with_WCMD): 2000,
|
||||
Weapon.from_pydcs(Weapons.CBU_105___10_x_SFW__CBU_with_WCMD): 2000,
|
||||
# APKWS
|
||||
Weapon.from_pydcs(
|
||||
Weapons.LAU_131_pod___7_x_2_75_Hydra__Laser_Guided_Rkts_M151__HE_APKWS
|
||||
|
||||
Reference in New Issue
Block a user