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
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
Raffson
b36215b808
Fix errors due to LaserCodeRegistry move
2024-02-25 12:40:41 +02:00
MetalStormGhost
765c85b639
Now generates one transport helicopter squadron for each control point which can operate one. Also implemented generating several Pretense cargo plane squadrons, defined by PRETENSE_AI_CARGO_PLANES_PER_SIDE. Cleaned up PretenseMissionGenerator.generate_air_units() a bit.
2024-02-25 12:39:44 +02:00
Raffson
7b9ddb1ece
Formatting
2024-02-25 12:39:44 +02:00
MetalStormGhost
95bac8ec17
Run aircraft_generator.generate_packages() only once per ATO, instead of multiple times. Fixed the duplicated flights issue.
2024-02-25 12:39:42 +02:00
MetalStormGhost
91cfff58d9
Changed tanker_tacan from "N/A" to 0.0 when the tanker is not compatible with TACAN, in order to avoid mission script errors.
2024-02-25 12:39:42 +02:00
MetalStormGhost
585b3e74a0
Implemented a separate generate_packages() method in PretenseAircraftGenerator to prevent generating the same ATO multiple times over.
2024-02-25 12:39:41 +02:00
MetalStormGhost
51a4b6603d
Now generates air units for both sides at airfields.
2024-02-25 12:39:40 +02:00
MetalStormGhost
ae13a422c3
Calling the constructor of MissionGenerator in PretenseMissionGenerator in unnecessary, so leaving it out.
2024-02-25 12:39:37 +02:00
MetalStormGhost
529841bfe4
Add CJTF factions to the coalitions in Pretense, if they're not being used in the Retribution campaign.
2024-02-25 12:39:36 +02:00
MetalStormGhost
4ad87aef3e
Add CJTF factions to the coalitions in Pretense, if they're not being used in the campaign.
2024-02-25 12:39:34 +02:00
MetalStormGhost
daa3259e59
Implemented dynamic outputting of JTAC units to the Pretense init script.
2024-02-25 12:39:34 +02:00
MetalStormGhost
aad48c0b78
Dynamically generate Pretense air groups (pretense/pretenseluagenerator.py)
2024-02-25 12:39:32 +02:00
MetalStormGhost
7d0234820c
First version of PretenseLuaGenerator, inherited from LuaGenerator
2024-02-25 12:39:30 +02:00
MetalStormGhost
1322c3ca54
Cleaned up some of my recent Pretense code.
2024-02-25 12:39:28 +02:00
MetalStormGhost
dc02c6f857
Will now generate ground units for the Pretense campaign.
2024-02-25 12:39:27 +02:00
MetalStormGhost
31fb340ac8
Will now generate control point trigger zones and AI aircraft for the Pretense campaign.
2024-02-25 12:39:26 +02:00
MetalStormGhost
975471e942
Copied three files as templates/inheritance for generating Pretense campaigns from Retribution campaigns:
...
- missiongenerator.py
- aircraftgenerator.py
- triggergenerator.py
2024-02-25 12:39:26 +02:00