1087 Commits

Author SHA1 Message Date
Raffson
3f509a876e
#110 Ability to load/save settings
Also includes support for remaining enum/timedelta settings through the yaml file.
- timedelta's in minutes
- enum's should be written out: enumType.enumValue
2023-04-09 22:03:08 +02:00
Raffson
5916ed43d2
Allow definition of settings in campaign's yaml file
Resolves #92
2023-04-08 19:51:38 +02:00
Raffson
7a0ccd0076
Update JAS-39 2023-04-02 22:39:33 +02:00
Raffson
a04196b5be
Update Sufa to v3.6 2023-04-01 23:27:43 +02:00
Raffson
0c6c578e35
Filter units in deepcopy of faction instead 2023-03-18 21:29:35 +01:00
Raffson
e08f134c32
Cleanup unused imports 2023-03-18 21:20:46 +01:00
Raffson
918903f831
Fix plugins not loading properly after restart of app 2023-03-18 00:52:11 +01:00
MetalStormGhost
e2797fd796
F/A-18E/F/G Super Hornet mod support v2.1 (#84)
* Don't generate runway data for heliports.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2710.

* Remove dead code.

* Implemented support for Chiller Juice Studios F/A-18E/F/G Super Hornet mod

The Chiller Juice Studios Super Hornet mod works like this: it changes the stock F/A-18C Hornet into F/A-18E/F/G Super Hornet / Growler. The exact variant is selected with argument 999 in the livery description.lua, which is why I chose to add the three variants in the FA-18C_hornet.yaml. This way, we can use the squadrons mechanism in Liberation to select the appropriate variant by specifying the correct livery for the squadron.

Current properties injected are wingspan / width and the custom ordnance added by the mod.

Added F/A-18E/F/G banner by Schmokedpancake and F/A-18F icon.

Resolves https://github.com/dcs-liberation/dcs_liberation/issues/2681

* Added a separate loadout file for the Chiller Juice Studios F/A-18E/F/G Super Hornet mod. Currently only replaces the FPU-8A fuel tanks with FPU-12s.

* Added the possibility to use the AI variant of the F/A-18C in campaigns, allowing different loadouts and in the future, the Super Hornet mod alongside legacy Hornets in the same campaign.

* Updated Chiller Juice Studios F/A-18E/F/G Super Hornet mod support to version 2.0. Removed the 1.x version property and pylon injection since they are no longer necessary, since 2.0 adds the Super Hornet variants as separate aircraft. For the same reason, removed the AI-only F/A-18C from the faction files (still retained the aircraft yaml, loadout files and icon/banner in case someone still wants to use it).

Includes F/A-18E/F/G banner by Schmokedpancake, loadouts by @sgtfuzzle17 and F/A-18E/F icons.

* Added Super Hornet, Growler squadrons and Growler banner by @sgtfuzzle17
The squadrons include the model of the airframe in their name, so they can be referenced directly from campaign yaml files without the risk of conflicting with the same squadron of a different era, flying a different airframe.

Also updated the E and G model icons.

Resolves #77

* Fixed a bug with the EA-18G banner not being visible in Retribution. Also added the Super Hornet variants to factions bluefor_modern and Israel-USN_2005_Allied_Sword.

* Corrected the descriptions for tandem-seat Super Hornet variants.

* Updated Chiller Juice Studios F/A-18E/F/G Super Hornet mod support to version 2.1

* Anti-ship loadouts are now named properly.

* Update changelog.md

* Update QNewGameWizard.py

---------

Co-authored-by: Dan Albert <dan@gingerhq.net>
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-03-12 19:17:29 +00:00
MetalStormGhost
e827d6d1d0
Swedish Military Assets Pack v1.10 support (#90)
* Added a pydcs extension for Swedish Military Assets for DCS by Currenthill v1.10 (2022-11-01). Also added shipmod decorator for the ships added in the mod and remove_ship function in faction.py

* Added unit yamls for Swedish Military Assets for DCS by Currenthill v1.10 (2022-11-01)

* Added missing RBS-15 group yaml and Ag 90 Sniper Team unit yaml.

* Fixed swedishmilitaryassetspack imports.

* Renamed some unit yamls for Swedish Military Assets pack.

* Encoded LvKv9040.yaml in UTF-8.

* Encoded Grkpbv90.yaml in UTF-8.

* Encoded BV410*.yaml in UTF-8.

* Encoded CV9040.yaml in UTF-8.

* Fixed Strv103 yaml syntax.

* Encoded Strv2000.yaml in UTF-8.

* Renamed some unit yamls for Swedish Military Assets pack.

* Renamed BV410 air-defence units.

* Added Swedish short-range air defence groups.

* Added Swedish medium- and long-range air defence groups (LvS-103 batteries).

* Added icons for some Swedish Military Assets units.

* Added faction files for:
sweden_1997
sweden_2020
2023-03-12 18:31:14 +01:00
Raffson
eed514a432
Fix mistake during integration of Splash Damage 2.0
Lua plugin settings would always load the default values instead
2023-03-11 21:25:51 +01:00
Raffson
5b19e0fdcd
formatting 2023-03-05 23:44:47 +01:00
Raffson
6713ee155c
Migrate to Splash Damage v2.0 by RotorOps
Partial fix #64
2023-03-04 23:01:39 +01:00
Raffson
24d995828f
Handle corrupted preferences file
Partial fix dcs-liberation/dcs_liberation#2747
Includes pydcs bump since it contains the other half of the fix.
2023-03-04 14:10:51 +01:00
Raffson
f670ccd8a6
Initialize campaign values with first campaign in the list 2023-02-26 00:04:36 +01:00
Raffson
60de35ddf3
Re-create game-loop in case of abort
Fixes #96
2023-02-25 17:50:53 +01:00
Raffson
a4f5c290b5
Remove unused method 2023-02-18 21:07:27 +01:00
MetalStormGhost
04971f3f65
F-4 mod support update to v2.8.1.01 Standalone (#87)
Updated the VSN F-4 mod support to v2.8.1.01 Standalone + 29Jan23 Patch, which adds the land based F-4C variant. Includes banner by Datoneslav (used with permission) and the official VSN logo (also used with permission).
2023-02-15 20:24:24 +01:00
Raffson
d9967bda8f
Add logic for specification of ground_units in campaign yaml file
Resolves #22
2023-02-12 21:36:43 +01:00
Raffson
4f9a250a9e
Cleanup print statement 2023-02-12 16:18:38 +01:00
Raffson
75bc521fa5
Fixing Radios for Mirage-F1EE, Mi-8MT & Mi-24P 2023-02-11 21:52:51 +01:00
Raffson
b25f484ef3
More renaming of Liberation into Retribution 2023-02-05 12:05:27 +01:00
Raffson
d410f9d3c4
Formatting... 2023-02-02 21:41:01 +01:00
MetalStormGhost
2fb5f2b738 Updated the IDF Mods Project F-16I mod support to version 3.2 2023-01-26 15:37:48 +01:00
Raffson
0da431fe33
Cleanup print statement 2023-01-20 20:41:47 +01:00
Raffson
88f984b0a8
Configurable RF/TCN/ICLS/LINK4 with UI feedback
Resolves #70

Freq/Channel will turn orange when double booked.
Freq will turn red if GUARD freq was assigned.
2023-01-17 18:32:20 +01:00
MetalStormGhost
3313535b27
Add fallback terrain icons in campaign selector (#80) 2023-01-14 14:33:05 +00:00
Raffson
0a3a56d4bc
Propagate update_flight event in '_instant_relocate' instead
Dropped the ball here, and pretty hard too...
2023-01-13 22:26:59 +01:00
Raffson
7bae6cd562
Add package frequency
Part of #70
2023-01-13 22:26:58 +01:00
Raffson
e8151678dd
Fix UI bug in CreateFlight window
Pilot's player checkbox would be enabled for non-flyable aircraft if the initially selected aircraft that was flyable.
2023-01-13 22:26:58 +01:00
Raffson
2aed461b3a
Add custom name for packages in ATO overview
Resolves #55
2023-01-02 02:35:14 +01:00
Raffson
f4d75a2c6f
Allow edit of flight's custom name 2023-01-02 02:26:12 +01:00
Raffson
62d1a89269
Add clone buttons for flights & packages
Resolves #56
2023-01-02 01:04:30 +01:00
MetalStormGhost
42f488df0b
Renamed Liberation to Retribution in the following files: (#62) 2023-01-01 15:29:08 +01:00
Raffson
ee1fc53dd3
Add button to rename pilots in air wing 2023-01-01 00:46:31 +01:00
Raffson
192741af36
Make units selectable in faction overview during campaign gen
Resolves #35
Resolves #40
2022-12-31 23:27:11 +01:00
Raffson
39426dde45
Option to define culling exclusion radius in campaign yaml file 2022-12-27 22:29:08 +01:00
Raffson
d26fc84316
Automatically set 'herculescargo' plugin if present in air wing 2022-12-27 21:51:13 +01:00
Raffson
6966b14c6b
Minor bugfix in squadron transfer destination combobox 2022-12-27 21:51:12 +01:00
Raffson
00ab0c4be2
Add "Instant Squadron Transfer" cheat option
Resolves #14
2022-12-27 21:51:11 +01:00
MetalStormGhost
cdd72820b4
A-4E-C mod support v2.1.0 (#43)
* Updated a4ec.py to Community A-4E-C mod version 2.1.0

* Updated changelog.

Updated A-4E mod version in QNewGameWizard.py (#44)

Co-Authored-By: Raffson <Raffson@users.noreply.github.com>
2022-12-19 23:07:35 +01:00
Raffson
8ea7656362
Fix exception when trying to add extra waypoints 2022-12-17 16:02:28 +01:00
Raffson
436d2f87da
Add F-16A MLU
Resolves #10
2022-12-10 17:28:02 +01:00
Raffson
e9c1e7b770
Allow external links in Campaign/Faction description 2022-12-10 17:28:01 +01:00
MetalStormGhost
48e5e7ca95
F-100 Super Sabre mod version 2.7.18.30765 patch 20.10.22 support (#32)
Also makes F-105G "SEAD Escort" capabale
2022-12-10 17:24:22 +01:00
Raffson
6c673697f0
Fix livery overrides 2022-12-04 13:40:11 +01:00
Raffson
e38a6cd907
Support defining max frontline length in campaign
Resolve #25
2022-12-02 23:08:47 +01:00
RndName
8a17184ccc
Fix manual debrief submit not ending mission 2022-12-02 23:08:46 +01:00
Dan Albert
499e63e2c3
Unfilter the custom waypoint targets.
There doesn't appear to be any reason for us to be poking at
implementation details here aside from changing the name from "unit" to
"building" for that case. Just iterate over the known strike targets.

Making this change uncovered some latent type errors.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2564.
2022-11-26 17:38:00 +01:00
Dan Albert
bc8624d605
Remove dead code. 2022-11-26 17:37:59 +01:00
Dan Albert
72b594934e
Make the casualty report scrollable.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2567.
2022-11-26 17:37:58 +01:00