448 Commits

Author SHA1 Message Date
Raffson
94baaecf8c
Fix TOT not changing after abort 2024-11-16 19:31:36 +01:00
Raffson
5fdf38c663
Format with updated black 2024-10-12 17:33:01 +02:00
Raffson
d44218ba55
Invalidate squadron livery if not found or incompatible 2024-08-25 15:53:35 +02:00
Raffson
f79e96a474 Further improvements to livery-selector
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.
2024-08-03 19:42:45 +02:00
tmz
b1efaf6448 Squadron Livery Selector : Allow to show all liveries even if squadron is using livery set in the selector when in the Flight Payload Tab. 2024-08-03 19:42:45 +02:00
Raffson
ef0e6bb4f5
Account for default livery in QSuadronLiverySelector 2024-07-28 11:21:33 +02:00
Raffson
9f5db20195
Fix cloud-base selector initialization bug 2024-07-02 18:42:43 +02:00
Raffson
02161c02cf
Fix another weather selector bug -_- 2024-07-02 18:42:43 +02:00
Raffson
d0a1a01b12
Add last guard for weather selector, I hope... 2024-07-01 21:39:12 +02:00
Raffson
1df042fcc6
Fix possible None-exceptions in weather selector 2024-07-01 18:56:10 +02:00
Raffson
824312e19d
Allow changing time, date & weather
Resolves #103
2024-06-30 19:35:33 +02:00
Raffson
b2315efb6c
Deepcopy of waypoints for cloned flights 2024-06-08 21:51:09 +02:00
Raffson
3d6da6ae3d
Deselect flights on ATO change 2024-05-25 23:42:59 +02:00
Raffson
8482829f94
Fix bug in ATO panel where buttons remain disabled 2024-05-25 13:57:49 +02:00
Raffson
f203a5cf7a
Babysteps towards full OPFOR control 2024-05-11 23:23:10 +02:00
Raffson
3cd1b2f80a
Fine-tune target waypoints for Strike Eagle 2024-03-10 00:51:09 +01:00
Raffson
9f7c9eec14
Send new-flight events when cloning
Fix #268
2024-03-01 22:33:23 +01:00
Raffson
40a733e147
Fix win/loss not triggering when carriers are present 2024-02-18 01:10:29 +01:00
Raffson
cb68ff0df3
Configurable back-end port 2024-02-10 18:39:42 +01:00
Raffson
ade81f4548
Ability to set callsigns 2023-11-18 23:06:56 +01:00
Raffson
d3a56fa893
Remove unnecessary attribute 2023-10-15 17:32:32 +02:00
Raffson
3c921198af
PySide6 steamlining 2023-10-14 18:42:48 +02:00
Raffson
88a5179653
Streamlining 2023-10-08 01:12:45 +02:00
Raffson
c4be00d11b
Migrate to PySide6 2023-10-08 00:53:51 +02:00
Raffson
e04f23bf15
Streamlining 2023-10-07 22:46:16 +02:00
Dan Albert
59673e7911
Convert TOTs to datetime.
https://github.com/dcs-liberation/dcs_liberation/issues/1680
2023-10-07 21:09:25 +02:00
Dan Albert
d205e66fe4
Don't flag negative starts for active flights.
If the flight has already passed its start up time, this isn't a
negative start.
2023-10-07 19:01:11 +02:00
Dan Albert
f89ac52bf3
Clean up remaining Flight.from_cp users.
The preferred API for this has been `Flight.departure` for a while.
2023-10-01 19:26:20 +02:00
Raffson
3b7077e593
Use all modeled radio-bands in freq-selector 2023-09-30 17:46:28 +02:00
Raffson
4b4ec8d9ad
Add livery selector in SquadronDialog 2023-07-01 23:42:13 +02:00
Dan Albert
8ed843a9cf
Move and split up weather.py.
This is getting out of hand, and I'm about to make it worse.
2023-05-18 13:31:26 +02:00
Raffson
785beffee0
Cleanup after cherry-picking... 2023-05-14 21:37:24 +02:00
Dan Albert
f719e1cfe7
Add an option to prefer primary tasked aircraft.
We're still using mostly the same aircraft selection as we have before
we added squadrons: the closest aircraft is the best choice.

This adds an option to obey the primary task set by the campaign
designer (can be overridden by players), even if the squadron is farther
away than one that is capable of it as a secondary task.

I don't expect this option to live very long. I'm making it optional for
now to give people a chance to test it, but it'll either replace the old
selection strategy or will be removed.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1892.
2023-05-14 20:33:55 +02:00
Raffson
75bc521fa5
Fixing Radios for Mirage-F1EE, Mi-8MT & Mi-24P 2023-02-11 21:52:51 +01:00
Raffson
d410f9d3c4
Formatting... 2023-02-02 21:41:01 +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
Raffson
2aed461b3a
Add custom name for packages in ATO overview
Resolves #55
2023-01-02 02:35:14 +01:00
Raffson
62d1a89269
Add clone buttons for flights & packages
Resolves #56
2023-01-02 01:04:30 +01:00
Raffson
8ea7656362
Fix exception when trying to add extra waypoints 2022-12-17 16:02:28 +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
cbc124eff6
Hide sim speed controls behind a flag.
Flag is only controlled from the command-line because redoing Qt layout
usually breaks things. Off by default in 6 since this feature is nowhere
near done enough to even be used experimentally (most changes to the ATO
made after the sim begins will break the game).

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2535.
2022-11-20 16:07:02 +01:00
Raffson
a736bf9b09
"Optimize Imports" in game & qt-ui
Adjustments made by PyCharm
2022-10-24 18:54:41 +02:00
Paul Dockar
303ae3ac14
Fix barely visible text in the Intel box 2022-10-23 17:48:01 +02:00
Raffson
009574e8d5
Change generated mission name 2022-10-02 19:56:43 +02:00
Dan Albert
38e2bf187f
Fix DaytimeMap error with disabled night missions.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2429
2022-09-17 14:35:08 +02:00
Dan Albert
4eadce7563
Simplify flight startup time calls.
We can always estimate a startup time now. Remove the nullability from
the result, cleanup the callsites, and eliminate
TotEstimator.mission_start_time since it no longer does anything useful.
2022-09-03 19:13:22 +02:00
Raffson
74142536e9
#978 2022-08-14 14:45:25 +02:00
RndName
aa77cfe4b9 Add AirAssault and Airlift mission types with CTLD support
- Add the new airassault mission type and special flightplans for it
- Add the mission type to airbase and FOB
- Add Layout for the UH-1H
- Add mission type to capable squadrons
- Allow the auto planner to task air assault missions when preconditions are met
- Improve Airlift mission type and improve the flightplan (Stopover and Helo landing)
- Allow Slingload and spawnable crates for airlift
- Rework airsupport to a general missiondata class
- Added Carrier Information to mission data
- Allow to define CTLD specific capabilities in the unit yaml
- Allow inflight preload and fixed wing support for air assault
2022-06-09 22:45:29 +02:00
RndName
41d1ae099f Consider priority order in Aircraft selector 2022-04-25 19:24:48 +02:00