5691 Commits

Author SHA1 Message Date
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
8f384b35dc
Fix bug in waypoint tab
Seems like I gave some inaccurate feedback -_-
2024-12-18 00:47:56 +01:00
Raffson
e02698d8a8
Autoplan Air-to-Air Escorts for AWACS & Tankers 2024-12-18 00:47:56 +01:00
Raffson
d2fa027cdd
Fix outdated settings in campaign definitions 2024-12-17 14:44:28 +01:00
Starfire13
4c7aa8ddde
Red Sea Rising update (#431) 2024-12-17 14:25:40 +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
Raffson
06d3805946
Enable Supercarrier's LSO & Airboss stations 2024-12-16 19:59:59 +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
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
94a14f40cb
Fix bug w.r.t. enable/disable JTAC for OWNFOR 2024-12-08 17:32:25 +01:00
Starfire13
6d9478e0d4
Fix Harrier loadout conflict (#423)
GBU & Sidearm were causing conflicts
2024-12-08 16:51:33 +01:00
Starfire13
1c36d9ec75
Fix F-4E loadout w.r.t. GBU-8 (#422) 2024-12-07 21:43:06 +01:00
Raffson
772a15bab5
Enable/Disable JTAC for OWNFOR faction 2024-12-01 00:36:09 +01:00
Raffson
98f0c93012
Avoid recreating flight-plan when syncing package wpts 2024-11-24 17:44:01 +01:00
Starfire13
5e2f86de96
Add JTAC to Blufor Late Cold War (#418) 2024-11-21 21:26:02 +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
Starfire13
eb06a9a9e8
Update F-4E loadouts (#416) 2024-11-16 13:07:22 +01:00
Starfire13
a6b1805290
Update for Able Archer 83 (#417) 2024-11-16 13:03:47 +01:00
Raffson
08e55d9e43
Avoid autoplanning ArmedRecon against naval CPs 2024-11-15 18:53:43 +01:00
Starfire13
27c8f01853
Update Operation Peace Spring with new scenery targets (#415) 2024-11-14 18:59:18 +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
Raffson
aef931fc3a
Update pydcs for fix w.r.t. AFAK exception 2024-11-03 14:25:48 +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
7b9bdf84dc
Update beacons 2024-10-31 00:45:48 +01:00
Raffson
9e370e1d8d
Update pydcs 2024-10-31 00:44:16 +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
Starfire13
696e2dbbe8
Fix very outdated links (#409) 2024-10-29 22:14:42 +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
4711473b64
Fix one-off in FlightWaypointList's indexes
Fixes #304
2024-10-12 18:33:10 +02:00
Raffson
6ae32b13b8
Format missed files with black 2024-10-12 17:50:54 +02:00
Raffson
5c56e7f64e
Update npm packages 2024-10-12 17:33:01 +02:00
Raffson
5fdf38c663
Format with updated black 2024-10-12 17:33:01 +02:00