Commit Graph

  • 08c007b7bf Callsign not used when flight starts mid-mission Raffson 2024-02-16 20:47:31 +01:00
  • e0aeabb63a Use CTLD zones for drop-off Raffson 2024-02-16 18:35:59 +01:00
  • d9479be12e Max out airbase_threat_range in scenic_merge Raffson 2024-02-12 00:06:58 +01:00
  • 3f5b93a5c1 Introduce AttackShips compound task Raffson 2024-02-12 00:04:13 +01:00
  • 05163d41a0 Adjust comment Raffson 2024-02-12 00:03:48 +01:00
  • 5dfba64ac3 Don't break out of procurement loop Raffson 2024-02-12 00:03:27 +01:00
  • 76a077d38f Fix wrong names of CTLD-zones at Wadi al Jandali Raffson 2024-02-11 17:24:55 +01:00
  • caad080b01 Update changelog Raffson 2024-02-11 17:17:30 +01:00
  • 35f6cd8f17 Plan Anti-Ship against all ship-groups of TGO Raffson 2024-02-11 16:56:10 +01:00
  • 89aa0985bc Multi-task fallback during configuration Raffson 2024-02-11 11:45:26 +01:00
  • 747ccae023 S3B tasks update (#249) Starfire13 2024-02-12 00:54:03 +11:00
  • 06242a433c Update B-52 loadout after ED's recent rework of the aircraft (#250) Starfire13 2024-02-11 23:12:41 +11:00
  • 14a0310d25 Prioritize degrading IADS Raffson 2024-02-10 20:42:01 +01:00
  • 80bf5149fc Correct name of referenced weight factor Raffson 2024-02-10 18:05:52 +01:00
  • 80d1ae0950 Adding spaces Raffson 2024-02-10 18:05:21 +01:00
  • cb68ff0df3 Configurable back-end port Raffson 2024-02-10 17:58:44 +01:00
  • 63d05ea696 Preference option to prioritize custom Liberation payloads Raffson 2024-02-09 23:52:27 +01:00
  • 7c05e94619 Remove unused code Raffson 2024-02-09 20:13:12 +01:00
  • f4987e05e4 Rollback PySide6 update Raffson 2024-02-09 19:51:32 +01:00
  • 4c13704630 Fix error on shutdown Raffson 2024-02-09 19:20:29 +01:00
  • a24925bc45 Updated pretense_compiled.lua to version 1.6.5: MetalStormGhost 2024-02-05 20:00:43 +02:00
  • 3d8eed7334 Updated the Pretense script to version 1.4.5 MetalStormGhost 2023-12-26 17:57:26 +02:00
  • 6e7844982d Ground unit presets are now generated from the coalition/faction definitions. MetalStormGhost 2023-12-26 17:23:15 +02:00
  • 1835743af0 Other coalition TGO spawns are now generated with the correct faction. MetalStormGhost 2023-12-26 14:36:33 +02:00
  • 3831f4f309 Added Iron Dome, David's Slinh, NASAMS-B and Rapier sites to Pretense. Fixed the timestamp in the save file name. MetalStormGhost 2024-01-22 21:15:44 +02:00
  • 226efe1151 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. MetalStormGhost 2024-01-22 21:14:13 +02:00
  • db620a9056 Now randomly shuffles the Pretense squadrons when generating a Pretense campaign. MetalStormGhost 2024-01-22 18:32:32 +02:00
  • 2011a5f555 Helicopter escort squadrons no longer cause an error on Pretense campaign generation. MetalStormGhost 2024-01-22 18:31:54 +02:00
  • 6c9115f517 Separated init_header.lua into init_body_1.lua and init_header.lua. Deleted the ground unit groups since they will eventually be generated dynamically. MetalStormGhost 2024-01-22 18:30:09 +02:00
  • 17b9d9c3d5 Copied init_header.lua to init_body_1.lua MetalStormGhost 2024-01-22 18:29:18 +02:00
  • 2b63f45392 Rename resources/plugins/pretense/init_body_2.lua (from resources/plugins/pretense/init_body_1.lua) MetalStormGhost 2024-01-22 18:28:31 +02:00
  • c830a6e7c0 Rename resources/plugins/pretense/init_body_3.lua (from resources/plugins/pretense/init_body_2.lua) MetalStormGhost 2024-01-22 18:28:13 +02:00
  • 59f6a3dcba 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. MetalStormGhost 2023-12-09 12:24:06 +02:00
  • 09362cade4 Removed a non-functional option from the settings. MetalStormGhost 2023-12-09 11:24:47 +02:00
  • 85cec06098 Updated the Pretense script to version 1.3.8 - 3 Dec 2023 and MIST to version 4.5.122. MetalStormGhost 2023-12-06 16:38:25 +02:00
  • 4c201f25ba Will now correctly generate Pretense campaigns with CJTF factions. MetalStormGhost 2023-11-22 20:13:57 +02:00
  • 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 MetalStormGhost 2023-11-22 19:46:44 +02:00
  • 7908858433 Updated pretense_compiled.lua to version 1.3.6. Implemented Pretense settings in pretense_compiled.lua Added new function moveOffRoadToPointAndAssault() to enable assault groups to drive off-road and thus avoid some of the bridges where they might get stuck. MetalStormGhost 2023-10-22 22:03:29 +03:00
  • 595c468ab2 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. MetalStormGhost 2023-10-22 22:01:00 +03:00
  • 87975b9aad Implemented a Pretense settings page. MetalStormGhost 2023-10-22 21:59:21 +03:00
  • b508ef9aec Reduced the number of cargo planes to 2 per side. MetalStormGhost 2023-10-22 21:46:30 +03:00
  • 18a421f78e 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. MetalStormGhost 2023-10-22 21:45:36 +03:00
  • 2b5c415159 Implemented generating runway zones at airports in Pretense. MetalStormGhost 2023-10-15 18:16:58 +03:00
  • a3575995bd Restored compatibility of the Pretense generator after the timedelta -> datetime change and other changes caused by the Liberation merge/sync. MetalStormGhost 2023-10-09 20:17:31 +03:00
  • 04c32073aa In the event of too many channel users, fail gracefully by reusing a random channel instead of always the previous one. MetalStormGhost 2023-10-09 10:51:13 +03:00
  • 4f742b51f7 Moved SAM site presets from presets.defenses.sam to presets.defenses.red/blue MetalStormGhost 2023-10-09 10:43:25 +03:00
  • e7b84e18d1 Fix errors due to LaserCodeRegistry move Raffson 2023-10-04 19:49:34 +02:00
  • 6c2e14c6d9 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. MetalStormGhost 2023-10-04 18:38:41 +03:00
  • dc504005a1 Added new icons and a separate button which will point to the Pretense/Foothold Discord. MetalStormGhost 2023-10-03 22:45:34 +03:00
  • 359a579e65 Fixed a bug in SHORAD and SAM generation. MetalStormGhost 2023-10-03 17:56:21 +03:00
  • 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. MetalStormGhost 2023-10-03 17:17:12 +03:00
  • 9be06d9601 Fixed a bug in generate_pretense_zone_connection(). MetalStormGhost 2023-10-03 14:34:26 +03:00
  • 9edb4ecc45 Implemented a list of units which will be removed from Pretense ground assault groups due to pathfinding problems. The units will just remain still instead of advancing. Also added one tank to each group and increased the maximum size of the groups to 5. Removed artillery units from the groups, similarly due to pathfinding problems. MetalStormGhost 2023-10-03 13:56:43 +03:00
  • ffac036266 Implemented spawning of ship statics/units at naval control points instead of land structures or SHORAD sites. MetalStormGhost 2023-10-03 13:55:20 +03:00
  • 687ae88685 Implemented a static method for creating the Pretense zone connections and to avoid duplicate connections. MetalStormGhost 2023-10-02 10:32:17 +03:00
  • 4d8031ef96 Pretense SEAD missions will now also target AAA. Also incorporates the fix to fullBuild(): Dzsekeb — 03/09/2023 11:50 add the highlighted line to the fullbuild function https://discord.com/channels/959044877470027848/1031459721313517578/1147815809075392604 MetalStormGhost 2023-09-24 02:05:18 +03:00
  • a60d1dce19 Pretense SEAD flights will use the SEAD Sweep loadout, when available. MetalStormGhost 2023-09-23 18:15:11 +03:00
  • 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. MetalStormGhost 2023-09-23 16:20:49 +03:00
  • 9d9740cdb3 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. MetalStormGhost 2023-09-23 16:17:36 +03:00
  • bd4e2d7189 Copied flightgroupconfigurator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. MetalStormGhost 2023-09-23 14:28:48 +03:00
  • 8f883d51d7 Aircraft squadrons are now products of the Hangar, instead of the air defence Command Center. MetalStormGhost 2023-09-23 13:00:44 +03:00
  • 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. MetalStormGhost 2023-09-23 12:59:50 +03:00
  • 6f4a12658d Formatting Raffson 2023-09-23 19:44:01 +02:00
  • 1bcecd5b3a Fixed not all generated flights getting inserted into Pretense data structures. MetalStormGhost 2023-09-19 19:10:36 +03:00
  • 7653866ddb Improved the typing of game.pretense_air MetalStormGhost 2023-09-19 18:20:55 +03:00
  • ecaa68f32a Added naval units (supply/cargo/landing ships) to Pretense scripts. MetalStormGhost 2023-09-19 11:12:39 +03:00
  • bd0deed16a Raise NoParkingSlotError instead of RuntimeError when running out of ground spawns. MetalStormGhost 2023-09-19 11:11:37 +03:00
  • d890ef0808 Implemented generating player slots in the Pretense campaign. MetalStormGhost 2023-09-19 01:05:52 +03:00
  • 8520764308 Run aircraft_generator.generate_packages() only once per ATO, instead of multiple times. Fixed the duplicated flights issue. MetalStormGhost 2023-09-18 18:23:03 +03:00
  • 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. MetalStormGhost 2023-09-17 20:37:29 +03:00
  • 00bcd547d3 Implemented a separate generate_packages() method in PretenseAircraftGenerator to prevent generating the same ATO multiple times over. MetalStormGhost 2023-09-17 20:31:57 +03:00
  • a30fb0f368 Blast through errors Raffson 2023-09-17 16:34:08 +02:00
  • 087a38d105 imports Raffson 2023-09-17 15:24:13 +02:00
  • bc92a2ade3 Don't spawn flights for the other squadron in generate_pretense_aircraft(). MetalStormGhost 2023-09-17 18:55:52 +03:00
  • bc27dc4621 Cleaned up some code. MetalStormGhost 2023-09-17 16:06:17 +03:00
  • 94c1455249 Now generates air units for both sides at airfields. MetalStormGhost 2023-09-17 15:58:06 +03:00
  • 4be122e11a Split the Pretense zone definition generation into separate methods: generate_pretense_zone_land() for land control points and generate_pretense_zone_sea() for carriers/LHAs. MetalStormGhost 2023-09-17 13:09:02 +03:00
  • f7c6f14220 Fixed FlightType.AEWC and FlightType.REFUELING handling in generate_pretense_aircraft(). MetalStormGhost 2023-09-17 12:29:21 +03:00
  • c7ec3283bd 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(). MetalStormGhost 2023-09-17 11:21:43 +03:00
  • 1d6c8a2453 Now splits the generated Pretense group role properly in create_vehicle_group(). MetalStormGhost 2023-09-17 11:16:18 +03:00
  • 730b982247 Will now dynamically generate offmapZones for supply cargo aircraft. MetalStormGhost 2023-09-16 23:34:05 +03:00
  • 8aea905640 Cleaned up pretense/pretenseaircraftgenerator.py MetalStormGhost 2023-09-16 21:11:55 +03:00
  • 3809e28a6a Fixed conflicting types for cp in generate_mid_mission(). MetalStormGhost 2023-09-16 21:11:43 +03:00
  • 19984636e3 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. MetalStormGhost 2023-09-16 21:08:06 +03:00
  • f4c5c96fba Fixed a type assignment in pretensecargo.py MetalStormGhost 2023-09-16 20:57:11 +03:00
  • 2e889325e1 Calling the constructor of MissionGenerator in PretenseMissionGenerator in unnecessary, so leaving it out. MetalStormGhost 2023-09-16 20:14:50 +03:00
  • a787cd4f70 Disabled the base Retribution plugin in pretenseluagenerator.py and disabled adding zones for OffMapSpawns. MetalStormGhost 2023-09-16 20:12:00 +03:00
  • a975e2c2dc Now connects more isolated zones in Pretense. MetalStormGhost 2023-09-16 17:21:28 +03:00
  • ddc5709a17 Add CJTF factions to the coalitions in Pretense, if they're not being used in the Retribution campaign. MetalStormGhost 2023-09-16 17:20:38 +03:00
  • 34fae51189 Fixed Pretense ground unit group id/name handling. MetalStormGhost 2023-09-16 16:30:49 +03:00
  • 5621649f10 Also connect carrier and LHA control points to adjacent friendly points in Pretense. Enlarged the carrier trigger zones. MetalStormGhost 2023-09-16 15:06:14 +03:00
  • f4a239aaad Split the init_body.lua script in two parts to facilitate dynamic JTAC spawning. MetalStormGhost 2023-09-16 15:04:03 +03:00
  • 46e7f89da9 PretenseFlightGroupSpawner method for spawning mid-mission flights and setting the appropriate Pretense names to them. MetalStormGhost 2023-09-16 15:02:49 +03:00
  • b73a18b7b9 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. MetalStormGhost 2023-09-16 14:36:59 +03:00
  • 4a859e00ae Add CJTF factions to the coalitions in Pretense, if they're not being used in the campaign. MetalStormGhost 2023-09-15 22:24:17 +03:00
  • acf035697f Implemented dynamic outputting of JTAC units to the Pretense init script. MetalStormGhost 2023-09-15 21:02:56 +03:00
  • 04993ddf1b Split the init_body.lua script in two parts. MetalStormGhost 2023-09-15 07:45:04 +03:00
  • 93265040f6 First version of the generated Pretense campaign running in-game. MetalStormGhost 2023-09-14 21:10:50 +03:00
  • d517b1cdeb Now clears Retribution triggers when generating a Pretense campaign. MetalStormGhost 2023-09-14 08:44:23 +03:00
  • 5687c15c21 Fixed missing return statement with isinstance(cp, OffMapSpawn). MetalStormGhost 2023-09-14 08:43:43 +03:00