Eclipse/Druss99
f4a1908088
fix a bug with pretense generation wrt neutral bases
2025-10-20 15:14:43 -04:00
Eclipse/Druss99
31c80dfd02
refactor of previous commits
...
refactor to enum
typing and many other fixes
fix tests
attempt to fix some typescript
more typescript fixes
more typescript test fixes
revert all API changes
update to pydcs
mypy fixes
Use properties to check if player is blue/red/neutral
update requirements.txt
black -_-
bump pydcs and fix mypy
add opponent property
bump pydcs
2025-10-19 19:34:38 +02:00
Drexyl
98c71c255b
Fix to exclude Moose plugins from Pretense injection ( #585 )
2025-10-07 18:58:19 -04:00
Drexyl
d2aa615133
Update EW Script and refine logic ( #555 )
2025-08-27 19:20:27 +02:00
Druss99
1d4b0608de
Update swedish military assets pack ( #464 )
...
* Update swedish military assets pack
* re add old variant names for save compat
* Update faction.py
fixed presets
* fix double variant name
2025-01-26 14:54:58 +00:00
Raffson
d1b484f560
Support for auto-fog
...
implemented as a setting...
2024-12-26 02:51:58 +01:00
Druss99
dd7e4c908e
Recovery tanker support ( #429 )
...
* fix conflict
* squash bugs and reuse patrol layout
* fix tanker tacan and formatting
* fix unlimited fuel option
* update pretense for tanker changes
* reuse refueling flight plan and bugfix for sunken carrier
changelog
* remove unitmap dependency
* formatting and more unit map removal
* more formatting
* typing and black
* keep tanker out of clouds
* fix if there are no clouds
* better cloud handling
* groundwork for recovery task
* remove changes to game/commander
* Finishing up recovery tankers
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-23 04:39:10 +00:00
Druss99
6d0dbd4d1c
Bugfix if settings directory doesn't exist ( #432 )
...
* bugfix if settings directory doesnt exist
* Create directories in persistency
---------
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-12-21 16:44:31 +00:00
Raffson
64d60e5ccf
Datalink support + pydcs update
...
Support for 2.9.10.4160, though without Iraq, but finally there's some basic support for datalink...
2024-12-16 03:08:40 +01:00
Raffson
b5225f03a1
Fix #414
...
Since there's little difference between the two generators for `generate_plugin_data`, we'll have the pretense lua-generator call its super...
2024-11-08 21:02:08 +01:00
Raffson
5fdf38c663
Format with updated black
2024-10-12 17:33:01 +02:00
M Chimiste
169ef26329
Set Pretense Player Flight Waypoints to CPs ( #385 )
2024-10-06 01:12:02 +02:00
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