Vietnam War Vessels Mod v0.9.0 integration (#435)

* vietnamwarvessels first batch

* Ship YAMLs

* aircraft yamls initial version, need more work

* initial helicopter yamls

* update aircraft yamls

* Added DDs Fletcher and Sullivans

* ship icons

* aircraft banners and icons

* no huts

* update py files to VWV v0.9.0

* update aircraft yamls, add vigilante

* added 2 ships for VWV v0.9.0

* mig-21mf yaml

* icons and banners additional units v0.9.0

* added VWV units to USA_1970 and Vietnam_1970 JSONs

* Revert "added VWV units to USA_1970 and Vietnam_1970 JSONs"

This reverts commit ed0b28dc36.

* A-1H yaml update

* mig-17 yaml update

* update helicopter yamls

* extension init

* weapon injections

* icon filenames _24 added

* removed tasks 0 from yamls

* hh2d yaml fix

* added VWV v0.9.0 to factions USA and Vietnam

* added max_range to aircraft yamls

* housekeeping

* Flyable to False - not available in mod version

* minor edits

* ignore test campaign

* deleted tasks

* weapon luas blue air

* added task numbers from task.py

* weapon luas red air

* task id numbers in comment

* switched weapon lua from aim-9J to aim-9D

* removed test campaigns

* update payload luas with payload names from flighttype.py

* Changed AIM-9D to 9B, 9D does not work

* removed air assault task for HH-2D

* Cva_31 added to runway_is_operational()

* CVA-31 added to naval_units in faction jsons

* add strike and cas tasks to ra-5c

* correct typo

* Added Armed Recon as task and payload to most a/c

* ignore pre-commit-config.yaml

* pre-commit-config

* black reformat controlpoint.py

* Added tasks to Vigilante (next to Recon) containing attack subtasks, which allow it to be scheduled for missions

* added ships to UNITS_WITH_RADAR

* remove pre-commit-config from gitignore

* added red aircraft to nva_1970 faction

* fixed black's complaint (two empty lines, should be one)
This commit is contained in:
Astro
2025-01-05 13:50:01 +01:00
committed by GitHub
parent e93ebbe78c
commit 4c9dba2fe5
62 changed files with 3510 additions and 9 deletions

View File

@@ -123,6 +123,7 @@ class NewGameWizard(QtWidgets.QWizard):
swedishmilitaryassetspack=self.field("swedishmilitaryassetspack"),
coldwarassets=self.field("coldwarassets"),
SWPack=self.field("SWPack"),
vietnamwarvessels=self.field("vietnamwarvessels"),
chinesemilitaryassetspack=self.field("chinesemilitaryassetspack"),
)

View File

@@ -158,6 +158,8 @@ class GeneratorOptions(QtWidgets.QWizardPage):
self.registerField("spanishnavypack", self.spanishnavypack)
self.irondome = QtWidgets.QCheckBox()
self.registerField("irondome", self.irondome)
self.vietnamwarvessels = QtWidgets.QCheckBox()
self.registerField("vietnamwarvessels", self.vietnamwarvessels)
self.chinesemilitaryassetspack = QtWidgets.QCheckBox()
self.registerField("chinesemilitaryassetspack", self.chinesemilitaryassetspack)
@@ -212,6 +214,7 @@ class GeneratorOptions(QtWidgets.QWizardPage):
("Su-57 Felon (build-04)", self.su57_felon),
("Super Étendard (v2.5.5)", self.super_etendard),
("UH-60L Black Hawk (v1.3.1)", self.uh_60l),
("Vietnam War Vessels (v0.9.0 by TeTeT)", self.vietnamwarvessels),
]
for i in range(len(mod_pairs)):
@@ -279,6 +282,7 @@ class GeneratorOptions(QtWidgets.QWizardPage):
self.swedishmilitaryassetspack.setChecked(
s.get("swedishmilitaryassetspack", False)
)
self.vietnamwarvessels.setChecked(s.get("vietnamwarvessels", False))
self.chinesemilitaryassetspack.setChecked(
s.get("chinesemilitaryassetspack", False)
)