Raffson
583c87b2e3
Emit game_loaded after restore pre-pretense backup
2024-08-04 01:19:07 +02:00
Raffson
4405764006
Generate warehouses for pretense missions
2024-08-03 22:22:21 +02:00
Raffson
242ef30469
Formatting -_-
2024-07-28 19:09:59 +02:00
Raffson
3d1a5bea67
Adjust pre-pretense backup strategy
2024-07-28 19:05:37 +02:00
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
8dcf25d9ee
Updated MIST to 4.5.126
2024-07-20 19:21:56 +03: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
81ad559ca1
Pretense generator now handles Severomorsk-1 and Severomorsk-3 correctly.
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
e704d2aa53
Large ground spawn support in PretenseMissionGenerator.
2024-07-05 12:29:19 +03:00
MetalStormGhost
59fa77e10b
Large ground spawn support in PretenseAircraftGenerator.
2024-07-05 12:23:42 +03:00
MetalStormGhost
2b62f5919f
Large ground spawn support in PretenseFlightGroupSpawner.
2024-07-05 12:14:47 +03:00
MetalStormGhost
7f7821f878
Stop the execution of the pretense_extra_zone_connections in case no more connected points can be found in the campaign. Should fix an error which prevents campaign generation.
2024-06-11 19:35:45 +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
b801136145
Updated pretenseluagenerator.py for the latest pydcs.
2024-05-28 18:59:09 +03:00
MetalStormGhost
0fd0e2c3c2
Added function return type annotation to pretense_trimmed_cp_name()
2024-05-28 18:40:25 +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
16377fe563
Added Iron Dome & David's Sling sites to Pretense generator.
2024-05-07 15:20:55 +03:00
MetalStormGhost
557b441d13
Replaced expend=AI.Task.WeaponExpend.ONE with expend=AI.Task.WeaponExpend.QUARTER on CAS and BAI flights. Added HQ7 (Crotale) sites to Pretense generator. Also, added logistics units to most SAM sites to ensure that launchers have access to missile/ammunition resupply.
2024-05-04 09:27:36 +03:00
MetalStormGhost
cbd230862f
Air-start supersonic AI aircraft if the campaign is being flown in a WWII terrain. This will improve these terrains' use in cold war campaigns.
...
Air-start AI fixed wing (non-VTOL) aircraft if the campaign is being flown in the South Atlantic terrain and the airfield is one of the Harrier-only ones in East Falklands. This will help avoid AI aircraft from smashing into the end of the runway and exploding.
2024-05-04 09:26:02 +03:00
MetalStormGhost
e69708ada9
Removed Retribution convoys from Pretense campaigns. Removed deep copies of both coalitions when saving the pre-Pretense generation backup.
2024-05-04 09:24:56 +03:00
MetalStormGhost
40a01218dd
Implemented saving of a Pretense pre-generation backup save before generating a Pretense campaign.
2024-05-01 11:01:59 +03:00
MetalStormGhost
0a7b885626
Now will not call CarrierMap:new() when game.settings.pretense_controllable_carrier is disabled.
2024-04-06 20:27:39 +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
2edc0a7305
Ground unit presets are now generated from the coalition/faction definitions.
2024-02-25 12:40:49 +02:00
MetalStormGhost
200812a39b
Other coalition TGO spawns are now generated with the correct faction.
2024-02-25 12:40:48 +02:00
MetalStormGhost
a4d8c14579
Added Iron Dome, David's Slinh, NASAMS-B and Rapier sites to Pretense. Fixed the timestamp in the save file name.
2024-02-25 12:40:48 +02:00
MetalStormGhost
969f0e26c7
Pretense zone radius (radii) for FOBs with FARPs will now be dynamically adjusted. Increased the size of Pretense zones at Damascus, Khalkhalah and Krasnodar-Pashkovsky (which are quite spread out) so the zone would encompass the entire airfield.
2024-02-25 12:40:48 +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
3d8956434c
Will now append the date and time in the Pretense savefile, mitigating risks of missions script errors when trying to load a savefile from a previously generated mission.
2024-02-25 12:40:46 +02:00
MetalStormGhost
3d435c7821
Removed a non-functional option from the settings.
2024-02-25 12:40:46 +02:00
MetalStormGhost
76bab86e67
Updated the Pretense script to version 1.3.8 - 3 Dec 2023 and MIST to version 4.5.122.
2024-02-25 12:40:45 +02:00
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
5b60d64437
Reduced the number of cargo planes to 2 per side.
2024-02-25 12:40:43 +02:00
MetalStormGhost
2808d0f72c
Fixed the bug of not generating opposing force ground unit groups at Pretense zones. Added the country name to ground vehicle group names to avoid duplicates.
2024-02-25 12:40:43 +02:00
MetalStormGhost
64e425012c
Implemented generating runway zones at airports in Pretense.
2024-02-25 12:40:42 +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
MetalStormGhost
91a9a9b88f
Moved SAM site presets from presets.defenses.sam to presets.defenses.red/blue
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
ced7aa4d72
Implemented generating amphibious units for Pretense unit groups. Amphibious units are selected out of a pre-defined list. Units which the faction has access to are preferred, but certain default unit types are selected as a fall-back to ensure that all the generated units can swim.
2024-02-25 12:40:41 +02:00
MetalStormGhost
921b1ee9fd
Fixed a bug in SHORAD and SAM generation.
2024-02-25 12:39:47 +02:00
MetalStormGhost
713cd98d10
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-25 12:39:47 +02:00