Add the SH-60B Seahawk into the game.

It was requested in #759, and also carries the Penguin AShM, which could be fun.
This commit is contained in:
Simon Clark 2021-01-12 12:27:31 +00:00
parent a1136953d0
commit abbb046566
11 changed files with 39 additions and 0 deletions

View File

@ -19,6 +19,7 @@ from dcs.helicopters import (
SA342M,
SA342Minigun,
SA342Mistral,
SH_60B,
UH_1H,
UH_60A,
helicopter_map,
@ -325,6 +326,7 @@ PRICES = {
AH_64A: 24,
AH_64D: 30,
OH_58D: 6,
SH_60B: 6,
# Bombers
B_52H: 35,
@ -586,6 +588,7 @@ Following tasks are present:
* CAS - CAS aircraft
* Transport - transport aircraft (used as targets in intercept operations)
* AWACS - awacs
* AntishipStrike - units that will engage shipping
* PinpointStrike - armor that will engage in ground war
* AirDefense - AA units
* Reconnaissance - units that will be used as targets in destroy insurgents operations
@ -706,6 +709,9 @@ UNIT_BY_TASK = {
A_50,
KJ_2000
],
AntishipStrike: [
SH_60B
],
PinpointStrike: [
Armor.APC_MTLB,
Armor.APC_MTLB,
@ -1152,6 +1158,7 @@ PLANE_PAYLOAD_OVERRIDES: Dict[Type[PlaneType], Dict[Type[Task], str]] = {
AH_1W: COMMON_OVERRIDE,
AH_64D: COMMON_OVERRIDE,
AH_64A: COMMON_OVERRIDE,
SH_60B: COMMON_OVERRIDE,
Hercules: COMMON_OVERRIDE,
Su_25TM: {
@ -1234,6 +1241,7 @@ CARRIER_CAPABLE = [
AH_1W,
OH_58D,
UH_60A,
SH_60B,
SA342L,
SA342M,
@ -1250,6 +1258,7 @@ LHA_CAPABLE = [
AH_1W,
OH_58D,
UH_60A,
SH_60B,
SA342L,
SA342M,

View File

@ -13,6 +13,7 @@ from dcs.helicopters import (
SA342L,
SA342M,
UH_1H,
SH_60B,
)
from dcs.planes import (
AJS37,
@ -312,6 +313,7 @@ ANTISHIP_CAPABLE = [
AV8BNA,
Ju_88A4,
C_101CC,
SH_60B,
]

View File

@ -0,0 +1,18 @@
local unitPayloads = {
["name"] = "SH-60B",
["payloads"] = {
[1] = {
["name"] = "ANTISHIP",
["pylons"] = {
[1] = {
["CLSID"] = "{7B8DCEB4-820B-4015-9B48-1028A4195692}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 30,
},
},
["unitType"] = "SH-60B",
}
return unitPayloads

View File

@ -6,6 +6,7 @@
"aircrafts": [
"FA_18C_hornet",
"UH_1H",
"SH_60B",
"AH_1W"
],
"awacs": [

View File

@ -13,6 +13,7 @@
"A_10C",
"AV8BNA",
"UH_1H",
"SH_60B",
"AH_64D",
"Ka_50",
"B_52H",

View File

@ -13,6 +13,7 @@
"A_10A",
"AV8BNA",
"UH_1H",
"SH_60B",
"AH_64A",
"B_52H",
"B_1B",

View File

@ -13,6 +13,7 @@
"A_10C_2",
"AV8BNA",
"UH_1H",
"SH_60B",
"AH_64D",
"B_52H",
"B_1B",

View File

@ -13,6 +13,7 @@
"A_10C_2",
"AV8BNA",
"UH_1H",
"SH_60B",
"AH_64D",
"B_52H",
"B_1B",

View File

@ -13,6 +13,7 @@
"A_10C_2",
"AV8BNA",
"UH_1H",
"SH_60B",
"AH_64D",
"B_52H",
"B_1B",

View File

@ -9,6 +9,7 @@
"F_14B",
"S_3B",
"UH_1H",
"SH_60B",
"AH_1W"
],
"awacs": [

View File

@ -218,6 +218,9 @@
"SA342Mistral": [{
"default": "SA 342M Gazelle Mistral"
}],
"SH-60B": [{
"default": "SH-60B Seahawk"
}],
"SpitfireLFMkIX": [{
"default": "Spitfire LF Mk IX"
}],