2161 Commits

Author SHA1 Message Date
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 61b2d7c68e5bb3e6ab5225d45a532d8ff0e415bf.
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
Raffson
aab8454fe6
Change formations at HOLD & SPLIT 2024-03-02 23:17:45 +01:00
Raffson
32f8d8d0b7
New cheat option: manage REDFOR's TGOs 2024-03-01 23:06:46 +01:00
Raffson
9e1a642eb2
Add option to force air-starts at Nevatim 2024-02-25 16:15:09 +01:00
MetalStormGhost
ff096b7d8d Will now generate multiple missions per squadron in Pretense campaigns to ensure most mission types are available. 2024-02-25 12:40:50 +02:00
MetalStormGhost
2edc0a7305 Ground unit presets are now generated from the coalition/faction definitions. 2024-02-25 12:40:49 +02:00
MetalStormGhost
200812a39b Other coalition TGO spawns are now generated with the correct faction. 2024-02-25 12:40:48 +02:00
MetalStormGhost
a4d8c14579 Added Iron Dome, David's Slinh, NASAMS-B and Rapier sites to Pretense. Fixed the timestamp in the save file name. 2024-02-25 12:40:48 +02:00
MetalStormGhost
969f0e26c7 Pretense zone radius (radii) for FOBs with FARPs will now be dynamically adjusted. Increased the size of Pretense zones at Damascus, Khalkhalah and Krasnodar-Pashkovsky (which are quite spread out) so the zone would encompass the entire airfield. 2024-02-25 12:40:48 +02:00
MetalStormGhost
49ba40aaf3 Now randomly shuffles the Pretense squadrons when generating a Pretense campaign. 2024-02-25 12:40:48 +02:00
MetalStormGhost
5cfeee7b2a Helicopter escort squadrons no longer cause an error on Pretense campaign generation. 2024-02-25 12:40:47 +02:00
MetalStormGhost
3d8956434c Will now append the date and time in the Pretense savefile, mitigating risks of missions script errors when trying to load a savefile from a previously generated mission. 2024-02-25 12:40:46 +02:00
MetalStormGhost
3d435c7821 Removed a non-functional option from the settings. 2024-02-25 12:40:46 +02:00
MetalStormGhost
76bab86e67 Updated the Pretense script to version 1.3.8 - 3 Dec 2023 and MIST to version 4.5.122. 2024-02-25 12:40:45 +02:00
MetalStormGhost
00760b831e Will now correctly generate Pretense campaigns with CJTF factions. 2024-02-25 12:40:45 +02:00
MetalStormGhost
f4e8e30cb1 Implemented new options in settings:
- Pretense: Extra friendly zone connections - Add connections from each zone to this many closest friendly zones, which don't have an existing supply route defined in the campaign.
- Number of cargo planes per side
- Number of AI SEAD flights per control point / zone
- Number of AI CAS flights per control point / zone
- Number of AI BAI flights per control point / zone
- Number of AI Strike flights per control point / zone
- Number of AI BARCAP flights per control point / zone
- Number of AI aircraft per flight
- Number of player flights per aircraft type at each base
- Number of AI cargo planes per side

Implemented CAS helo mission handling for Pretense. Implemented separate pretense_air_groups container for storing/referencing Flight objects. Tweaked the supply costs of SAM sites and Command centers. Will no longer generate player air starts at roadbases either. Restored the missing DEAD flights to Pretense. Removed spawning of frontline units and moved the JTAC spawning to pretensemissiongenerator.py
2024-02-25 12:40:44 +02:00
MetalStormGhost
93ab146cf5 Restored Retribution scripts and triggers to Pretense campaigns. Pretense progress can now be translated back to Retribution. Moved the trigger clearing from pretenseluagenerator.py to pretensemissiongenerator.py
keepActive is now only enabled for airbases and carriers/LHAs, for performance reasons.
2024-02-25 12:40:44 +02:00
MetalStormGhost
72d1c105a7 Implemented a Pretense settings page. 2024-02-25 12:40:43 +02:00
MetalStormGhost
5b60d64437 Reduced the number of cargo planes to 2 per side. 2024-02-25 12:40:43 +02:00
MetalStormGhost
2808d0f72c Fixed the bug of not generating opposing force ground unit groups at Pretense zones. Added the country name to ground vehicle group names to avoid duplicates. 2024-02-25 12:40:43 +02:00
MetalStormGhost
64e425012c Implemented generating runway zones at airports in Pretense. 2024-02-25 12:40:42 +02:00
MetalStormGhost
85db8c908e Restored compatibility of the Pretense generator after the timedelta -> datetime change and other changes caused by the Liberation merge/sync. 2024-02-25 12:40:42 +02:00
MetalStormGhost
b6449a7056 In the event of too many channel users, fail gracefully by reusing a random channel instead of always the previous one. 2024-02-25 12:40:42 +02:00
MetalStormGhost
91a9a9b88f Moved SAM site presets from presets.defenses.sam to presets.defenses.red/blue 2024-02-25 12:40:42 +02:00
Raffson
b36215b808 Fix errors due to LaserCodeRegistry move 2024-02-25 12:40:41 +02:00
MetalStormGhost
ced7aa4d72 Implemented generating amphibious units for Pretense unit groups. Amphibious units are selected out of a pre-defined list. Units which the faction has access to are preferred, but certain default unit types are selected as a fall-back to ensure that all the generated units can swim. 2024-02-25 12:40:41 +02:00
MetalStormGhost
921b1ee9fd Fixed a bug in SHORAD and SAM generation. 2024-02-25 12:39:47 +02:00
MetalStormGhost
713cd98d10 Implemented SAM sites as products of a Command Center at a control point / zone, if the Retribution campaign has the corresponding SAM site there. The SAM site presets are still static, I might make them dynamic in the future. 2024-02-25 12:39:47 +02:00
MetalStormGhost
cf9cc9ba33 Fixed a bug in generate_pretense_zone_connection(). 2024-02-25 12:39:47 +02:00
MetalStormGhost
39c80cb974 Implemented a list of units which will be removed from Pretense ground assault groups due to pathfinding problems. The units will just remain still instead of advancing. Also added one tank to each group and increased the maximum size of the groups to 5. Removed artillery units from the groups, similarly due to pathfinding problems. 2024-02-25 12:39:47 +02:00
MetalStormGhost
cf9538f7df Implemented spawning of ship statics/units at naval control points instead of land structures or SHORAD sites. 2024-02-25 12:39:46 +02:00
MetalStormGhost
3d15505347 Implemented a static method for creating the Pretense zone connections and to avoid duplicate connections. 2024-02-25 12:39:46 +02:00
MetalStormGhost
dd0217a220 Pretense SEAD flights will use the SEAD Sweep loadout, when available. 2024-02-25 12:39:45 +02:00
MetalStormGhost
d870099f41 Replaced the air defence Command Center with a bunker for SHORADs. Will use the Command Center in the future for medium/long range SAMs. 2024-02-25 12:39:45 +02:00