9 Commits

Author SHA1 Message Date
MetalStormGhost
de0802a3c2 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-06 10:59:21 +02:00
MetalStormGhost
4f742b51f7 Moved SAM site presets from presets.defenses.sam to presets.defenses.red/blue 2024-02-06 10:58:43 +02:00
MetalStormGhost
473e70c44b 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-06 10:58:41 +02:00
MetalStormGhost
ffac036266 Implemented spawning of ship statics/units at naval control points instead of land structures or SHORAD sites. 2024-02-06 10:58:40 +02:00
MetalStormGhost
d1b8e20fde 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-06 10:58:39 +02:00
MetalStormGhost
ecaa68f32a Added naval units (supply/cargo/landing ships) to Pretense scripts. 2024-02-06 10:58:37 +02:00
MetalStormGhost
c126d1dff7 Added newlines to Pretense init scripts. 2024-02-06 10:58:24 +02:00
MetalStormGhost
f500ec916e Split init.lua code into three pieces. 2024-02-06 10:58:24 +02:00
MetalStormGhost
842c2f8aaf Copied init.lua into init_header.lua, init_body.lua and init_footer.lua
The init.lua script will be generated by
 1. injecting the header, then
 2. generating the ZoneCommand zones, then
 3. generating ConnectionManager connections, then
 4. injecting init_body.lua, then
 5. generating sypply injection and finally by
 6. injecting init_footer.lua
2024-02-06 10:58:22 +02:00