Skip to content

Commit

Permalink
Add Strike mission to KA-50 and add appropriate payloads. (#3470)
Browse files Browse the repository at this point in the history
This PR addresses #1434 by adding the Strike mission to KA-50 (both
playable variants) and adds appropriate default payloads.

#1434 requests DEAD mission type but that was already present.
  • Loading branch information
zhexu14 authored Nov 30, 2024
1 parent fefe57b commit d0d22b3
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Saves from 12.x are not compatible with 12.1.0.
## Fixes

* **[Data]** Added/updated CBU weapons data.
* **[Data]** Added Strike mission type for KA-50 (all playable variants).
* **[Mission Generation]** Fixed crash when using factions that have Eastern callsign conventions.

# 12.0.0
Expand Down
27 changes: 26 additions & 1 deletion resources/customized_payloads/Ka-50.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,32 @@ local unitPayloads = {
},
},
["tasks"] = {
[1] = 31,
[1] = 29,
},
},
[5] = {
["displayName"] = "Liberation Strike",
["name"] = "Liberation Strike",
["pylons"] = {
[1] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 4,
},
},
["tasks"] = {
[1] = 32,
},
},
},
Expand Down
27 changes: 26 additions & 1 deletion resources/customized_payloads/Ka-50_3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,32 @@ local unitPayloads = {
},
},
["tasks"] = {
[1] = 31,
[1] = 29,
},
},
[5] = {
["displayName"] = "Liberation Strike",
["name"] = "Liberation Strike",
["pylons"] = {
[1] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 1,
},
[2] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 2,
},
[3] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 3,
},
[4] = {
["CLSID"] = "{37DCC01E-9E02-432F-B61D-10C166CA2798}",
["num"] = 4,
},
},
["tasks"] = {
[1] = 32,
},
},
},
Expand Down
1 change: 1 addition & 0 deletions resources/units/aircraft/Ka-50.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ tasks:
BAI: 430
CAS: 430
DEAD: 113
Strike: 200
OCA/Aircraft: 430
hit_points: 15
1 change: 1 addition & 0 deletions resources/units/aircraft/Ka-50_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ tasks:
BAI: 440
CAS: 440
DEAD: 114
Strike: 200
OCA/Aircraft: 440
hit_points: 15

0 comments on commit d0d22b3

Please sign in to comment.