18 Commits

Author SHA1 Message Date
MetalStormGhost
a3575995bd Restored compatibility of the Pretense generator after the timedelta -> datetime change and other changes caused by the Liberation merge/sync. 2024-02-06 10:58:44 +02:00
Raffson
e7b84e18d1 Fix errors due to LaserCodeRegistry move 2024-02-06 10:58:43 +02:00
MetalStormGhost
fbbc2536a1 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-06 10:58:38 +02:00
Raffson
6f4a12658d Formatting 2024-02-06 10:58:38 +02:00
MetalStormGhost
8520764308 Run aircraft_generator.generate_packages() only once per ATO, instead of multiple times. Fixed the duplicated flights issue. 2024-02-06 10:58:36 +02:00
MetalStormGhost
1e3f6baceb 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-06 10:58:36 +02:00
MetalStormGhost
00bcd547d3 Implemented a separate generate_packages() method in PretenseAircraftGenerator to prevent generating the same ATO multiple times over. 2024-02-06 10:58:35 +02:00
MetalStormGhost
94c1455249 Now generates air units for both sides at airfields. 2024-02-06 10:58:34 +02:00
MetalStormGhost
2e889325e1 Calling the constructor of MissionGenerator in PretenseMissionGenerator in unnecessary, so leaving it out. 2024-02-06 10:58:31 +02:00
MetalStormGhost
ddc5709a17 Add CJTF factions to the coalitions in Pretense, if they're not being used in the Retribution campaign. 2024-02-06 10:58:30 +02:00
MetalStormGhost
4a859e00ae Add CJTF factions to the coalitions in Pretense, if they're not being used in the campaign. 2024-02-06 10:58:28 +02:00
MetalStormGhost
acf035697f Implemented dynamic outputting of JTAC units to the Pretense init script. 2024-02-06 10:58:28 +02:00
MetalStormGhost
73f7d94bda Dynamically generate Pretense air groups (pretense/pretenseluagenerator.py) 2024-02-06 10:58:26 +02:00
MetalStormGhost
cc713f089a First version of PretenseLuaGenerator, inherited from LuaGenerator 2024-02-06 10:58:25 +02:00
MetalStormGhost
94d755e9a0 Cleaned up some of my recent Pretense code. 2024-02-06 10:58:21 +02:00
MetalStormGhost
d09cb70948 Will now generate ground units for the Pretense campaign. 2024-02-06 10:58:21 +02:00
MetalStormGhost
db95fc17dc Will now generate control point trigger zones and AI aircraft for the Pretense campaign. 2024-02-06 10:58:20 +02:00
MetalStormGhost
8402e5d9bb Copied three files as templates/inheritance for generating Pretense campaigns from Retribution campaigns:
- missiongenerator.py
 - aircraftgenerator.py
 - triggergenerator.py
2024-02-06 10:58:19 +02:00