Update the High Digit SAMs implementation

- Add more HighDigitSAMs units
- Add hds SA-2, SA-3 and HQ-2 to capable factions
- Update radar db with hds as these entries were missing
This commit is contained in:
RndName 2022-05-11 16:40:58 +02:00
parent 47b6c2608c
commit 7acc418489
28 changed files with 105 additions and 0 deletions

View File

@ -15,6 +15,7 @@ Saves from 5.x are not compatible with 6.0.
* **[Flight Planning]** Air to Ground flights now have ECM enabled on lock at the join point, and SEAD/DEAD also have ECM enabled on detection and lock at ingress.
* **[Flight Planning]** AWACS flightplan changed from orbit to a racetrack to reduce data link disconnects which were caused by blind spots as a result of the bank angle.
* **[Modding]** Updated UH-60L mod version support to 1.3.1
* **[Modding]** Updated the High Digit SAMs implementation and added the HQ-2 as well as the upgraded SA-2 and SA-3 Launchers from the mod. Threat range circles will now also be displayed correctly.
* **[UI]** Added options to the loadout editor for setting properties such as HMD choice.
* **[UI]** Added separate images for the different carrier types.
* **[Campaign]** Allow campaign designers to define default values for the economy settings (starting budget and multiplier).

View File

@ -22,6 +22,7 @@ from dcs.ships import (
USS_Arleigh_Burke_IIa,
)
from dcs.vehicles import AirDefence
from pydcs_extensions import highdigitsams as hds
TELARS = {
AirDefence._2S6_Tunguska,
@ -29,6 +30,7 @@ TELARS = {
AirDefence.Osa_9A33_ln,
AirDefence.Tor_9A331,
AirDefence.Roland_ADS,
hds.SAM_SA_17_Buk_M1_2_LN_9A310M1_2,
}
TRACK_RADARS = {
@ -42,6 +44,11 @@ TRACK_RADARS = {
AirDefence.Rapier_fsa_blindfire_radar,
AirDefence.HQ_7_STR_SP,
AirDefence.NASAMS_Radar_MPQ64F1,
hds.SAM_SA_10B_S_300PS_30N6_TR,
hds.SAM_SA_12_S_300V_9S32_TR,
hds.SAM_SA_20_S_300PMU1_TR_30N6E,
hds.SAM_SA_20B_S_300PMU2_TR_92H6E_truck,
hds.SAM_SA_23_S_300VM_9S32ME_TR,
}
LAUNCHER_TRACKER_PAIRS = {
@ -57,6 +64,18 @@ LAUNCHER_TRACKER_PAIRS = {
AirDefence.S_200_Launcher: AirDefence.RPC_5N62V,
AirDefence.NASAMS_LN_B: AirDefence.NASAMS_Radar_MPQ64F1,
AirDefence.NASAMS_LN_C: AirDefence.NASAMS_Radar_MPQ64F1,
hds.SAM_SA_2__V759__LN_SM_90: AirDefence.SNR_75V,
hds.SAM_HQ_2_LN_SM_90: AirDefence.SNR_75V,
hds.SAM_SA_3__V_601P__LN_5P73: AirDefence.Snr_s_125_tr,
hds.SAM_SA_10B_S_300PS_5P85SE_LN: hds.SAM_SA_10B_S_300PS_30N6_TR,
hds.SAM_SA_10B_S_300PS_5P85SU_LN: hds.SAM_SA_10B_S_300PS_30N6_TR,
hds.SAM_SA_12_S_300V_9A82_LN: hds.SAM_SA_12_S_300V_9S32_TR,
hds.SAM_SA_12_S_300V_9A83_LN: hds.SAM_SA_12_S_300V_9S32_TR,
hds.SAM_SA_20_S_300PMU1_LN_5P85CE: hds.SAM_SA_20_S_300PMU1_TR_30N6E,
hds.SAM_SA_20_S_300PMU1_LN_5P85DE: hds.SAM_SA_20_S_300PMU1_TR_30N6E,
hds.SAM_SA_20B_S_300PMU2_LN_5P85SE2: hds.SAM_SA_20B_S_300PMU2_TR_92H6E_truck,
hds.SAM_SA_23_S_300VM_9A82ME_LN: hds.SAM_SA_23_S_300VM_9S32ME_TR,
hds.SAM_SA_23_S_300VM_9A83ME_LN: hds.SAM_SA_23_S_300VM_9S32ME_TR,
}
UNITS_WITH_RADAR = {

View File

@ -349,6 +349,12 @@ class Faction:
self.remove_preset("SA-23/S-300VM")
self.remove_preset("SA-17")
self.remove_preset("KS-19")
self.remove_preset("HQ-2")
self.remove_preset("SA-2/S-75 V-759/5V23")
self.remove_preset("SA-3/S-125 V-601P/5V27")
self.remove_vehicle("SAM SA-14 Strela-3 manpad")
self.remove_vehicle("SAM SA-24 Igla-S manpad")
self.remove_vehicle("Polyana-D4M1 C2 node")
def remove_aircraft(self, name: str) -> None:
for i in self.aircrafts:

View File

@ -48,6 +48,7 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"HQ-2",
"SA-6",
"SA-11",
"HQ-7",

View File

@ -42,7 +42,9 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Cold-War-Flak"
],

View File

@ -47,6 +47,7 @@
"preset_groups": [
"Hawk",
"SA-2/S-75",
"HQ-2",
"Rapier",
"Silkworm",
"Cold-War-Flak"

View File

@ -57,6 +57,7 @@
"Hawk",
"SA-5/S-200",
"SA-2/S-75",
"HQ-2",
"SA-6",
"SA-11",
"Rapier",

View File

@ -55,7 +55,9 @@
],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Cold-War-Flak"
],

View File

@ -43,7 +43,9 @@
"preset_groups": [
"SA-5/S-200",
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Rapier",
"HQ-7"

View File

@ -48,7 +48,9 @@
"preset_groups": [
"SA-5/S-200",
"SA-2/S-75",
"HQ-2",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6"
],
"naval_units": [

View File

@ -43,6 +43,7 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"HQ-2",
"SA-11",
"HQ-7",
"SA-10/S-300PS"

View File

@ -67,6 +67,7 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"HQ-2",
"SA-6",
"SA-11",
"HQ-7",

View File

@ -69,6 +69,7 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-6",
"SA-11",
"HQ-7",

View File

@ -51,7 +51,9 @@
],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Cold-War-Flak"
],

View File

@ -52,7 +52,9 @@
"preset_groups": [
"SA-5/S-200",
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Cold-War-Flak"
],

View File

@ -57,7 +57,9 @@
"missiles": [],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"SA-11",
"SA-10/S-300PS",

View File

@ -41,7 +41,9 @@
],
"preset_groups": [
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"Cold-War-Flak"
],

View File

@ -56,7 +56,9 @@
"preset_groups": [
"SA-5/S-200",
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"SA-11",
"SA-17",

View File

@ -57,7 +57,9 @@
"preset_groups": [
"SA-5/S-200",
"SA-2/S-75",
"SA-2/S-75 V-759/5V23",
"SA-3/S-125",
"SA-3/S-125 V-601P/5V27",
"SA-6",
"SA-11",
"SA-10/S-300PS",

View File

@ -0,0 +1,9 @@
name: HQ-2
tasks:
- MERAD
units:
- SAM P19 "Flat Face" SR (SA-2/3)
- SAM SA-2 S-75 "Fan Song" TR
- SAM HQ-2 LN SM-90
layouts:
- 4 Launcher Site

View File

@ -0,0 +1,9 @@
name: SA-2/S-75 V-759/5V23
tasks:
- MERAD
units:
- SAM P19 "Flat Face" SR (SA-2/3)
- SAM SA-2 S-75 "Fan Song" TR
- SAM SA-2 (V759) LN SM-90
layouts:
- 6 Launcher Site

View File

@ -0,0 +1,9 @@
name: SA-3/S-125 V-601P/5V27
tasks:
- MERAD
units:
- SAM P19 "Flat Face" SR (SA-2/3)
- SAM SA-3 S-125 "Low Blow" TR
- SAM SA-3 (V-601P) LN 5P73
layouts:
- 4 Launcher Site

View File

@ -0,0 +1,4 @@
class: Launcher
price: 6
variants:
SAM SA-3 (V-601P) LN 5P73: null

View File

@ -0,0 +1,4 @@
class: Launcher
price: 8
variants:
SAM HQ-2 LN SM-90: null

View File

@ -0,0 +1,5 @@
class: Manpad
spawn_weight: 1
price: 0
variants:
SAM SA-14 Strela-3 manpad: null

View File

@ -0,0 +1,5 @@
class: Manpad
spawn_weight: 1
price: 0
variants:
SAM SA-24 Igla-S manpad: null

View File

@ -0,0 +1,4 @@
class: Launcher
price: 8
variants:
SAM SA-2 (V759) LN SM-90: null

View File

@ -0,0 +1,4 @@
class: CommandPost
price: 14
variants:
Polyana-D4M1 C2 node: null