233 Commits

Author SHA1 Message Date
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
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
Druss99
09d7a4babf
Bugfix for UnitPaloads directory not found (#424)
* Bugfix for mission editor directory not found

* cleanup code
2024-12-09 21:45:51 +00:00
Raffson
4711473b64
Fix one-off in FlightWaypointList's indexes
Fixes #304
2024-10-12 18:33:10 +02:00
Raffson
5fdf38c663
Format with updated black 2024-10-12 17:33:01 +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
31630b4d42
Allow squadron switch in flight's edit-dialog 2024-06-09 00:52:09 +02:00
MetalStormGhost
dc52457d80 Off-map spawns are now ignored in on_pilot_selected(). 2024-06-08 14:01:17 +02:00
Raffson
0ab07c3878
Offset by 1 for UI 2024-05-25 23:42:58 +02:00
Raffson
f203a5cf7a
Babysteps towards full OPFOR control 2024-05-11 23:23:10 +02:00
Raffson
b61f625828
Fix bug in earlier bugfix -_- 2024-05-11 19:00:56 +02:00
Raffson
d3e1a1df92
Fix bug w.r.t. OffMapSpawn CPs starting cold 2024-05-11 17:26:36 +02:00
MetalStormGhost
a27663e4b6
Default start type for player flights (#303)
* Implemented a new option in settings: Default start type for Player flights.

* Updated changelog.

* Removed unnecessary country parameter.

* Restore missing parameter

* on_pilot_changed should emit pilots_changed in its finally block, otherwise the start-type isn't updated if you have a single client pilot which you switch to a non-client pilot.

Also implemented other changes suggested by @Raffson, such as a more streamlined start_type QComboBox handling and moving the pilots_changed Signal to FlightRosterEditor.

* Decouple Signal from QFlighStartType

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-05-09 10:19:30 +00:00
Raffson
ab32c44b9d
Ability to configure liveries on flight/flight-member level 2024-03-22 20:41:28 +01:00
Raffson
9303e1cb9e
Configurable cruise & combat altitude + randomized offsets (phase 1) 2024-03-04 00:01:29 +01:00
Raffson
7158a5e60d
Don't degrade flight-plan when adding waypoints 2024-03-03 13:43:33 +01:00
Raffson
dad5e7c146
Fix TOT-offset issues 2024-01-28 17:39:46 +01:00
Raffson
ade81f4548
Ability to set callsigns 2023-11-18 23:06:56 +01:00
Raffson
84c9098dba
Add missing colon in departure time 2023-10-15 12:27:42 +02:00
Raffson
3c921198af
PySide6 steamlining 2023-10-14 18:42:48 +02:00
Raffson
7adbe71475
Fix payload saver 2023-10-14 15:40:29 +02:00
Raffson
c4be00d11b
Migrate to PySide6 2023-10-08 00:53:51 +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
97ee6ba19f
Force dumping debug info on recreate.
We need a way to debug successful solvers that's still targeting to a
specific flight. This will do for now.
2023-10-07 17:07:57 +02:00
Raffson
60172d0e52
Streamlining 2023-10-07 15:23:29 +02:00
Dan Albert
47add7848f
Always re-enable loadout UI for member 0. 2023-10-07 14:42:51 +02:00
Dan Albert
0b7acbc94e
Fix synchronization of loadouts on change.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3111.
2023-10-07 14:42:51 +02:00
Dan Albert
c11b4149a0
Fix negative starts when changing TOT offsets. 2023-10-07 14:31:08 +02:00
Dan Albert
091d523516
Fix altering negative TOT offsets.
https://github.com/dcs-liberation/dcs_liberation/issues/3107
2023-10-07 14:31:04 +02:00
Dan Albert
62e43f1169
Clarify that the assigned code is for the TGP. 2023-10-07 14:13:52 +02:00
Dan Albert
dc22e0a577
Hide properties that have better controls.
The weapon laser codes can be set more easily from the weapon laser code
combo box. Setting the properties explicitly here will just cause
conflicts and annoying UI bugs. Hide those properties from the UI.
2023-10-07 14:13:52 +02:00
Dan Albert
51f578b9e3
Add UI for selecting weapon laser codes.
This makes it possible to have the right laser code set for hot start
aircraft that (typically) do not allow changing laser codes when the
engine is on.
2023-10-07 14:13:51 +02:00
Dan Albert
2a8f34ea25
Do not draw empty property rows. 2023-10-07 14:13:51 +02:00
Dan Albert
17e539e524
Add UI for acquiring/releasing TGP laser codes. 2023-10-07 14:06:13 +02:00
Dan Albert
177f357492
Pre-allocate laser codes for FLOTs and flights. 2023-10-07 14:06:12 +02:00
MetalStormGhost
54777a9045
Helicopter waypoint altitude configurable (#207)
* Helicopter waypoint altitude configurable

Added a new option in Settings: Helicopter waypoint altitude (feet AGL).
It sets the waypoint altitude for helicopters in feet AGL. In campaigns in more mountainous areas, you might want to increase this setting to avoid the AI flying into the terrain.

* black?

* Distinguish cruise/combat altitudes for helicopters

Also includes a refactor for WaypointBuilder so it doesn't need a coalition. It can already reference the coalition from the flight.

* Update changelog.md

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-10-02 18:54:21 +02:00
Raffson
226a171550
Fix missing argument exception 2023-10-02 17:50:55 +02:00
Raffson
d4eefd0b55
Streamlining 2023-10-01 21:56:30 +02:00
Dan Albert
485229b92f
Allow per pilot loadouts and properties.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3092.
2023-10-01 20:10:16 +02:00
Dan Albert
bce6a170b8
Improve UI for flight properties.
Use the new data from pydcs to improve the properties UI:

* Use human readable names
* Use appropriate control types
* Limit min and max values as appropriate for each property
* Show labels

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3090.
2023-10-01 19:28:52 +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
0cb3702eb9
Fix exception after new payload file was saved
When a new payload file would be saved, the subsequent flight would always throw an exception (until Retribution would be restarted) because the payload_cache wasn't updated until now.
2023-09-09 12:03:47 +02:00
Raffson
66d741d0b3
Allow user to add navigation waypoints where possible 2023-08-27 21:11:10 +02:00