2254 Commits

Author SHA1 Message Date
Eclipse/Druss99
60bfde3b61 update changelog and fix typing 2025-01-28 19:09:02 +01:00
Eclipse/Druss99
5fc967cfd2 Missile sites now fire at random times 2025-01-28 19:09:02 +01:00
Druss99
1bb0db920b
More generic layout for CH anti ship sites, nerf + add new sites for China (#472) 2025-01-28 19:03:17 +01:00
Druss99
a1df78c099
fix save compat for changed mod unit names (#471) 2025-01-28 18:56:05 +01:00
Raffson
2570293416
Fix incorrect stop trigger trigger for BARCAP 2025-01-26 18:57:59 +01:00
Druss99
1d4b0608de
Update swedish military assets pack (#464)
* Update swedish military assets pack

* re add old variant names for save compat

* Update faction.py

fixed presets

* fix double variant name
2025-01-26 14:54:58 +00:00
Druss99
431ec1c382
Correctly remove CH presets for russia (#466) 2025-01-26 15:40:18 +01:00
Druss99
a76fe34f3f
CurrentHill USA military assets pack (#461)
* usa military assets pack

* minor fixes to have missiles

* tweak nasams 3

* fix preset groups bug

* adjust b-21 name

* Update faction.py

bugfixes will go in a different branch
2025-01-26 15:32:12 +01:00
Raffson
5db63a2ebf
Fix mission-scheduler bugs wrt BARCAP
- BARCAPs over regular CPs are no longer planned at the same time
- Carriers were planning 1 BARCAP too much if a second wave would be introduced, i.e. (BARCAP-duration / mission-duration) < 1
2025-01-25 19:13:55 +01:00
Druss99
0613c8f423
Minor Asset pack fixes (#460) 2025-01-20 20:38:26 +01:00
Raffson
431492fa77
Introduce support for "rebel-zones" 2025-01-19 19:06:19 +01:00
Raffson
6965133a33
Filter "self" when ground units retreat from CP
Fixes an infinite loop in case a connection to the same CP is made in the template miz file of the campaign. It's basically wrong input, but suppose we'd have a use-case for it in the future, it would still make sense to have ground units retreat to a CP that's different from their origin...
2025-01-12 16:04:52 +01:00
Druss99
f07cc83c5b
CurrentHill Russian Military Assets Pack (#448) 2025-01-07 20:54:50 +01:00
Raffson
807bb16ddf
Save-compat improvements 2025-01-05 14:48:28 +01:00
Astro
4c9dba2fe5
Vietnam War Vessels Mod v0.9.0 integration (#435)
* vietnamwarvessels first batch

* Ship YAMLs

* aircraft yamls initial version, need more work

* initial helicopter yamls

* update aircraft yamls

* Added DDs Fletcher and Sullivans

* ship icons

* aircraft banners and icons

* no huts

* update py files to VWV v0.9.0

* update aircraft yamls, add vigilante

* added 2 ships for VWV v0.9.0

* mig-21mf yaml

* icons and banners additional units v0.9.0

* added VWV units to USA_1970 and Vietnam_1970 JSONs

* Revert "added VWV units to USA_1970 and Vietnam_1970 JSONs"

This reverts commit ed0b28dc36c0d9c1a45a10689a3c419bd23ff258.

* A-1H yaml update

* mig-17 yaml update

* update helicopter yamls

* extension init

* weapon injections

* icon filenames _24 added

* removed tasks 0 from yamls

* hh2d yaml fix

* added VWV v0.9.0 to factions USA and Vietnam

* added max_range to aircraft yamls

* housekeeping

* Flyable to False - not available in mod version

* minor edits

* ignore test campaign

* deleted tasks

* weapon luas blue air

* added task numbers from task.py

* weapon luas red air

* task id numbers in comment

* switched weapon lua from aim-9J to aim-9D

* removed test campaigns

* update payload luas with payload names from flighttype.py

* Changed AIM-9D to 9B, 9D does not work

* removed air assault task for HH-2D

* Cva_31 added to runway_is_operational()

* CVA-31 added to naval_units in faction jsons

* add strike and cas tasks to ra-5c

* correct typo

* Added Armed Recon as task and payload to most a/c

* ignore pre-commit-config.yaml

* pre-commit-config

* black reformat controlpoint.py

* Added tasks to Vigilante (next to Recon) containing attack subtasks, which allow it to be scheduled for missions

* added ships to UNITS_WITH_RADAR

* remove pre-commit-config from gitignore

* added red aircraft to nva_1970 faction

* fixed black's complaint (two empty lines, should be one)
2025-01-05 13:50:01 +01:00
Druss99
e93ebbe78c
add chinese asset pack to radar db (#445) 2025-01-04 17:52:35 +00:00
Druss99
bc157630e9
China military assets support (#440) 2025-01-03 19:19:10 +01:00
Eclipse/Druss99
dec57fccf9 add vertical takeoff and landing option 2025-01-02 03:24:01 +01:00
Druss99
dd408f392b
Fix airwing config not properly saving or loading (#437)
* fix airwing config not properly saving or loading

* add helper message to save function

* bugfixes

* remove unnecessary import used during testing

* yet another forgotten import

* change raise error to log warning
2025-01-01 15:56:08 +01:00
Raffson
164873d3b1
Fix planning error in CAP-builder if no enemy airfields left 2024-12-31 20:11:18 +01:00
Raffson
7ea144e7c7
Fix save-compatibility issue 2024-12-31 19:36:13 +01:00
Druss99
0d04e0c72e
Faction editor update (#434)
Resolves #166 

* init faction editor

* update persistency

* minor fixes

* typing smh

* small fixes

* forgot the changelog -_-
2024-12-31 00:24:12 +01:00
Raffson
f36526b5de
Fix mismatch between terrain names
Pydcs & Retribution don't always match up...
2024-12-28 20:46:41 +01:00
Raffson
592b1a7833
Don't allow carrier's path over land in UI 2024-12-28 01:06:08 +01:00
Raffson
cf38113cde
Only remove landmap before saving and immediately restore 2024-12-28 00:32:32 +01:00
Raffson
f2eec530db
Load landmap data on the fly
Avoids saving unnecessary data to the save-file
2024-12-27 23:32:21 +01:00
Raffson
9c50c062e9
Support for Iraq 2024-12-27 23:30:57 +01:00
Raffson
d1b484f560
Support for auto-fog
implemented as a setting...
2024-12-26 02:51:58 +01:00
Raffson
3ef6ae20c7
Support for Bandit's cloud presets mod (v15) 2024-12-26 01:35:30 +01:00
Raffson
a9e784c0e3
Regroup settings per page in code 2024-12-25 23:40:06 +01:00
Raffson
ea09b6be32
Have BARCAP/TARCAP engage anti-ship/cruise missiles 2024-12-24 06:43:52 +01:00
Raffson
881228d273
Potentially useful method for Doctrine class... 2024-12-24 06:35:10 +01:00
Raffson
c75bf23701
Small cleanup 2024-12-24 06:35:10 +01:00
Raffson
020281bf80
Fine-tuning recovery tankers 2024-12-24 06:35:09 +01:00
Raffson
ef77637c9a
Refactor patrol_duration for refueling flight-plans 2024-12-24 06:34:46 +01:00
Raffson
15e6f81bb5
Reference primary flight's RTB time for Escort's split wpt 2024-12-24 06:34:46 +01:00
Raffson
8b03bc496d
Move tanker patrol duration setting to doctrine page 2024-12-24 06:34:46 +01:00
Raffson
add81472c6
Schedule 2 simultaneous BARCAPs over carriers 2024-12-24 06:34:45 +01:00
Raffson
0e1f2e4185
Configurable BARCAP patrol duration in settings 2024-12-24 06:34:13 +01:00
Raffson
1a628888f7
AEWC optimizations
- setting for on-station time
- always include CVN carriers as targets
- autoplanner adjustment for continuous coverage
2024-12-24 06:34:12 +01:00
Raffson
75c29dd907
Always plan & plan more BARCAP for carriers 2024-12-24 06:15:59 +01:00
Raffson
f1dc431d2f
Fix scheduling issue for recovery tankers 2024-12-24 06:15:59 +01:00
Raffson
db9cf441fb
Avoid autoplanner planning AirAssault against carriers 2024-12-24 06:15:58 +01:00
Raffson
a06e9d0ec7
Plan more ANTI-SHIP against ship-groups with air-defences 2024-12-24 06:15:58 +01:00
Druss99
dd7e4c908e
Recovery tanker support (#429)
* fix conflict

* squash bugs and reuse patrol layout

* fix tanker tacan and formatting

* fix unlimited fuel option

* update pretense for tanker changes

* reuse refueling flight plan and bugfix for sunken carrier

changelog

* remove unitmap dependency

* formatting and more unit map removal

* more formatting

* typing and black

* keep tanker out of clouds

* fix if there are no clouds

* better cloud handling

* groundwork for recovery task

* remove changes to game/commander

* Finishing up recovery tankers

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-23 04:39:10 +00:00
Raffson
a4671571bc
Fix stupid mistake w.r.t. SC deck-crew sync -_- 2024-12-22 03:19:13 +01:00
Raffson
5470cb416c
Sync SC deck-crew option to miz' options 2024-12-21 19:07:05 +01:00
Druss99
6d0dbd4d1c
Bugfix if settings directory doesn't exist (#432)
* bugfix if settings directory doesnt exist

* Create directories in persistency

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-21 16:44:31 +00:00
Druss99
266e69a6ce
Default settings support (#428) 2024-12-18 13:47:05 +01:00
Raffson
e02698d8a8
Autoplan Air-to-Air Escorts for AWACS & Tankers 2024-12-18 00:47:56 +01:00