Commit Graph

2274 Commits

Author SHA1 Message Date
Raffson
b2ae10ce6f Remove fuel restriction for FOB/FARPs
Probably why we end up with 3/4 of a tank on roadbases -_-
2024-07-21 22:48:26 +02:00
Raffson
a658e41c54 Use EngageTargetsInZone for SEAD Sweep instead
Seems to perform better, AI wonders less off to places it shouldn't...
2024-07-21 22:42:33 +02:00
Raffson
2b65d2f800 Always use altitude in GroundSpeed.for_flight 2024-07-21 22:42:33 +02:00
Raffson
1c9b4b2317 Remove STRIKE as mission type from FOBs 2024-07-21 22:42:32 +02:00
Raffson
9cca4e8244 Revert helicopter escort aggressiveness hack
AI got a little better, at least that's what tests in AFG showed. The main issue is that helicopters tended to attack static objects, which we obviously don't want...
2024-07-21 22:42:31 +02:00
Raffson
e280763a39 Fix wrong parameter for OrbitAction
pydcs expects kph -_-
2024-07-21 22:42:31 +02:00
Raffson
b7ad1048bd Perturb join waypoint for helicopters 2024-07-21 22:42:30 +02:00
Raffson
98b49d5fca Revert removed speed_between_waypoints overload 2024-07-21 22:42:30 +02:00
Raffson
4423391287 Adjust preferred patrol speeds 2024-07-21 21:38:23 +02:00
Raffson
ad87182cf9 Reflect changes in aircraft's yaml through migrator 2024-07-21 21:38:23 +02:00
Raffson
da64cdbab7 Remove ROE from SEAD Sweep to avoid engaging statics 2024-07-21 12:06:03 +02:00
Raffson
e9d0273056 Attempt at fixing too slow helicopter speeds 2024-07-21 02:22:14 +02:00
Raffson
f405ffdfe2 Initial support for Armed Recon flight plan 2024-07-21 02:22:14 +02:00
MetalStormGhost
8dcf25d9ee Updated MIST to 4.5.126 2024-07-20 19:21:56 +03:00
MetalStormGhost
e88a4e1c51 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-20 19:21:06 +03:00
Raffson
c24fba0ba4 Fix OCA-Aircraft bug in mission generator 2024-07-20 15:35:23 +02:00
Raffson
6194ec7301 Move import outside of TYPE_CHECKING 2024-07-20 02:53:05 +02:00
Raffson
dc2d541b50 Formatting -_- 2024-07-20 01:26:20 +02:00
Raffson
141fc642d5 Fix Anti-Ship being planned against original location 2024-07-20 01:26:10 +02:00
Raffson
0d56c271df Serialize warehouses & support for dynamic slots/cargo 2024-07-20 01:04:24 +02:00
Raffson
eb841f1bf4 Update MiG-21bis radios 2024-07-19 16:32:28 +02:00
MetalStormGhost
69b828ddf4 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-17 19:40:57 +03:00
Raffson
f9e7772e09 Fine-tune TGO-purchasability logic 2024-07-16 21:46:22 +02:00
Raffson
d9788148c2 Formatting 2024-07-16 20:51:52 +02:00
Raffson
8918d4e64f Preliminary support for Afghanistan 2024-07-16 00:19:58 +02:00
Raffson
b09d095723 Add radio for F-86 2024-07-16 00:19:57 +02:00
MetalStormGhost
19f6bafff1 Cold War assets mod v1.0 support (#343)
Implemented support for the Cold War assets mod (ex Tu-16) v1.0 by tripod3
2024-07-14 16:41:19 +03:00
MetalStormGhost
8e8bc3f907 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-09 19:09:58 +03:00
Turbolious
eb5cceff16 Sk 60 mod support (#360) 2024-07-07 12:47:07 -05:00
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