Commit Graph

2186 Commits

Author SHA1 Message Date
Raffson
4de7b1c923 Force utf8 encoding in TXT-briefing
Fix #408
2024-10-28 12:50:01 +01:00
Raffson
5fdf38c663 Format with updated black 2024-10-12 17:33:01 +02:00
Raffson
ff2ec07d83 Move constants from laypout.py to theathergroup.py
Should fix the "FIXED_POS_ARG not defined" error
2024-10-12 16:35:04 +02:00
Raffson
4aacc68f4a Include layouts & groups from Saved Games folder
Partial #244
2024-10-06 22:33:01 +02:00
Raffson
4c3b16e1da Support for fixed position & heading in layouts 2024-10-06 22:27:51 +02:00
Raffson
0770fafbcb Save-compat fix for Syria airport rename
Amman is now Marka...
2024-10-06 12:41:51 +02:00
M Chimiste
169ef26329 Set Pretense Player Flight Waypoints to CPs (#385) 2024-10-06 01:12:02 +02:00
Raffson
59f98a4c16 Make combat landing configurable 2024-10-05 23:04:06 +02:00
Raffson
9bd6c6c404 Overload takeoff_time for PatrollingFlightPlan
Fixes bug where TARCAP get screwed TOTs due to a SEAD Sweep flight in a CAS package
2024-10-05 22:40:07 +02:00
Raffson
44658f8eec Skip EscortType for SEAD Sweep planned during CAS
Seems like the EscortType would cause the flight to be pruned if no IADS threats surround the CAS zone, but we'd like to plan it regardless to tackle air defenses along the front-line
2024-09-22 22:47:26 +02:00
Raffson
87ca233f20 Only pass air-defenses to IpSolver when creating package waypoints
Aims to solve an issue where waypoints would completely disregard air defenses and overfly them due to interference from airbase threat ranges...
2024-09-21 22:57:08 +02:00
Raffson
126d70792f Another attempt to improve DEAD autoplanner 2024-09-21 22:57:07 +02:00
Raffson
9d2345ea3a Fix weird spacing in Campaign Management settings 2024-09-21 20:12:41 +02:00
Raffson
7a84181bbc Add UI-zone for SEAD Sweep 2024-09-21 19:30:21 +02:00
Raffson
a7d091c142 Fine-tune attempt wrt DEAD autoplanning
A small note, this also affects the aggressiveness wrt SHORAD & AAA
2024-09-15 22:08:58 +02:00
Raffson
be554c54b3 Plan IADS degradation as last
The previous steps identify IADS locations, so moving this "up the list" has detrimental effects...
2024-09-15 22:05:43 +02:00
Raffson
49211dae4f Autoplanner support for ArmedRecon 2024-09-15 22:05:42 +02:00
Raffson
73d2f8fda1 Change ArmedRecon's task-priority when determining primary task 2024-09-15 22:05:42 +02:00
Raffson
2cba1f4124 Account for aircaft's task-priorities in AirWing.best_squadrons_for 2024-09-15 22:05:42 +02:00
Raffson
f5bb653ad8 Rework (OPFOR) autoplanner aggressiveness setting
Also introduces a setting for OWNFOR
2024-09-15 22:05:42 +02:00
Raffson
d35962b784 AirAssault autoplanner support for non-frontline CPs
Aims to solve the issue where AirAssault won't plan against CPs that don't have an active frontline, including isolated CPs.
2024-09-15 22:05:41 +02:00
Raffson
f63939ce3c Include isolated points in objectivefinder 2024-09-15 22:05:41 +02:00
Raffson
7e8cbe0de2 Fix incorrect strike target location for TheaterUnit 2024-09-14 16:37:10 +02:00
Starfire13
8a47dce4b5 Update max frontline units description (#399) 2024-09-09 21:10:02 +02:00
Raffson
242d1a14a7 Limit/Suppress AI radio callouts for player flights 2024-09-07 21:04:49 +02:00
Raffson
aa26a2fa79 Avoid restoring old AircraftType data
This solves the bug where the default_livery would get overwritten with whatever value was already present from data that's loaded from the last campaign, which was usually set to None...
Possibly this also solves the bug where Armed Recon is suddenly not available anymore, because most likely the tasking was being overwritten as well...
2024-08-25 15:20:16 +02:00
Raffson
fd42b03d78 Log error if beacon data can't be found
This would prevent mission generation otherwise...
2024-08-24 20:22:14 +02:00
Raffson
9b857d7b0e Cope with mismatch in folder-/file-name for Sinai wrt beacons 2024-08-23 19:09:29 +02:00
Raffson
171f0722dc Fix bug in default squadron assigner/loader
The root cause of the issue are lines like "if aircraft in faction.all_aircrafts" that weren't working as intended, i.e. the condition would always fail. By implementing the __eq__ method we fix this issue, effectively making the default squadron assigner make use of squadrons instead of simply skipping them.
2024-08-18 18:19:58 +02:00
Raffson
ea9c459942 Disable Nevatim/Ramon airbase hack for inoperable slots 2024-08-16 12:57:25 +02:00
Raffson
86a93efc71 Support for CH-47F except banner & payloads 2024-08-16 02:41:21 +02:00
Raffson
c262bb3681 Reload terrain and airports in migrator 2024-08-16 00:34:41 +02:00
Raffson
bc3ec4ffb9 Save-compat fix for Bas_100 being renamed to Vuojarvi 2024-08-15 23:48:29 +02:00
tmz
9e2c5c06b9 Deleted __str__ from StartType to limit impact of change. 2024-08-15 22:27:14 +02:00
tmz
5b4ed979b1 Modified Planned Flights in airfield command to show startup type 2024-08-05 12:41:43 +02:00
Raffson
d29f5a26a1 Revert unnecessary change causing exceptions 2024-08-04 22:44:28 +02:00
Raffson
97c65cfefa Fix date lagging behind 1 turn 2024-08-04 13:14:40 +02:00
Raffson
9dd25e933e RoundRobinize random livery selection from livery_set 2024-08-04 12:28:05 +02:00
Raffson
8796d629e8 Fix probable bug in procurement 2024-08-04 02:37:43 +02:00
Raffson
583c87b2e3 Emit game_loaded after restore pre-pretense backup 2024-08-04 01:19:07 +02:00
Raffson
4405764006 Generate warehouses for pretense missions 2024-08-03 22:22:21 +02:00
Raffson
d2547def51 Fix bug introduced in improvements to livery-selector
This will fix the bug I missed where the squadron needs to be using the livery-set before it could take effect for flight-members.
2024-08-03 20:47:34 +02:00
Raffson
532515fad7 Better save-compat w.r.t. changes in AC's yaml 2024-08-03 20:46:06 +02:00
Raffson
f79e96a474 Further improvements to livery-selector
Unlocking the full potential, i.e. allowing users to switch back & forth between livery-sets, livery-overrides and normal liveries, including support for overriding flight/flight-member specific liveries.
2024-08-03 19:42:45 +02:00
Raffson
242ef30469 Formatting -_- 2024-07-28 19:09:59 +02:00
Raffson
3d1a5bea67 Adjust pre-pretense backup strategy 2024-07-28 19:05:37 +02:00
Raffson
f12a1350ce Fix exceptions thrown for Armed Recon 2024-07-28 18:06:55 +02:00
Raffson
d2c45c97fe Refactor invisible FARP remover 2024-07-28 17:55:51 +02:00
Raffson
3bdda3b852 Readd removed newline 2024-07-28 17:14:08 +02:00
Raffson
d604905f52 Streamlining after merge 2024-07-28 17:13:26 +02:00