Commit Graph

2044 Commits

Author SHA1 Message Date
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
Raffson
733e31c35a Fix mypy issue -_- 2024-03-10 15:49:27 +01:00
Raffson
fc9a1ad145 Use original trigger zone type for scenery targets 2024-03-10 14:52:28 +01:00
Raffson
94801f859a Formatting 2024-03-10 01:23:48 +01:00
Raffson
3cd1b2f80a Fine-tune target waypoints for Strike Eagle 2024-03-10 00:51:09 +01:00
Raffson
a9287809a3 Fix "White Flag #" strike target name 2024-03-09 23:25:50 +01:00
Raffson
ced97dff1e Transition to AGL below 5000ft 2024-03-09 22:33:02 +01:00
Raffson
c418d70d96 Lower minimum cruise & combat altitudes in doctrines 2024-03-09 22:33:02 +01:00
Raffson
c39d58f60b Add options: max mission distance for planes & helicopters 2024-03-09 22:33:01 +01:00
Raffson
eb6afbdf02 Ignore range when manually using auto-create 2024-03-09 22:31:47 +01:00
Raffson
9303e1cb9e Configurable cruise & combat altitude + randomized offsets (phase 1) 2024-03-04 00:01:29 +01:00
Raffson
7158a5e60d Don't degrade flight-plan when adding waypoints 2024-03-03 13:43:33 +01:00
Raffson
bcf8ee9d42 Fine-tune release of parking slots 2024-03-03 12:51:27 +01:00
Raffson
0591f74a11 Fine-tune DEAD ingress wpt-tasks 2024-03-03 02:23:42 +01:00
Raffson
d484e133ce Revert "Force SEAD into threat-range"
This reverts commit 61b2d7c68e.
2024-03-03 01:39:27 +01:00
Raffson
d2004e5b11 Clear parking slots when save is loaded 2024-03-03 00:27:20 +01:00
Raffson
2fdc9bbb2d Free parking slots when passing turn 2024-03-03 00:01:27 +01:00
Raffson
61b2d7c68e Force SEAD into threat-range 2024-03-02 23:17:46 +01:00