2226 Commits

Author SHA1 Message Date
Raffson
3ef6ae20c7
Support for Bandit's cloud presets mod (v15) 2024-12-26 01:35:30 +01:00
Raffson
a9e784c0e3
Regroup settings per page in code 2024-12-25 23:40:06 +01:00
Raffson
ea09b6be32
Have BARCAP/TARCAP engage anti-ship/cruise missiles 2024-12-24 06:43:52 +01:00
Raffson
881228d273
Potentially useful method for Doctrine class... 2024-12-24 06:35:10 +01:00
Raffson
c75bf23701
Small cleanup 2024-12-24 06:35:10 +01:00
Raffson
020281bf80
Fine-tuning recovery tankers 2024-12-24 06:35:09 +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
8b03bc496d
Move tanker patrol duration setting to doctrine page 2024-12-24 06:34:46 +01:00
Raffson
add81472c6
Schedule 2 simultaneous BARCAPs over carriers 2024-12-24 06:34:45 +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
75c29dd907
Always plan & plan more BARCAP for carriers 2024-12-24 06:15:59 +01:00
Raffson
f1dc431d2f
Fix scheduling issue for recovery tankers 2024-12-24 06:15:59 +01:00
Raffson
db9cf441fb
Avoid autoplanner planning AirAssault against carriers 2024-12-24 06:15:58 +01:00
Raffson
a06e9d0ec7
Plan more ANTI-SHIP against ship-groups with air-defences 2024-12-24 06:15:58 +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
a4671571bc
Fix stupid mistake w.r.t. SC deck-crew sync -_- 2024-12-22 03:19:13 +01:00
Raffson
5470cb416c
Sync SC deck-crew option to miz' options 2024-12-21 19:07:05 +01:00
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
Druss99
266e69a6ce
Default settings support (#428) 2024-12-18 13:47:05 +01:00
Raffson
e02698d8a8
Autoplan Air-to-Air Escorts for AWACS & Tankers 2024-12-18 00:47:56 +01:00
Raffson
caf624832f
Small refactor 2024-12-16 19:59:49 +01:00
Raffson
cc90627ee5
Support for supercarrier deck-crew 2024-12-16 19:59:49 +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
98f0c93012
Avoid recreating flight-plan when syncing package wpts 2024-11-24 17:44:01 +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
Dan Albert
ce4c73098d
Add locking to some UI actions.
This is by no means complete. The bugs that this solves were already in
6.x, but we'd hidden the speed controls for the sim in that release, and
have always said that anything done after pressing "go" the first time
is undefined behavior. This is the first step on making those mid-sim
actions behave correctly.

UI actions such as creating a new package need to be executed between
ticks of the sim. We can either do this synchronously by blocking the UI
until the tick is done executing, acquiring a lock on the sim, executing
the action, then releasing the lock; or asynchronously by queueing
events and letting the sim execute them when it completes the current
tick (or instantly if the sim is paused).

Anything that comes from the new UI (currently just the map) must be
asynchronous because it goes through the REST API, but for the old UI
it's simpler (and because the lock will only be acquired as quickly as
the user can act, shouldn't slow anything down) to do this
synchronously, since it's difficult to use coroutines in Qt.

https://github.com/dcs-liberation/dcs_liberation/issues/1680
2024-11-16 19:09:42 +01:00
Raffson
08e55d9e43
Avoid autoplanning ArmedRecon against naval CPs 2024-11-15 18:53:43 +01:00
Raffson
84c4b992e0
Improve AGL to AMSL transition for naval waypoints
Some maps have inaccurate bounds for sea-zones, thus waypoints that end up being too close to the shore may keep using AGL which could still lead to trouble. Adding a condition to check whether a point is "not on land" will likely fix this issue for maps that have gaps between sea-zones and inclusion-zones around the shoreline...
2024-11-09 14:49:38 +01:00
Raffson
b5225f03a1
Fix #414
Since there's little difference between the two generators for `generate_plugin_data`, we'll have the pretense lua-generator call its super...
2024-11-08 21:02:08 +01:00
Chris Ella
add26ab18e fix: wrong runway repair message for player/enemy
fix #412
2024-11-05 12:41:04 +01:00
Cedric Menard
2091fdbb27
Add Mbot's Call Artillery Script plugin (#410)
* Add Mbot's Call Artillery Script plugin

* Applied PR comments

* Fix for wrong indentation, remove unused client skill check, added changelog item
2024-11-03 13:02:36 +00:00
Raffson
e959933861
Save-compat fix for Syria 2024-11-01 03:47:01 +01:00
Raffson
eaa73c84ae
Set preferred red-alert state for frontline units 2024-10-31 14:01:48 +01:00
Raffson
3147ae6e5c
Save-compat fix for South Atlantic 2024-10-31 00:55:58 +01:00
Raffson
e85d1e8ca2
AGL to AMSL option for naval waypoints
Introduce an option to switch waypoints to AMSL when waypoint is above water. DCS references the bottom of the sea when using AGL, which causes issues for helicopters when they try to fly at altitudes that are lower that the sea bottom, giving them a tendency to fly into the water...
2024-10-30 01:11:53 +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
4de7b1c923
Force utf8 encoding in TXT-briefing
Fix #408
2024-10-28 12:50:01 +01:00
Raffson
5fdf38c663
Format with updated black 2024-10-12 17:33:01 +02:00
Raffson
ff2ec07d83
Move constants from laypout.py to theathergroup.py
Should fix the "FIXED_POS_ARG not defined" error
2024-10-12 16:35:04 +02:00
Raffson
4aacc68f4a
Include layouts & groups from Saved Games folder
Partial #244
2024-10-06 22:33:01 +02:00
Raffson
4c3b16e1da
Support for fixed position & heading in layouts 2024-10-06 22:27:51 +02:00
Raffson
0770fafbcb
Save-compat fix for Syria airport rename
Amman is now Marka...
2024-10-06 12:41:51 +02:00
M Chimiste
169ef26329
Set Pretense Player Flight Waypoints to CPs (#385) 2024-10-06 01:12:02 +02:00
Raffson
59f98a4c16
Make combat landing configurable 2024-10-05 23:04:06 +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
44658f8eec
Skip EscortType for SEAD Sweep planned during CAS
Seems like the EscortType would cause the flight to be pruned if no IADS threats surround the CAS zone, but we'd like to plan it regardless to tackle air defenses along the front-line
2024-09-22 22:47:26 +02:00