Commit Graph

238 Commits

Author SHA1 Message Date
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
Raffson
3bdda3b852 Readd removed newline 2024-07-28 17:14:08 +02:00
Raffson
5bb70626d2 Revert unnecessary change 2024-07-28 17:08:01 +02:00
Raffson
65e529aa55 Merge branch 'dev' into pr/204 2024-07-28 15:57:38 +02:00
Raffson
0ecbd81a20 Revert yet another bogus change 2024-07-27 20:16:00 +02:00
tmz42
9e9ea09f70 Player Startup Time customization (#377) 2024-07-27 18:08:40 +02:00
Raffson
b2ae10ce6f Remove fuel restriction for FOB/FARPs
Probably why we end up with 3/4 of a tank on roadbases -_-
2024-07-21 22:48:26 +02:00
Raffson
2b65d2f800 Always use altitude in GroundSpeed.for_flight 2024-07-21 22:42:33 +02:00
Raffson
b7ad1048bd Perturb join waypoint for helicopters 2024-07-21 22:42:30 +02:00
Raffson
98b49d5fca Revert removed speed_between_waypoints overload 2024-07-21 22:42:30 +02:00
Raffson
e9d0273056 Attempt at fixing too slow helicopter speeds 2024-07-21 02:22:14 +02:00
Raffson
f405ffdfe2 Initial support for Armed Recon flight plan 2024-07-21 02:22:14 +02:00
MetalStormGhost
e88a4e1c51 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-20 19:21:06 +03:00
Raffson
6194ec7301 Move import outside of TYPE_CHECKING 2024-07-20 02:53:05 +02:00
Raffson
141fc642d5 Fix Anti-Ship being planned against original location 2024-07-20 01:26:10 +02:00
MetalStormGhost
1a6d73f055 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-05 12:06:53 +03:00
Raffson
4ca0137a24 Keep CAS & OCA/AC below cloud base if BKN/OVC
Partial #285
2024-06-30 19:35:33 +02:00
MetalStormGhost
7eb2c59b86 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-06-09 20:25:55 +03:00
Raffson
b2315efb6c Deepcopy of waypoints for cloned flights 2024-06-08 21:51:09 +02:00
MetalStormGhost
48861c53da Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-09 21:16:32 +03: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
MetalStormGhost
c11575fcff Added missing custom_waypoints parameter in PretenseCargoFlightPlan. 2024-05-04 09:27:17 +03:00
MetalStormGhost
c795ed01a0 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-03 11:19:48 +03:00
Raffson
185911942a Fine-tune Herc's AirAssault 2024-04-01 19:14:42 +02:00
Raffson
dd2fb432f2 Use initial point for Herc AirAssault ingress 2024-04-01 16:03:40 +02:00
Raffson
ab32c44b9d Ability to configure liveries on flight/flight-member level 2024-03-22 20:41:28 +01:00
Raffson
a7d65866e8 Fix A-10A payload bug leading to uneditable flight 2024-03-22 19:40:48 +01:00
Raffson
3cd1b2f80a Fine-tune target waypoints for Strike Eagle 2024-03-10 00:51:09 +01:00
Raffson
a9287809a3 Fix "White Flag #" strike target name 2024-03-09 23:25:50 +01:00
Raffson
ced97dff1e Transition to AGL below 5000ft 2024-03-09 22:33:02 +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
d484e133ce Revert "Force SEAD into threat-range"
This reverts commit 61b2d7c68e.
2024-03-03 01:39:27 +01:00
Raffson
61b2d7c68e Force SEAD into threat-range 2024-03-02 23:17:46 +01:00
MetalStormGhost
85db8c908e Restored compatibility of the Pretense generator after the timedelta -> datetime change and other changes caused by the Liberation merge/sync. 2024-02-25 12:40:42 +02:00
MetalStormGhost
765c85b639 Now generates one transport helicopter squadron for each control point which can operate one. Also implemented generating several Pretense cargo plane squadrons, defined by PRETENSE_AI_CARGO_PLANES_PER_SIDE. Cleaned up PretenseMissionGenerator.generate_air_units() a bit. 2024-02-25 12:39:44 +02:00
MetalStormGhost
aa641e1ff6 Added configuration constants for flights generated for Pretense. Fixed a bug which caused only one squadron per CP to be generated. Will now not generate Pretense cargo flights from Retribution off-map spawns, but instead will generate own air spawn points for them. Added a helper function initialize_pretense_data_structures(). 2024-02-25 12:39:39 +02:00
MetalStormGhost
992beb5f45 Fixed a type assignment in pretensecargo.py 2024-02-25 12:39:37 +02:00
MetalStormGhost
d965f90bb4 Implemented spawning of Pretense cargo aircraft. To support that, implemented a separate flight plan called PretenseCargoFlightPlan. Also, will now automatically generate transport squadrons for factions which don't have pre-defined squadrons for it, but have access to transport aircraft. 2024-02-25 12:39:34 +02:00
Raffson
b9230b6fb6 Improve travel-speeds for helicopters 2024-02-18 23:31:53 +01:00
Raffson
e5d199f20b Use ingress/arrival for helicopter join/split wpts 2024-02-18 15:56:05 +01:00
Raffson
fc467b62e0 Add comment 2024-02-18 13:23:19 +01:00
Raffson
781d611f17 Fix ground-seeking AirLift 2024-02-18 01:10:30 +01:00
Raffson
d901df4fa0 Remove more dead code 2024-02-18 01:10:29 +01:00
Raffson
6e4d1e9e5c Remove duplicate code...
Like... how did I miss this -_-
2024-02-17 17:41:56 +01:00
Raffson
47531cd9fa Avoid heli AirAssault seeking ground after ingress 2024-02-17 01:03:05 +01:00
Raffson
e0aeabb63a Use CTLD zones for drop-off 2024-02-16 18:54:49 +01:00
Raffson
63d05ea696 Preference option to prioritize custom Liberation payloads 2024-02-09 23:52:27 +01:00
Raffson
0edcd31367 Fix desync wrt off-map flights 2024-01-28 19:20:34 +01:00
Raffson
dad5e7c146 Fix TOT-offset issues 2024-01-28 17:39:46 +01:00