1014 Commits

Author SHA1 Message Date
Eclipse/Druss99
31c80dfd02 refactor of previous commits
refactor to enum

typing and many other fixes

fix tests

attempt to fix some typescript

more typescript fixes

more typescript test fixes

revert all API changes

update to pydcs

mypy fixes

Use properties to check if player is blue/red/neutral

update requirements.txt

black -_-

bump pydcs and fix mypy

add opponent property

bump pydcs
2025-10-19 19:34:38 +02:00
Eclipse/Druss99
f82fc3a930 use aircraft display names instead of variant ids in faction editor 2025-10-12 19:53:01 +02:00
Eclipse/Druss99
96f940bc59 fix bugs with mixed parking 2025-10-12 19:01:07 +02:00
Eclipse/Druss99
e243d074ff su30 mod update 2025-09-20 19:36:41 +02:00
Drexyl
ea80ddc321
Update CJS Super Hornet Mod to 2.4.4 (#572)
* Update CJS Super Hornet Mod to 2.4.4

* Update UI for CJS Super Hornet Mod to 2.4.4

* Update default loadouts for CJS Super Hornet Mod to 2.4.4

* Update changelog.md for CJS Super Hornet Mod to 2.4.4

* Update Growler loadout for missing external fuel tank
2025-09-07 19:24:07 +02:00
Druss99
afad73ac27
Fix bugs while loading air wing configs (#552)
* fix bugs with air wing config loading

* add aircraft type to airwing config for better loading
2025-08-10 21:14:38 +02:00
Drexyl
b2670ba30b
Add Military Aircraft Mod 1.7.2 (#547) 2025-08-03 02:02:14 +02:00
Raffson
c32525b542
Formatting -_- 2025-07-13 19:05:10 +02:00
Raffson
ad100a1a17
Overrride WFMR-window's reject to properly reset game-state 2025-07-13 13:46:57 +02:00
Drexyl
4412a0fa91 Add Tornado F3 ADV (1.0) mod support 2025-07-13 13:35:53 +02:00
Drexyl
68a9dbd141
Update Grinnelli Designs F-22A Mod to 2.0.0 (May 2025) (#515) 2025-05-28 00:54:14 +02:00
szcz13
65f4a2cf86
Added new and updated weapons CLSIDs and payloads for MiG-31BM mod (#514) 2025-05-24 17:38:16 +02:00
Druss99
7b16967641
Prevent saving packages with Escorts only (#509)
Fixes a bug that would later pop up when trying to calculate start-times...
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-05-17 15:58:35 +00:00
szcz13
b12169f180
Update for MiG-31BM v2.6 (#512)
* Add files via upload

* Add files via upload

* Update start_generator.py

* Update faction.py

* Update QNewGameWizard.py

* Update QGeneratorSettings.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MiG-31BM.lua

* Added SEAD Escort to MiG-31BM.yaml

* mig31bm.py fixed weapon injection

* Update mig31bm.py

formatted black

* Update faction.py

reformatted black

* Update start_generator.py

reformatted black

* Update __init__.py

* Update QGeneratorSettings.py

reformatted black

* added support for MiG-31BM mod

* Commit changes which can't seem to be discarded...

* Remove (presumably) accidentally copied file

* Remove unused imports

* Updated MiG-31BM mod version in QGeneratorSettings.py

* Added new Kh-31P missile to MiG-31BM mod

* Added new Kh-31P missile to MiG-31BM mod

* Updated MiG-31BM mod payloads for a new Kh-31P.lua

* Remove double entry

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-05-17 15:55:05 +00:00
Raffson
3a5d0e831c
Formatting -_- 2025-05-10 16:40:57 +02:00
Raffson
e36f07a3ff
Preference option to set up preferences on every start (#503) 2025-05-07 20:02:21 +02:00
Raffson
2d65a038ee
Remove print statements 2025-05-06 17:24:29 +02:00
Raffson
c404ea83fc
Follow-up w.r.t. MiG-31BM by Szcs 2025-04-06 15:02:42 +02:00
szcz13
ffaf905bf6
MiG-31BM by szcz mod support (#496)
* Add files via upload

* Add files via upload

* Update start_generator.py

* Update faction.py

* Update QNewGameWizard.py

* Update QGeneratorSettings.py

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update MiG-31BM.lua

* Added SEAD Escort to MiG-31BM.yaml

* mig31bm.py fixed weapon injection

* Update mig31bm.py

formatted black

* Update faction.py

reformatted black

* Update start_generator.py

reformatted black

* Update __init__.py

* Update QGeneratorSettings.py

reformatted black

* added support for MiG-31BM mod

* Commit changes which can't seem to be discarded...

* Remove (presumably) accidentally copied file

* Remove unused imports

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-04-05 20:19:22 +00:00
MetalStormGhost
b671d520c9
Cold War assets mod v1.2 support (#482)
* Implemented support for the Cold War assets mod (ex Tu-16) v1.0 by tripod3

* Rename     resources/ui/units/aircrafts/banners/Tu-16.jpg (from resources/ui/units/aircrafts/banners/Tu_16.jpg)
Rename     resources/ui/units/aircrafts/banners/Tu-4K.jpg (from resources/ui/units/aircrafts/banners/Tu_4K.jpg)
Rename     resources/ui/units/aircrafts/icons/Tu-16_24.jpg (from resources/ui/units/aircrafts/icons/Tu_16_24.jpg)
Rename     resources/ui/units/aircrafts/icons/Tu-4K_24.jpg (from resources/ui/units/aircrafts/icons/Tu_4K_24.jpg)

Also added coldwarassets handling in ModSettings() call.

* Added a DEAD loadout for the Tu-22KD.

* Updated Cold War assets mod by tripod3 support to v1.2

* Modified   pydcs_extensions/coldwarassets/coldwarassets.py
Modified   resources/units/aircraft/B_47.yaml

* Modified   qt_ui/windows/newgame/WizardPages/QGeneratorSettings.py

* Added      resources/units/aircraft/Yak_28.yaml

* Added banners, icons, loadouts and unit yamls by Biggus for new Cold War Assets added in mod version 1.2.

* Removed the Tu-128 Fiddler from soviet_union_1965.json because the Tu-128M variant is a 1979 modernization.

* Remove CAS & Armed Recon from Yak-28

* Fix typo

* Add BAI & DEAD to Tu-4K

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-03-29 20:09:58 +00:00
Drexyl
889b7299d3
Add Cowboy's E-7A Wedgetail AI Mod (#495) 2025-03-26 20:40:07 +01:00
Raffson
2cb1695fb1
Shorten line for black -_- 2025-03-23 14:57:44 +01:00
Raffson
0e0f1ef315
Fix plugin-option exception on new-game
https://discord.com/channels/1015931619187621999/1352641851374571582
2025-03-22 22:46:33 +01:00
Drexyl
0a930fa2ce
Update F/A-18E/F/G Super Hornet Mod to 2.4.0 (#484)
* Update F/A-18E/F/G Super Hornet Mod to 2.4.0

* Update F/A-18E/F/G Super Hornet Mod to 2.4.0

* ECM Pods for E/A-18G Growler to allow EW Jammer 2.0 Plugin

* Update weapons classes for custom weapons

* Adjust default loadouts

* Update for Super Hornet 2.4.2

* Change Settings page to reflect 2.4.2

* Remove redeclared weapons

* Add Recovery-tasking to tankers

* Rewire new tankers to old tanker modsetting

* Small bugfix w.r.t. CLI-tool

* Save-compat fix: remap old Superbug_AITanker to FA_18ET

* Add empty line at EOF

* Revert "Add empty line at EOF"

This reverts commit 4a7f616e47ace330eec045adc9c0490a67aef7f2.

* Restore checkbox for AI Tankers

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-03-22 16:15:33 +00:00
Druss99
d4371ccbf6
CurrentHill Ukraine Assets Pack (#481) 2025-02-16 00:17:43 +01:00
MetalStormGhost
308805e09b
Mirage III mod version 2.5.7.01 support (#351)
* Implemented support for the Mirage III mod version 2.5.7.01.

* Switched the Mirage III CAS loadouts for bombs.

* Updated changelog.

* Modified   resources/factions/argentina_1982.json
2025-02-15 18:52:52 +01:00
Druss99
a76fe34f3f
CurrentHill USA military assets pack (#461)
* usa military assets pack

* minor fixes to have missiles

* tweak nasams 3

* fix preset groups bug

* adjust b-21 name

* Update faction.py

bugfixes will go in a different branch
2025-01-26 15:32:12 +01:00
Raffson
db73a3aa27
Align pilots in create-flight dialog 2025-01-19 20:53:50 +01:00
Starfire13
bb3c657158
Add in F-22A mod version number (#454) 2025-01-17 08:06:32 +01:00
Druss99
f07cc83c5b
CurrentHill Russian Military Assets Pack (#448) 2025-01-07 20:54:50 +01:00
Raffson
f112f227cc
Update armed forces when preset-group is added 2025-01-05 14:48:28 +01:00
Raffson
807bb16ddf
Save-compat improvements 2025-01-05 14:48:28 +01:00
Astro
4c9dba2fe5
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 ed0b28dc36c0d9c1a45a10689a3c419bd23ff258.

* 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)
2025-01-05 13:50:01 +01:00
Druss99
bc157630e9
China military assets support (#440) 2025-01-03 19:19:10 +01:00
Druss99
dd408f392b
Fix airwing config not properly saving or loading (#437)
* fix airwing config not properly saving or loading

* add helper message to save function

* bugfixes

* remove unnecessary import used during testing

* yet another forgotten import

* change raise error to log warning
2025-01-01 15:56:08 +01:00
Druss99
0d04e0c72e
Faction editor update (#434)
Resolves #166 

* init faction editor

* update persistency

* minor fixes

* typing smh

* small fixes

* forgot the changelog -_-
2024-12-31 00:24:12 +01:00
Raffson
ffe0ede285
Fix error while loading/setting campaign settings 2024-12-26 16:23:04 +01:00
Raffson
3ef6ae20c7
Support for Bandit's cloud presets mod (v15) 2024-12-26 01:35:30 +01:00
Raffson
1c5445c254
Add types in method's signature + formatting 2024-12-25 00:25:34 +01:00
Raffson
db3670b759
Fix NGW bug wrt missing plugin-options in campaign settings 2024-12-24 18:14:24 +01:00
Druss99
dd7e4c908e
Recovery tanker support (#429)
* fix conflict

* squash bugs and reuse patrol layout

* fix tanker tacan and formatting

* fix unlimited fuel option

* update pretense for tanker changes

* reuse refueling flight plan and bugfix for sunken carrier

changelog

* remove unitmap dependency

* formatting and more unit map removal

* more formatting

* typing and black

* keep tanker out of clouds

* fix if there are no clouds

* better cloud handling

* groundwork for recovery task

* remove changes to game/commander

* Finishing up recovery tankers

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-23 04:39:10 +00:00
Druss99
6d0dbd4d1c
Bugfix if settings directory doesn't exist (#432)
* bugfix if settings directory doesnt exist

* Create directories in persistency

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-21 16:44:31 +00:00
Druss99
266e69a6ce
Default settings support (#428) 2024-12-18 13:47:05 +01:00
Raffson
8f384b35dc
Fix bug in waypoint tab
Seems like I gave some inaccurate feedback -_-
2024-12-18 00:47:56 +01:00
Druss99
9d6f1552c8
Loadout selector bugfix (#430)
fix loadout selector being disabled if awacs or refueling is selected and then changed to something else
2024-12-17 14:23:30 +01:00
Eclipse/Druss99
aae4c905b9 Better handling of flights with no loadouts ex. Tankers 2024-12-16 03:11:21 +01:00
Raffson
64d60e5ccf
Datalink support + pydcs update
Support for 2.9.10.4160, though without Iraq, but finally there's some basic support for datalink...
2024-12-16 03:08:40 +01:00
Druss99
0eb06f9af5
Add TOT generation for all waypoints (#425) 2024-12-15 00:51:49 +01:00
Raffson
80b3af18df
Follow-up on loadout-selector in create-flight dialog 2024-12-14 23:54:02 +01:00
Druss99
3d778a1ce0
Add ability to select loadout on flight creation (#426)
* Add ability to select loadout on flight creation

* Add pylon info on hover and add default loadout autoselect

* move loadout selector to method

* Cleanup loadout delegate
2024-12-14 23:38:41 +01:00