263 Commits

Author SHA1 Message Date
Eclipse/Druss99
3d788e3ae8 fix numerous UI elements using is_ownfor 2025-10-19 19:34:38 +02:00
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
Raffson
1520c8c3a3
Attempt to improve SEAD with ARM 2025-03-30 21:48:09 +02:00
Raffson
89f159edcb
Fix FF-bug when interrupt is set to "At takeoff time" 2025-03-30 18:23:37 +02:00
Raffson
164873d3b1
Fix planning error in CAP-builder if no enemy airfields left 2024-12-31 20:11:18 +01:00
Raffson
ef77637c9a
Refactor patrol_duration for refueling flight-plans 2024-12-24 06:34:46 +01:00
Raffson
15e6f81bb5
Reference primary flight's RTB time for Escort's split wpt 2024-12-24 06:34:46 +01:00
Raffson
0e1f2e4185
Configurable BARCAP patrol duration in settings 2024-12-24 06:34:13 +01:00
Raffson
1a628888f7
AEWC optimizations
- setting for on-station time
- always include CVN carriers as targets
- autoplanner adjustment for continuous coverage
2024-12-24 06:34:12 +01:00
Raffson
f1dc431d2f
Fix scheduling issue for recovery tankers 2024-12-24 06:15:59 +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
Raffson
e02698d8a8
Autoplan Air-to-Air Escorts for AWACS & Tankers 2024-12-18 00:47:56 +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
Raffson
94baaecf8c
Fix TOT not changing after abort 2024-11-16 19:31:36 +01:00
Dan Albert
057f3fe53b
Don't allow changing TOT for started packages. 2024-11-16 19:28:23 +01:00
Raffson
6a5097659b
Sync package wpts when primary flight's wpts change
Also recreates all other flight-plans in the package to ensure JOIN, INGRESS & SPLIT are updated
2024-10-28 23:47:26 +01:00
Raffson
b124c6cc61
Fix nav_to for AirAssault
Depending on whether it's a Hercules with paratroopers or a helicopter, ingress' position is going to be different
2024-10-28 20:23:22 +01:00
Raffson
5fdf38c663
Format with updated black 2024-10-12 17:33:01 +02:00
Raffson
9bd6c6c404
Overload takeoff_time for PatrollingFlightPlan
Fixes bug where TARCAP get screwed TOTs due to a SEAD Sweep flight in a CAS package
2024-10-05 22:40:07 +02:00
Raffson
87ca233f20
Only pass air-defenses to IpSolver when creating package waypoints
Aims to solve an issue where waypoints would completely disregard air defenses and overfly them due to interference from airbase threat ranges...
2024-09-21 22:57:08 +02:00
Raffson
7a84181bbc
Add UI-zone for SEAD Sweep 2024-09-21 19:30:21 +02:00
Raffson
73d2f8fda1
Change ArmedRecon's task-priority when determining primary task 2024-09-15 22:05:42 +02:00
Raffson
7e8cbe0de2
Fix incorrect strike target location for TheaterUnit 2024-09-14 16:37:10 +02:00
tmz
9e2c5c06b9 Deleted __str__ from StartType to limit impact of change. 2024-08-15 22:27:14 +02:00
tmz
5b4ed979b1 Modified Planned Flights in airfield command to show startup type 2024-08-05 12:41:43 +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
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