2161 Commits

Author SHA1 Message Date
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
Raffson
c5897950b6
Skip dead connections in IADS network
The "no skynet usable units" exception would get triggered when an IADS-node would form its connections. If one of those connections contained an IADS unit that was dead, the exception would get triggered since we weren't skipping "dead connections".
2024-04-06 17:39:27 +02:00
MetalStormGhost
64b1410de8 Implemented support for player controllable carriers in Pretense campaigns. This functionality can be enabled or disabled in settings, because the controllable carriers in Pretense do not build and deploy AI missions autonomously, so the old functionality is retained.
Added new options in settings:
- Carriers steam into wind
- Navmesh to use for Pretense carrier zones
- Remove ground spawn statics, including invisible FARPs, at airbases.
- Percentage of randomly selected aircraft types (only for generated squadrons)
intended to allow the user to increase aircraft variety.

Will now store the ICLS channel and Link4 frequency in missiondata.py CarrierInfo.

Implemented artillery groups as Pretense garrisons. Artillery groups are spawned by the Artillery Bunker. Will now also ensure that the logistics units spawned as part of Pretense garrisons are actually capable of ammo resupply.

Fixed the Pretense generator generating a bit too many missions per squadron. Ground spawns: Also hot start aircraft which require ground crew support (ground air or chock removal) which might not be available at roadbases. Also, pretensetgogenerator.py will now correctly handle air defence units in ground_unit_of_class(). Added Roland groups in the Pretense generator.
2024-04-06 15:46:11 +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
Raffson
4bbe28838d
Add livery_set to migrator 2024-03-24 13:29:05 +01:00
Raffson
52b25821af
Introduce livery-sets on squadron level
Randomly chooses one of the liveries defined if present in the squadron's yaml, overrides entry for "livery" or whatever is chosen in the UI except liveries on flight-member level
2024-03-23 21:29:01 +01:00
Raffson
6ee74cf079
Support for inline factions in campaign's yaml 2024-03-22 22:50:55 +01:00
Raffson
a56aa7a766
Support yaml factions 2024-03-22 21:13:45 +01:00
Raffson
ab32c44b9d
Ability to configure liveries on flight/flight-member level 2024-03-22 20:41:28 +01:00
Raffson
a7d65866e8
Fix A-10A payload bug leading to uneditable flight 2024-03-22 19:40:48 +01:00
Raffson
ae2f1dddf4
Fix save-compat issue 2024-03-17 00:57:34 +01:00
Raffson
7306427487
Preparations for v1.4.0 2024-03-16 19:23:39 +01:00
MetalStormGhost
e9832b5d82
Super Étendard mod support v2.5.5 (#273)
* Implemented support for the VSN Super Étendard v2.5.5

* Updated changelog and renamed the banner.

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-03-16 14:55:50 +00:00
MetalStormGhost
6204dd4e72
F9F Panther mod support (version v2.8.7.101) (#226)
* Added F9F Panther mod support (version v2.8.7.101). Still missing loadouts and icon+banner.

* Added missing import in pydcs_extensions/__init__.py

* Added a banner and icon for the F9F Panther, credit for the banner to Jim over at the Century Series Discord. VSN Century Series logo used with permission. Also added loadouts for the F9F Panther and fixed the mod settings for it.
2024-03-16 15:47:04 +01:00
Raffson
19daa1737e
Drop single bombs on statics again 2024-03-10 22:55:00 +01:00
Raffson
0b40f872bf
And now formatting -_- 2024-03-10 15:51:14 +01:00