83 Commits

Author SHA1 Message Date
MetalStormGhost
d0ff363bb5 Now splits the generated Pretense group role properly in create_vehicle_group(). 2024-02-25 12:39:39 +02:00
MetalStormGhost
a97b3fee99 Will now dynamically generate offmapZones for supply cargo aircraft. 2024-02-25 12:39:38 +02:00
MetalStormGhost
51462673a2 Cleaned up pretense/pretenseaircraftgenerator.py
Moved a lot of logic into proper methods and added comments for all of those methods.
2024-02-25 12:39:38 +02:00
MetalStormGhost
3c139d8038 Fixed conflicting types for cp in generate_mid_mission(). 2024-02-25 12:39:38 +02:00
MetalStormGhost
b99a719d1c Converted closest_friendly_control_points_to from returning a tuple of the two closest control points to returning a list of all in sorted order. 2024-02-25 12:39:38 +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
0b8fa9099c Disabled the base Retribution plugin in pretenseluagenerator.py and disabled adding zones for OffMapSpawns. 2024-02-25 12:39:37 +02:00
MetalStormGhost
13e7e976c3 Now connects more isolated zones in Pretense. 2024-02-25 12:39:36 +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
c0e26b3b7f Fixed Pretense ground unit group id/name handling. 2024-02-25 12:39:36 +02:00
MetalStormGhost
a869c2a758 Also connect carrier and LHA control points to adjacent friendly points in Pretense. Enlarged the carrier trigger zones. 2024-02-25 12:39:35 +02:00
MetalStormGhost
27b1c92815 PretenseFlightGroupSpawner method for spawning mid-mission flights and setting the appropriate Pretense names to them. 2024-02-25 12:39:35 +02:00
MetalStormGhost
d965f90bb4 Implemented spawning of Pretense cargo aircraft. To support that, implemented a separate flight plan called PretenseCargoFlightPlan. Also, will now automatically generate transport squadrons for factions which don't have pre-defined squadrons for it, but have access to transport aircraft. 2024-02-25 12:39:34 +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
1dd9089477 First version of the generated Pretense campaign running in-game. 2024-02-25 12:39:33 +02:00
MetalStormGhost
0faa27dca5 Now clears Retribution triggers when generating a Pretense campaign. 2024-02-25 12:39:33 +02:00
MetalStormGhost
1db232417f Fixed missing return statement with isinstance(cp, OffMapSpawn). 2024-02-25 12:39:33 +02:00
MetalStormGhost
8253d41d37 Implemented adding ground unit groups to pretense data containers. 2024-02-25 12:39:32 +02:00
MetalStormGhost
d8b0283efe Deleted pretense/pretenseflightgroupconfigurator.py since it looks like it's not needed (at least for the time being). 2024-02-25 12:39:32 +02:00
MetalStormGhost
8dfb05b0d1 Tanker and AWACS frequency, TACAN and variant handling. 2024-02-25 12:39:32 +02:00
MetalStormGhost
aad48c0b78 Dynamically generate Pretense air groups (pretense/pretenseluagenerator.py) 2024-02-25 12:39:32 +02:00
MetalStormGhost
ecf659097a Copied flightgroupconfigurator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-25 12:39:31 +02:00
MetalStormGhost
7d0234820c First version of PretenseLuaGenerator, inherited from LuaGenerator 2024-02-25 12:39:30 +02:00
MetalStormGhost
9f271cdb91 ntentionally don't spawn anything at OffMapSpawns in Pretense 2024-02-25 12:39:30 +02:00
MetalStormGhost
d58f06be6d Copied luagenerator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-25 12:39:28 +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
3d781d89de Copied tgogenerator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-25 12:39:27 +02:00
MetalStormGhost
9b54730191 Implemented generating trigger zones for supply routes, theater ground objects and helicopter supply points. Implemented name generator for Pretense air units. 2024-02-25 12:39:27 +02:00
MetalStormGhost
af4cf03335 Copied flightgroupspawner.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 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