dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
712 stars 185 forks source link

A-4E-C mod squadrons not being auto generated #1715

Closed rabauke80 closed 2 years ago

rabauke80 commented 2 years ago

Affected versions: Liberation 5.0.0-2994 preview & DCS 2.7.7.15038 Open Beta

Last known working versions: Liberation 5.0.0-2994 preview & DCS 2.7.7.14727 Open Beta

Describe the bug A-4E-C mod squadrons are gone - according to the wiki, a squadron should be auto-generated (https://github.com/dcs-liberation/dcs_liberation/wiki/Squadrons-and-pilots#generated-squadrons)

To Reproduce Steps to reproduce the behavior: see screenshots

image image image image image

image

rabauke80 commented 2 years ago

I tried creating a custom squadron to use with faction Israel 1982 vs. Syria 1982


name: 110th Squadron nickname: Knights of the North country: Israel role: Carrier-based Attack/Light Fighter aircraft: A-4E Skyhawk bases: carrier: false livery: "Israel IAF Knights of the North Squadron, 1973" mission_types:

IAF 110th Sqn.zip

Squadron gets detected w/o any mission type errors:

2021-11-06 16:10:13,986 :: DEBUG :: Found 110th Squadron A-4E Skyhawk Carrier-based Attack/Light Fighter compatible with Israel 1982

liberation.log

Still no A-4E-C squadron is being created at the beginning of the campaign image

rabauke80 commented 2 years ago

found the reason - since the A-4E-C by default is a carrier based aircraft and Israel 1982 has no carrier, the custom squadron is required to have "shore: true" set.

image

Bottom-line, works as designed, I will file a PR for the custom squadron to be integrated.