1794 Commits

Author SHA1 Message Date
Raffson
1157d264ee
Migrator update for SEAD-Sweep 2023-08-14 20:25:35 +02:00
Raffson
87399c9ada
Update transit-network costs
Fix #169
2023-08-13 19:19:01 +02:00
Raffson
77b88de40e
Migrator adjustment for 'radio_presets' 2023-08-13 18:31:57 +02:00
Raffson
7baba78bca
Allow radio-presets to be defined in squadron files 2023-08-13 13:16:43 +02:00
Raffson
95f169bb58
Add HF-FM band to ARC-222 2023-08-13 13:16:42 +02:00
MetalStormGhost
7a9a8e1b4b
Auto-ato AWACS & Tankers settings (#198)
* Auto-ato AWACS & Tankers settings

Split off the **Automatic AWACS package planning** and **Automatic Theater tanker package planning** settings from **Automatic package planning behavior** so players can choose to have AWACS and theater tankers auto-planned, while managing everything else themselves.

* Drop logic to child-classes

* Enable AWACS auto-planning by default

* Switch order of preconditions

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-08-12 19:09:19 +00:00
MetalStormGhost
115bd8b22a Convert OPFOR untasked flights into Client slots
Added a new option in settings: Convert untasked OPFOR aircraft into client slots. This option will essentially convert the campaign into a sort of team vs. team engagement. There is still no way to plan the OPFOR missions, and there are no guarantees that there even will be any untasked aircraft available for players.

Split the Disable idle aircraft at airfields setting into Disable untasked BLUFOR aircraft at airfields and Disable untasked OPFOR aircraft at airfields.
2023-08-06 12:43:34 +02:00
MetalStormGhost
c51fa5c1df CAS engagement range
New option in Settings: CAS engagement range (nmi)
2023-08-02 19:22:15 +02:00
Raffson
0bc645edeb
Have DEAD flights fire all their HARMs first 2023-07-23 00:06:35 +02:00
Raffson
1e5cb94feb
Fix mypy complaints 2023-07-23 00:06:35 +02:00
Raffson
53122ff149
Allow user-made custom injected weapons setup 2023-07-22 23:41:42 +02:00
Raffson
da75f41b01
Refactor payloads folder logic 2023-07-22 23:26:32 +02:00
Raffson
64f6a10ced
Attempt to fix index-out-of-range
Injecting pylons in the F-100 seems to go out of bounds here
2023-07-21 22:21:44 +02:00
Raffson
d095732a4e
Bump version 2023-07-21 13:29:48 +02:00
Raffson
1a52154b5a
Custom weapons injection logic + A-4E AIM-9J injection 2023-07-21 00:03:38 +02:00
Raffson
9d63bcbf69
Improve STRIKE where possible
- Plan number of aircraft more accurately
- Fine-tuning ingress waypoint tasks
- Add lineup waypoint for STRIKE flights, 10NM in front of ingress on the same heading as the target
2023-07-16 18:22:29 +02:00
Raffson
009debd4e8
Follow-up on dependency updates 2023-07-15 17:55:55 +02:00
Raffson
00bcec498c
Update dependencies 2023-07-15 16:50:14 +02:00
Raffson
63898ead87
Use group-attack for Anti-ship ingress 2023-07-15 13:44:58 +02:00
Raffson
cb136b8d9d
Increase default number of pilots per squadron to 16
Resolves #162
2023-07-10 23:12:30 +02:00
Raffson
17211e1597
Include SEAD Sweep in common escorts 2023-07-10 22:26:30 +02:00
Raffson
96828ef3db
Fix last quirks wrt list->set refactor 2023-07-09 22:27:34 +02:00
Raffson
9dd76bdd37
Ignore tying issues in migrator 2023-07-09 21:39:43 +02:00
Raffson
2b5f6f7998
Migration changes for using sets instead of lists 2023-07-09 21:35:37 +02:00
Raffson
d6e7451f8a
Add F-15I support
Co-Authored-By: M Chimiste <37678080+M-Chimiste@users.noreply.github.com>
2023-07-09 19:32:15 +02:00
Raffson
06d98db55b
Replace lists with sets 2023-07-09 19:32:00 +02:00
Raffson
533057a0cc
Introduce pylon ejector for Sufa mod
Will prevent the user having to restart Retribution
2023-07-09 18:21:28 +02:00
Raffson
e86fc60b41
Spawn idle aircraft at helipads
Applicable for helicopters at airbases & both helicopters and LHA-capable aircraft at FOBs
2023-07-09 15:14:46 +02:00
Raffson
737df98988
Provide better feedback when declaring max-size without a value 2023-07-08 20:35:21 +02:00
Raffson
6734b80684
Follow-up on package refueler
Fixing some bugs that were caused by missing 'mission data' for package-refueling tankers
2023-07-07 21:56:29 +02:00
MetalStormGhost
8face817e2 Corrected the name of SEAD Sweep engagement range
Corrected the name of SEAD Sweep engagement range (nmi) setting from incorrect SEAD Sweep threat buffer distance (nmi).
2023-07-06 17:06:58 +02:00
Raffson
da10cc091c
Tweak 'release untasked aircraft' in migrator 2023-07-05 23:34:31 +02:00
Raffson
2ec187bc9c
Fixing OCA-bug against FOBs
OCA Aircraft should be properly allowed against FOBs given Ghosti's roadbases
2023-07-05 23:29:48 +02:00
Raffson
785ac6eacc
Remove double call to "return_pilots_and_aircraft"
This is already done in 'package.remove_flight(flight)'
2023-07-05 22:30:47 +02:00
MetalStormGhost
be31a97c71 Added new option in settings: SEAD Sweep engagement range (nmi).
Renamed SEAD Sweep threat buffer distance (nmi) to SEAD Escort/Sweep threat buffer distance (nmi) since it also applies to SEAD Escort flights.
2023-07-04 23:19:47 +02:00
MetalStormGhost
aecb171b8f SEAD Sweep threat buffer distance
Added a new option in settings: SEAD Sweep threat buffer distance (nmi).
2023-07-04 23:19:47 +02:00
MetalStormGhost
aafc832e24 Settings option: Generate SCENERY REMOVE OBJECTS ZONE triggers at roadbase
Implemented an option in settings to disable or enable the SCENERY REMOVE OBJECTS ZONE triggers generated at roadbases (at the first waypoint).
2023-07-03 21:09:25 +02:00
Raffson
6c210c9d15
Fine-tuning stuff for 'SEAD Sweep' 2023-07-03 00:38:50 +02:00
Raffson
6ced738256
Reset auto-assignable mission types if liberation save 2023-07-02 21:14:20 +02:00
Raffson
db038ecdea
Add SEAD Sweep flight plan
Reintroduce legacy SEAD Escort flight plan, but under a separate type because it didn't really escort the primary flight...
2023-07-02 16:53:55 +02:00
Raffson
9c6b070dbd
Force 'Nothing' task for ferry flights
pydcs doesn't export this task, although every aircraft is capable of doing 'Nothing' 😂
2023-07-02 12:52:19 +02:00
MetalStormGhost
861ed584df Restored TheaterGroundObject handling in antishipingress.py
Restores handling of TheaterGroundObject targets in antishipingress.py
This is needed when anti-ship missions are planned against other ship groups than NavalControlPoints (carrier groups or LHA strike groups).
2023-07-02 12:12:57 +02:00
Raffson
a5083e3e1f
Add CHN in country_dict for migration 2023-07-02 00:47:57 +02:00
MetalStormGhost
6e37cadb84
Settings doctrine page + streamlining (#156)
* Added a separate Doctrine page in settings with the following new options:
- Minimum number of aircraft for autoplanner to plan OCA packages against
- Airbase threat range (nmi)
- TARCAP threat buffer distance (nmi)
- AEW&C threat buffer distance (nmi)
- Theater tanker threat buffer distance (nmi)

Implemented handling for the OPFOR autoplanner aggressiveness in objectivefinder.py vulnerable_control_points().

* * Added three new options in Settings:
- Autoplanner plans refueling flights for Strike packages
- Autoplanner plans refueling flights for OCA packages
- Autoplanner plans refueling flights for DEAD packages

Fixed a bug in faction.py where F-16Ds were not correctly removed from the faction when the F-16I/F-16D mod was not selected.

* Renamed Maximum frontline length -> Maximum frontline width.
2023-07-01 23:54:27 +02:00
Raffson
f6f1d69048
Fix mypy's complaints 2023-07-01 17:20:02 +02:00
Raffson
3b745c43eb
Save-compat changes to allow loading Liberation saves
May be incomplete, some discrepancies in naming may still exist, but at least Kerbo's campaign can be loaded.
2023-07-01 17:08:12 +02:00
Dan Albert
aaaa9847b1
Add channel naming for the warthogs.
The manual for the legacy warthog usually calls these VHF 1/2 and UHF,
or VHF AM/FM and UHF. The AM/FM nomenclature is what I usually hear
people call them and it's clearer, so go with that.

For the A-10C II, that manual hasn't been updated for the AN/ARC-210
yet, so I'm not really sure what that ought to be called. The UFC calls
it COM 1 though, so I went with that. The alternative would be something
like VHF/UHF for the 210 and UHF for the 164, but I don't know if that's
actually better. Could be completely explicit and call them by their
full names, but that's probably less clear to people that aren't
fiddling with the radio implementation constantly (and even I confuse
the 164 and the 186 all the damn time).
2023-07-01 16:05:40 +02:00
Raffson
9e42f7f255
Execute EWRJ triggers after EWRJ script has initialized 2023-07-01 15:27:11 +02:00
Raffson
57a0231699
Move LuaGenerator back to its original location
I can't even remember why I moved this line, but that's the one that broke CTLD...
2023-06-25 17:07:55 +02:00
Raffson
5368c06650
Only use 'Player' skill as flight-lead 2023-06-25 13:43:59 +02:00