This solves the bug where the default_livery would get overwritten with whatever value was already present from data that's loaded from the last campaign, which was usually set to None...
Possibly this also solves the bug where Armed Recon is suddenly not available anymore, because most likely the tasking was being overwritten as well...
The root cause of the issue are lines like "if aircraft in faction.all_aircrafts" that weren't working as intended, i.e. the condition would always fail. By implementing the __eq__ method we fix this issue, effectively making the default squadron assigner make use of squadrons instead of simply skipping them.
Unlocking the full potential, i.e. allowing users to switch back & forth between livery-sets, livery-overrides and normal liveries, including support for overriding flight/flight-member specific liveries.
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>
AI got a little better, at least that's what tests in AFG showed. The main issue is that helicopters tended to attack static objects, which we obviously don't want...