2277 Commits

Author SHA1 Message Date
Raffson
b2315efb6c
Deepcopy of waypoints for cloned flights 2024-06-08 21:51:09 +02:00
Raffson
d190d23655
Avoid scrubbing flights if escorts are unplannable 2024-06-08 18:55:28 +02:00
Raffson
ec4f19e930
Add support for flyable OH-58D
Co-Authored-By: Starfire13 <72491792+Starfire13@users.noreply.github.com>
Co-Authored-By: zhexu14 <64713351+zhexu14@users.noreply.github.com>
2024-06-08 18:13:05 +02:00
Starfire13
68bdb86c71
Add NASAMs to MERAD unit list for campaign template (#334) 2024-06-08 10:37:24 +02:00
Raffson
b501009285
Skip completed flights during mission generation 2024-06-01 21:17:06 +02:00
Raffson
c399002d1d
Cleanup missed print statement 2024-06-01 21:17:06 +02:00
Raffson
8c9f62a2fb
Add extra condition to preferred client start-type 2024-06-01 21:17:05 +02:00
Raffson
f88c103db5
Send events for AirLifts cancelled through PTD 2024-06-01 20:31:17 +02:00
MetalStormGhost
8df77dec2a Fixed a bug where Pretense campaign generation would hang if the campaign had off-map spawns. 2024-06-01 16:59:30 +03:00
MetalStormGhost
28efecc03a Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-06-01 16:49:58 +03:00
MetalStormGhost
25e2da2b91 Pretense should always use Client slots. 2024-06-01 16:45:15 +03:00
MetalStormGhost
b801136145 Updated pretenseluagenerator.py for the latest pydcs. 2024-05-28 18:59:09 +03:00
MetalStormGhost
0fd0e2c3c2 Added function return type annotation to pretense_trimmed_cp_name() 2024-05-28 18:40:25 +03:00
MetalStormGhost
bfe008775d Implemented PretenseNameGenerator.pretense_trimmed_cp_name to remove Scandic characters from Pretense zone names. 2024-05-28 18:40:25 +03:00
Raffson
7802ab992e
Follow-up on F-4E-45MC
- missing radio config
- missing stored heading alignment
2024-05-27 23:53:10 +02:00
MetalStormGhost
9775d3b97c Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-26 22:06:19 +03:00
Raffson
b3f9cdfa74
Fix SunTime exceptions if sun doesn't rise of set 2024-05-25 23:42:57 +02:00
Raffson
ee1a0cc9f1
Fix save compat issue 2024-05-25 02:32:50 +02:00
Raffson
c09a5b68d5
Pydcs update for Phantom II
Save compat changes included
2024-05-24 21:30:48 +02:00
M Chimiste
c947ac0ef1
Support for VSN F-106 Delta Dart (#319)
* Add Delta Dart

* Added Banners and Icons

* Add loadouts

* Update f106.py

* Update f106.py

* Update VSN_F106A.yaml

* Update VSN_F106B.yaml

* Added the F-106 Delta Dart to factions. Also, replaced the banner with one by datoneslav, used with permission. Includes the official VSN logo (also used with permission). Also tweaked the backgrounds of the icons to blue to match the other aircraft.

* Added changelog entry.

* Add files via upload

---------

Co-authored-by: MetalStormGhost <ghosti@smytky.org>
2024-05-21 23:03:53 +02:00
Raffson
b07aae3d6e
Allow [start, end] times for Night to traverse midnight
Daytime mapping entries like [23, 2] were causing trouble, for which the following fix was implemented...
2024-05-20 17:11:27 +02:00
Starfire13
562be59765
UI consistency fixes (#306)
* Update settings.py

Replace blue/red with ownfor/opfor
Also replaced all the NMI with NM. NMI is used by IEEE. NM is used by the military.
Also added in two missing periods.

* Update QSettingsWindow.py

Changed Red ATO to OPFOR ATO

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-05-20 15:06:18 +00:00
MetalStormGhost
c4d2f0e833 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-19 19:04:37 +03:00
Raffson
cbd90a5e36
Sync MapZones when changing campaigns 2024-05-18 21:13:32 +02:00
Raffson
0f612ac9d9
Final preparations for Lappi 2024-05-18 20:15:43 +02:00
Raffson
f203a5cf7a
Babysteps towards full OPFOR control 2024-05-11 23:23:10 +02:00
MetalStormGhost
150a4dde49 Added missing call squadron: Optional[Squadron] = None to help avoid reference before assignment error. 2024-05-10 12:46:27 +03: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
85f4f66f21 pretenseaircraftgenerator.py now obeys the new setting Default start type for Player flights. 2024-05-09 20:57:29 +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
04e60fb08d
Ramon Airbase hack (#309) 2024-05-08 21:52:12 +02:00
MetalStormGhost
16377fe563 Added Iron Dome & David's Sling sites to Pretense generator. 2024-05-07 15:20:55 +03:00
MetalStormGhost
e34a8c7875 Renamed CTLD plugin settings to Retribution
Renamed CTLD plugin settings to Retribution, as well as some other miscellaneous files too.
2024-05-05 11:04:56 +02:00
MetalStormGhost
557b441d13 Replaced expend=AI.Task.WeaponExpend.ONE with expend=AI.Task.WeaponExpend.QUARTER on CAS and BAI flights. Added HQ7 (Crotale) sites to Pretense generator. Also, added logistics units to most SAM sites to ensure that launchers have access to missile/ammunition resupply. 2024-05-04 09:27:36 +03:00
MetalStormGhost
c11575fcff Added missing custom_waypoints parameter in PretenseCargoFlightPlan. 2024-05-04 09:27:17 +03:00
MetalStormGhost
cbd230862f Air-start supersonic AI aircraft if the campaign is being flown in a WWII terrain. This will improve these terrains' use in cold war campaigns.
Air-start AI fixed wing (non-VTOL) aircraft if the campaign is being flown in the South Atlantic terrain and the airfield is one of the Harrier-only ones in East Falklands. This will help avoid AI aircraft from smashing into the end of the runway and exploding.
2024-05-04 09:26:02 +03:00
MetalStormGhost
e69708ada9 Removed Retribution convoys from Pretense campaigns. Removed deep copies of both coalitions when saving the pre-Pretense generation backup. 2024-05-04 09:24:56 +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
79d79645b0
Make sure escort task is added if flight has passed IP 2024-05-01 17:06:25 +02:00
Raffson
4b75913420
Insert orientation waypoint at/after IP
As a result of using fast-forward, AI flights are already oriented towards SPLIT, which slows things down during mission start. The escorts tend to go all over the place because of this...
2024-05-01 17:06:25 +02:00
Raffson
0ffe2f11bc
Add guard before custom kneeboard injection 2024-05-01 14:12:23 +02:00
MetalStormGhost
40a01218dd Implemented saving of a Pretense pre-generation backup save before generating a Pretense campaign. 2024-05-01 11:01:59 +03:00
Raffson
4043e2452f
Custom kneeboard injection
Drop custom kneeboards in SavedGames/DCS/Retribution/Kneeboards as you would normally do, i.e. using the necessary folders if kneeboards are aircraft-specific
2024-04-28 21:21:01 +02:00
Raffson
71965e7183
Fix exception after suntime update 2024-04-28 21:21:00 +02:00
Raffson
19523e35cf
Fine-tune Strike-ingress waypoint tasks 2024-04-28 21:20:59 +02:00
Raffson
09ddc3c3c6
Fix flight-plans no longer being highlighted
Bug introduced as part of the upgrade to Python 3.11?
2024-04-14 14:15:02 +02:00
Raffson
a7e4cad3b7
mypy update + fix 2024-04-13 16:15:33 +02:00
Raffson
327c934ed3
Properly determine Carrier/LHA TGO in apply_carrier_config
The first ground object of a naval control-point isn't always the CV or LHA, but can also be a different TGO if 1 or more TGOs are linked to the naval control point.
2024-04-07 17:15:41 +02:00
Raffson
d2fd7bbb4e
Configurable carriers 2024-04-07 00:12:08 +02:00
MetalStormGhost
0a7b885626 Now will not call CarrierMap:new() when game.settings.pretense_controllable_carrier is disabled. 2024-04-06 20:27:39 +03:00