MetalStormGhost 140410f1ed
OH-6 Cayuse mod v1.2 support (#346)
Resolves #313

* Initial commit of OH-6 Modpack v1.2 + Vietnam Asset Pack v1 support.

* Added OH-6 Mod loadouts by @Starfire13

* Modified   pydcs_extensions/oh6_vietnamassetpack/oh6_vietnamassetpack.py
Added      resources/units/ground_units/vap_m35_truck.yaml
Added      resources/units/ground_units/vap_mule.yaml
Added      resources/units/ground_units/vap_mutt.yaml
Added      resources/units/ground_units/vap_mutt_gun.yaml
Added      resources/units/ground_units/vap_type63_mlrs.yaml
Added      resources/units/ground_units/vap_vc_bicycle_ak.yaml
Added      resources/units/ground_units/vap_vc_zis.yaml

* Modified   changelog.md
Modified   resources/factions/USA 1970 Vietnam War.json
Modified   resources/factions/USA 1971 Vietnam War.json
Modified   resources/units/ground_units/vap_mule.yaml
Added      resources/units/aircraft/OH-6A.yaml

* Added the OH-6 to factions and implemented the mod selection in the new game wizard. Added an icon an a banner.

* Modified   resources/units/aircraft/OH-6A.yaml

* Added icons for the Vietnam Asset Pack ground units. Also added an icon for the PT-76 since it was missing. Added a Viet Cong 1970s faction.

* Added      resources/units/ships/vap_us_seafloat.yaml

* Adjust tasking for OH-6A

OH-6A is only capable of Transport & Reconnaissance, but we can ignore this if the lead slot is a client. AI however will most likely not support this, but we can add Transport & Air Assault instead...

* Fix bug in configure task + client override fallback

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-07-22 20:53:14 +02:00

154 lines
2.6 KiB
Lua

local unitPayloads = {
["name"] = "OH-6A",
["payloads"] = {
[1] = {
["displayName"] = "Retribution BAI",
["name"] = "Retribution BAI",
["pylons"] = {
[1] = {
["CLSID"] = "{OH-6_M60_Door}",
["num"] = 11,
},
[2] = {
["CLSID"] = "<CLEAN>",
["num"] = 6,
},
[3] = {
["CLSID"] = "<CLEAN>",
["num"] = 7,
},
[4] = {
["CLSID"] = "{OH-6_M134_Minigun}",
["num"] = 8,
},
[5] = {
["CLSID"] = "{OH6_FRAG}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{OH6_SMOKE_BLUE}",
["num"] = 4,
},
[7] = {
["CLSID"] = "{OH6_SMOKE_GREEN}",
["num"] = 3,
},
[8] = {
["CLSID"] = "{OH6_SMOKE_RED}",
["num"] = 2,
},
[9] = {
["CLSID"] = "{OH6_SMOKE_YELLOW}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 17,
[2] = 35,
},
},
[2] = {
["displayName"] = "Retribution OCA/Aircraft",
["name"] = "Retribution OCA/Aircraft",
["pylons"] = {
[1] = {
["CLSID"] = "{OH6_XM158}",
["num"] = 10,
},
[2] = {
["CLSID"] = "{OH6_XM158}",
["num"] = 9,
},
[3] = {
["CLSID"] = "{OH6_FRAG}",
["num"] = 5,
},
[4] = {
["CLSID"] = "{OH6_SMOKE_BLUE}",
["num"] = 4,
},
[5] = {
["CLSID"] = "<CLEAN>",
["num"] = 6,
},
[6] = {
["CLSID"] = "<CLEAN>",
["num"] = 7,
},
[7] = {
["CLSID"] = "{OH6_SMOKE_GREEN}",
["num"] = 3,
},
[8] = {
["CLSID"] = "{OH6_SMOKE_RED}",
["num"] = 2,
},
[9] = {
["CLSID"] = "{OH6_SMOKE_YELLOW}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 35,
[2] = 17,
[3] = 31,
[4] = 15,
},
},
[3] = {
["displayName"] = "Retribution CAS",
["name"] = "Retribution CAS",
["pylons"] = {
[1] = {
["CLSID"] = "{OH-6 M60 Door}",
["num"] = 11,
},
[2] = {
["CLSID"] = "<CLEAN>",
["num"] = 6,
},
[3] = {
["CLSID"] = "<CLEAN>",
["num"] = 7,
},
[4] = {
["CLSID"] = "{OH-6 M134 Minigun}",
["num"] = 8,
},
[5] = {
["CLSID"] = "{OH6_FRAG}",
["num"] = 5,
},
[6] = {
["CLSID"] = "{OH6_SMOKE_BLUE}",
["num"] = 4,
},
[7] = {
["CLSID"] = "{OH6_SMOKE_GREEN}",
["num"] = 3,
},
[8] = {
["CLSID"] = "{OH6_SMOKE_RED}",
["num"] = 2,
},
[9] = {
["CLSID"] = "{OH6_SMOKE_YELLOW}",
["num"] = 1,
},
},
["tasks"] = {
[1] = 17,
[2] = 35,
},
},
},
["tasks"] = {
[1] = 35,
[2] = 17,
[3] = 31,
[4] = 15,
},
["unitType"] = "OH-6A",
}
return unitPayloads