Add support for flyable OH-58D

Co-Authored-By: Starfire13 <72491792+Starfire13@users.noreply.github.com>
Co-Authored-By: zhexu14 <64713351+zhexu14@users.noreply.github.com>
This commit is contained in:
Raffson 2024-06-08 17:55:19 +02:00
parent 7f74203013
commit ec4f19e930
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
36 changed files with 530 additions and 0 deletions

View File

@ -40,6 +40,7 @@ from game.radio.channels import (
ViperChannelNamer,
WarthogChannelNamer,
PhantomChannelNamer,
KiowaChannelNamer,
)
from game.utils import (
Distance,
@ -116,6 +117,7 @@ class RadioConfig:
"a10c-legacy": LegacyWarthogChannelNamer,
"a10c-ii": WarthogChannelNamer,
"phantom": PhantomChannelNamer,
"kiowa": KiowaChannelNamer,
}[config.get("namer", "default")]

View File

@ -421,3 +421,16 @@ class PhantomChannelNamer(ChannelNamer):
@classmethod
def name(cls) -> str:
return "phantom"
class KiowaChannelNamer(ChannelNamer):
"""Channel namer for OH58D Kiowa Warrior"""
@staticmethod
def channel_name(radio_id: int, channel_id: int) -> str:
radio_name = ["UHF AM", "VHF AM", "VHF FM1", "VHF FM2"][radio_id - 1]
return f"{radio_name} Ch {channel_id}"
@classmethod
def name(cls) -> str:
return "kiowa"

View File

@ -0,0 +1,101 @@
local unitPayloads = {
["name"] = "OH58D",
["payloads"] = {
[1] = {
["name"] = "Retribution CAS",
["pylons"] = {
[1] = {
["CLSID"] = "OH58D_AGM_114_R",
["num"] = 5,
},
[2] = {
["CLSID"] = "OH58D_M3P_L500",
["num"] = 1,
},
},
["tasks"] = {
[1] = 16,
},
},
[2] = {
["displayName"] = "Retribution DEAD",
["name"] = "Retribution DEAD",
["pylons"] = {
[1] = {
["CLSID"] = "OH58D_AGM_114_R",
["num"] = 5,
},
[2] = {
["CLSID"] = "OH58D_AGM_114_L",
["num"] = 1,
},
},
["tasks"] = {
[1] = 16,
},
},
[3] = {
["displayName"] = "Retribution BAI",
["name"] = "Retribution BAI",
["pylons"] = {
[1] = {
["CLSID"] = "OH58D_AGM_114_R",
["num"] = 5,
},
[2] = {
["CLSID"] = "{M260_APKWS_M151}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 16,
},
},
[4] = {
["displayName"] = "Retribution OCA/Aircraft",
["name"] = "Retribution OCA/Aircraft",
["pylons"] = {
[1] = {
["CLSID"] = "{M260_APKWS_M151}",
["num"] = 5,
},
[2] = {
["CLSID"] = "{M260_APKWS_M151}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 16,
},
},
[5] = {
["displayName"] = "Retribution Escort",
["name"] = "Retribution Escort",
["pylons"] = {
[1] = {
["CLSID"] = "OH58D_AGM_114_R",
["num"] = 5,
},
[2] = {
["CLSID"] = "OH58D_FIM_92_L",
["num"] = 1,
},
},
["tasks"] = {
[1] = 16,
},
},
},
["tasks"] = {
[1] = 11,
[2] = 31,
[3] = 32,
[4] = 16,
[5] = 18,
[6] = 35,
[7] = 30,
[8] = 17,
},
["unitType"] = "OH58D",
}
return unitPayloads

View File

@ -29,6 +29,7 @@
"F/A-18C Hornet (Lot 20)",
"Mirage 2000C",
"OH-58D Kiowa Warrior",
"OH-58D(R) Kiowa Warrior",
"S-3B Viking",
"SA 342L Gazelle",
"SA 342M Gazelle",

View File

@ -31,6 +31,7 @@
"F/A-18C Hornet (Lot 20)",
"Mirage 2000C",
"OH-58D Kiowa Warrior",
"OH-58D(R) Kiowa Warrior",
"S-3B Viking",
"SA 342L Gazelle",
"SA 342M Gazelle",

View File

@ -49,6 +49,7 @@
"Mi-24P Hind-F",
"Mi-8MTV2 Hip",
"MiG-29S Fulcrum-C",
"OH-58D(R) Kiowa Warrior",
"SA 342L Gazelle",
"SA 342M Gazelle",
"Su-25T Frogfoot",

View File

@ -16,6 +16,7 @@
"F-4E Phantom II",
"F-4E-45MC Phantom II",
"OH-58D Kiowa Warrior",
"OH-58D(R) Kiowa Warrior",
"UH-1H Iroquois",
"UH-60A",
"UH-60L"

View File

@ -30,6 +30,7 @@
"F-16D Fighting Falcon (Block 50+)",
"F-16D Fighting Falcon (Block 50)",
"F/A-18C Hornet (Lot 20)",
"OH-58D(R) Kiowa Warrior",
"S-3B Viking",
"SH-60B Seahawk",
"UH-1H Iroquois",

View File

@ -35,6 +35,7 @@
"F/A-18E Super Hornet",
"F/A-18F Super Hornet",
"EA-18G Growler",
"OH-58D(R) Kiowa Warrior",
"S-3B Viking",
"SH-60B Seahawk",
"UH-1H Iroquois",

View File

@ -0,0 +1,13 @@
---
name: Australian Army
country: Australia
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- AUS Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: German Army
country: Germany
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- DE Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Spanish Army
country: Spain
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- ES Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: French Army
country: France
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- FR Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Greek Army
country: Greece
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- GR Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,29 @@
---
name: Croatian Air Force 393rd Helicopter Squadron
nickname: Night Owls
country: Croatia
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- HR 393EH 321
- HR 393EH 322
- HR 393EH 323
- HR 393EH 324
- HR 393EH 325
- HR 393EH 326
- HR 393EH 327
- HR 393EH 328
- HR 393EH 329
- HR 393EH 330
- HR 393EH 331
- HR 393EH 332
- HR 393EH 333
- HR 393EH 334
- HR 393EH 335
- HR 393EH 336
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Israeli Army
country: Israel
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- ISR Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Japanese Army
country: Japan
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- JPN Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Dutch Army
country: Netherlands
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- NL Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Polish Army
country: Poland
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- PL Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Russian Army
country: Russia
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- RU Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,16 @@
---
name: Tennessee National Guard 1-230th Air Cavalry Squadron
nickname: Pink Fuzzy Bunnies of Death
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US Tennessee ANG 1-230 113
- US Tennessee ANG 1-230 152
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Tunisian Army
country: Tunisia
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- TUN Army
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: Taiwanese Army
country: Taiwan
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- TWN Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: British Army Air Corps Desert
country: UK
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- UK Army Fictional Desert
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,13 @@
---
name: British Army Air Corps
country: UK
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- UK Army Fictional
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,18 @@
---
name: US Army 17th Cavalry Regiment 3rd Squadron Troop C
nickname: Crazy Horse
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 3-17 C 001 Jasmine
- US 3-17 C 179 Presley Marie
- US 3-17 C 561 Ariel
- US 3-17 C 976 Jenny
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,16 @@
---
name: US Army 17th Cavalry Regiment 1st Squadron Troop B
nickname: Bootleg
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 1-17 B 024
- US 1-17 B 381
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,16 @@
---
name: US Army 6th Cavalry Regiment 1st Squadron Troop A
nickname: Fighting Sixth
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 1-6 A 161
- US 1-6 A 340
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,15 @@
---
name: US Army 17th Cavalry Regiment 3rd Squadron Troop B
nickname: Blackjack
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery:
- US 3-17 B 937 Iraq
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,18 @@
---
name: US Army 17th Cavalry Regiment 3rd Squadron Troop C
nickname: Crazy Horse
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 3-17 C 001 Jasmine
- US 3-17 C 179 Presley Marie
- US 3-17 C 561 Ariel
- US 3-17 C 976 Jenny
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,17 @@
---
name: US Army 17th Cavalry Regiment 6th Squadron
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 6-17 A 523 Iraq 2011
- US 6-17 A 571 Korea 2014
- US 6-17 B 366
- US 6-17 C 367
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,17 @@
---
name: US Army 6th Cavalry Regiment 6th Squadron
nickname: Fighting Sixth
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 6-6 C 179
- US 6-6 C 587
- US 6-6 C 971
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

View File

@ -0,0 +1,18 @@
---
name: US Army 17th Cavalry Regiment 7th Squadron Troop A
nickname: Shadow
female_pilot_percentage: 10
country: USA
role: Light Attack and Scout Helicopter
aircraft: OH-58D(R) Kiowa Warrior
livery_set:
- US 7-17 A 014 Bugs
- US 7-17 A 039 Lola
- US 7-17 A 964 Marvin
- US -17 A 604 Taz
mission_types:
- BAI
- CAS
- DEAD
- Escort
- OCA/Aircraft

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,46 @@
class: Helicopter
cabin_size: 0 # Can not transport troops
can_carry_crates: false # Can not carry crates
carrier_capable: true
description:
The Bell OH-58 Kiowa is a family of single-engine, single-rotor, military
helicopters used for observation, utility, and direct fire support. Bell Helicopter
manufactured the OH-58 for the United States Army based on its Model 206A JetRanger
helicopter. The OH-58 was in continuous U.S. Army service from 1969 to 2017, when
it was replaced in these roles by the Boeing AH-64 Apache and Eurocopter UH-72 Lakota.
The latest model, the OH-58D Kiowa Warrior, is primarily operated in an armed reconnaissance
role in support of ground troops. The OH-58 has been exported to Austria, Canada,
Croatia, the Dominican Republic, Taiwan, Saudi Arabia, and Greece. It has also been
produced under license in Australia.
introduced: 1983
lha_capable: true
manufacturer: Bell
origin: USA
price: 6
role: Light Attack/Forward Air Control
radios:
inter_flight: AN/ARC-164
intra_flight: AN/ARC-186(V) AM
channels:
type: common
namer: kiowa
intra_flight_radio_index: 2
inter_flight_radio_index: 1
default_overrides:
#NetCrewControlPriority: 0,
#Remove_doors: true,
PDU: true,
#Rifles: true,
#MMS_removal: false,
#Rapid_Deployment_Gear: false,
#ALQ144: false,
#importDrawings: true,
#tacNet: 1,
variants:
OH-58D(R) Kiowa Warrior: {}
tasks:
BAI: 470
CAS: 470
OCA/Aircraft: 470
DEAD: 50
Escort: 10