Raffson
f12a1350ce
Fix exceptions thrown for Armed Recon
2024-07-28 18:06:55 +02:00
Raffson
d604905f52
Streamlining after merge
2024-07-28 17:13:26 +02:00
MetalStormGhost
ec7982f181
Replaced OCA/Runway and OCA/Aircraft mission with Strike missions in the Pretense generator, in order to allow for Pretense campaigns where one (or both) side only has one airbase with a runway.
2024-07-05 12:51:22 +03:00
MetalStormGhost
081c981c86
The squadrons are now re-shuffled between different mission types in generate_pretense_aircraft.
2024-07-05 12:51:21 +03:00
MetalStormGhost
59fa77e10b
Large ground spawn support in PretenseAircraftGenerator.
2024-07-05 12:23:42 +03:00
MetalStormGhost
8df77dec2a
Fixed a bug where Pretense campaign generation would hang if the campaign had off-map spawns.
2024-06-01 16:59:30 +03:00
MetalStormGhost
25e2da2b91
Pretense should always use Client slots.
2024-06-01 16:45:15 +03:00
MetalStormGhost
bfe008775d
Implemented PretenseNameGenerator.pretense_trimmed_cp_name to remove Scandic characters from Pretense zone names.
2024-05-28 18:40:25 +03:00
MetalStormGhost
150a4dde49
Added missing call squadron: Optional[Squadron] = None to help avoid reference before assignment error.
2024-05-10 12:46:27 +03:00
MetalStormGhost
85f4f66f21
pretenseaircraftgenerator.py now obeys the new setting Default start type for Player flights.
2024-05-09 20:57:29 +03:00
MetalStormGhost
64b1410de8
Implemented support for player controllable carriers in Pretense campaigns. This functionality can be enabled or disabled in settings, because the controllable carriers in Pretense do not build and deploy AI missions autonomously, so the old functionality is retained.
...
Added new options in settings:
- Carriers steam into wind
- Navmesh to use for Pretense carrier zones
- Remove ground spawn statics, including invisible FARPs, at airbases.
- Percentage of randomly selected aircraft types (only for generated squadrons)
intended to allow the user to increase aircraft variety.
Will now store the ICLS channel and Link4 frequency in missiondata.py CarrierInfo.
Implemented artillery groups as Pretense garrisons. Artillery groups are spawned by the Artillery Bunker. Will now also ensure that the logistics units spawned as part of Pretense garrisons are actually capable of ammo resupply.
Fixed the Pretense generator generating a bit too many missions per squadron. Ground spawns: Also hot start aircraft which require ground crew support (ground air or chock removal) which might not be available at roadbases. Also, pretensetgogenerator.py will now correctly handle air defence units in ground_unit_of_class(). Added Roland groups in the Pretense generator.
2024-04-06 15:46:11 +03: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
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
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
5b60d64437
Reduced the number of cargo planes to 2 per side.
2024-02-25 12:40:43 +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
c6a8673b5e
Added missing generation of AI BAI flights. Player flight groups are now generated as single-ship groups to support the Pretense missions for all players. Moved repetitive code in PretenseFlightGroupSpawner to insert_into_pretense() method. Disabled spawning of air assault statics by PretenseFlightGroupConfigurator since they are unnecessary in Pretense.
2024-02-25 12:39:45 +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
MetalStormGhost
5fa7757ae1
Fixed not all generated flights getting inserted into Pretense data structures.
2024-02-25 12:39:43 +02:00
MetalStormGhost
064d17aab0
Improved the typing of game.pretense_air
2024-02-25 12:39:43 +02:00
MetalStormGhost
946d578ffb
Implemented generating player slots in the Pretense campaign.
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
Raffson
4ff31ea86d
Blast through errors
2024-02-25 12:39:41 +02:00
Raffson
231a8609a1
imports
2024-02-25 12:39:41 +02:00
MetalStormGhost
a6104968e8
Don't spawn flights for the other squadron in generate_pretense_aircraft().
2024-02-25 12:39:40 +02:00
MetalStormGhost
51a4b6603d
Now generates air units for both sides at airfields.
2024-02-25 12:39:40 +02:00
MetalStormGhost
4b092e0763
Fixed FlightType.AEWC and FlightType.REFUELING handling in generate_pretense_aircraft().
2024-02-25 12:39:39 +02:00
MetalStormGhost
aa641e1ff6
Added configuration constants for flights generated for Pretense. Fixed a bug which caused only one squadron per CP to be generated. Will now not generate Pretense cargo flights from Retribution off-map spawns, but instead will generate own air spawn points for them. Added a helper function initialize_pretense_data_structures().
2024-02-25 12:39:39 +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
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
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
9f271cdb91
ntentionally don't spawn anything at OffMapSpawns in Pretense
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
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
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