2095 Commits

Author SHA1 Message Date
MetalStormGhost
ec7982f181 Replaced OCA/Runway and OCA/Aircraft mission with Strike missions in the Pretense generator, in order to allow for Pretense campaigns where one (or both) side only has one airbase with a runway. 2024-07-05 12:51:22 +03:00
MetalStormGhost
81ad559ca1 Pretense generator now handles Severomorsk-1 and Severomorsk-3 correctly. 2024-07-05 12:51:22 +03:00
MetalStormGhost
081c981c86 The squadrons are now re-shuffled between different mission types in generate_pretense_aircraft. 2024-07-05 12:51:21 +03:00
MetalStormGhost
e704d2aa53 Large ground spawn support in PretenseMissionGenerator. 2024-07-05 12:29:19 +03:00
MetalStormGhost
59fa77e10b Large ground spawn support in PretenseAircraftGenerator. 2024-07-05 12:23:42 +03:00
MetalStormGhost
2b62f5919f Large ground spawn support in PretenseFlightGroupSpawner. 2024-07-05 12:14:47 +03: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
24fc438fda
Fix save-compat issue 2024-07-02 18:42:43 +02:00
MetalStormGhost
07cc85f6fa
Large aircraft ground spawns (#237)
* Large aircraft ground spawns

Added the ability to add separate ground spawns for C-130 and other large aircraft to campaigns. Implemented on @holyorangejuice 's request.

Large aircraft ground spawns are added to the campaign by placing a C-130 on the ramp, just like an A-10 or AJS37 previously. Note: use the stock DCS C-130, so the campaign miz can be safely opened without the C-130 mod (or any other mod) installed. Not the C-130J player-flyable transport, not the KC-130J tanker included in the UH-60L mod etc.

Large planes (wingspan more than 40 meters, such as the C-130):
- First try spawning on large ground spawns
- Then try the regular airfield ramp spawns

Below 40 meter wingspan aircraft:
- First try spawning on regular or roadbase ground spawns
- Then try the regular airfield ramp spawns
- Then, if both of the above fail, use the large ground spawns

* Specify explicit black version 23.9.1 to fix lint error.

* Update lint.yml

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-07-01 20:26:50 +00:00
MetalStormGhost
4762b490c0
Su-15 Flagon mod v1.0 support (#345)
* Su-15 Flagon mod v1.0 support

Implemented support for Su-15 Flagon mod version 1.0 by Marco1985_IT.

* Replaced the external fuel tanks with gunpods in Su-15 loadouts and added gunfighter: true
2024-06-30 22:05:45 +02:00
Raffson
4ca0137a24
Keep CAS & OCA/AC below cloud base if BKN/OVC
Partial #285
2024-06-30 19:35:33 +02:00
Raffson
6dc5296130
Disband squadrons sinking with ship + Sink/Resurrect cheat 2024-06-30 02:09:08 +02:00
Raffson
08de46a3b6
Restore missing weapon-injections
Restores functionality that was lost in 0ec375a
2024-06-17 19:19:56 +02:00
Raffson
9c820f12cf
Assign SEAD-Sweep task priorities if missing
Restores behavior that got lost in 0ec375a
2024-06-17 19:19:10 +02:00
Raffson
c22f7cbff3
Overhaul redeployment of units after base-capture(s) 2024-06-15 23:40:16 +02:00
MetalStormGhost
7f7821f878 Stop the execution of the pretense_extra_zone_connections in case no more connected points can be found in the campaign. Should fix an error which prevents campaign generation. 2024-06-11 19:35:45 +03:00
MetalStormGhost
00356ea3ec
EA-6B Prowler mod version 2.9.4.102 support (#337) 2024-06-09 20:02:04 +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
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