Commit Graph

60 Commits

Author SHA1 Message Date
Raffson
431492fa77 Introduce support for "rebel-zones" 2025-01-19 19:06:19 +01:00
Raffson
807bb16ddf Save-compat improvements 2025-01-05 14:48:28 +01:00
Raffson
ea9c459942 Disable Nevatim/Ramon airbase hack for inoperable slots 2024-08-16 12:57:25 +02:00
Raffson
c262bb3681 Reload terrain and airports in migrator 2024-08-16 00:34:41 +02:00
Raffson
9dd25e933e RoundRobinize random livery selection from livery_set 2024-08-04 12:28:05 +02:00
Raffson
532515fad7 Better save-compat w.r.t. changes in AC's yaml 2024-08-03 20:46:06 +02:00
Raffson
ad87182cf9 Reflect changes in aircraft's yaml through migrator 2024-07-21 21:38:23 +02:00
Raffson
24fc438fda Fix save-compat issue 2024-07-02 18:42:43 +02:00
Raffson
d2fd7bbb4e Configurable carriers 2024-04-07 00:12:08 +02:00
Raffson
4bbe28838d Add livery_set to migrator 2024-03-24 13:29:05 +01:00
Raffson
ab32c44b9d Ability to configure liveries on flight/flight-member level 2024-03-22 20:41:28 +01:00
Raffson
ae2f1dddf4 Fix save-compat issue 2024-03-17 00:57:34 +01:00
Raffson
9303e1cb9e Configurable cruise & combat altitude + randomized offsets (phase 1) 2024-03-04 00:01:29 +01:00
Raffson
7158a5e60d Don't degrade flight-plan when adding waypoints 2024-03-03 13:43:33 +01:00
Raffson
bcf8ee9d42 Fine-tune release of parking slots 2024-03-03 12:51:27 +01:00
Raffson
d2004e5b11 Clear parking slots when save is loaded 2024-03-03 00:27:20 +01:00
Raffson
e7e43a95fb Initialize Join wpt in migrator 2024-02-18 23:29:10 +01:00
Raffson
d0dec86a6d Add Load/Save for AirWingConfig #167 2023-12-29 17:50:05 +01:00
Raffson
bc861380f0 Allow hiding IADS TGOs on MFD 2023-10-22 00:23:00 +02:00
Raffson
63e2c30e44 Fix SEAD Sweep not available at campaign start 2023-10-15 12:23:18 +02:00
Raffson
02ae5d9ad7 Remove faulty beacon in migrator 2023-10-14 20:11:08 +02:00
Raffson
ea726bbf06 Streamlining 2023-10-07 21:43:27 +02:00
Raffson
03d8448def Streamlining 2023-10-07 18:13:55 +02:00
Raffson
c50dcaaafb Streamlining 2023-10-07 18:00:07 +02:00
Raffson
30f6c14030 Fix bug in migrator 2023-10-01 17:21:57 +02:00
Raffson
d581af3b8a Remove flights with package not in ATO in migrator 2023-09-24 22:14:26 +02:00
Raffson
fe470ad9c6 Migrator fix 2023-09-08 17:17:14 +02:00
Raffson
a8a37fa3e7 Add GroupTask to TGO for map filtering
Resolves #21
2023-09-03 23:41:15 +02:00
Raffson
1157d264ee Migrator update for SEAD-Sweep 2023-08-14 20:25:35 +02:00
Raffson
77b88de40e Migrator adjustment for 'radio_presets' 2023-08-13 18:31:57 +02:00
Raffson
9dd76bdd37 Ignore tying issues in migrator 2023-07-09 21:39:43 +02:00
Raffson
2b5f6f7998 Migration changes for using sets instead of lists 2023-07-09 21:35:37 +02:00
Raffson
da10cc091c Tweak 'release untasked aircraft' in migrator 2023-07-05 23:34:31 +02:00
Raffson
6ced738256 Reset auto-assignable mission types if liberation save 2023-07-02 21:14:20 +02:00
Raffson
a5083e3e1f Add CHN in country_dict for migration 2023-07-02 00:47:57 +02:00
Raffson
f6f1d69048 Fix mypy's complaints 2023-07-01 17:20:02 +02:00
Raffson
3b745c43eb Save-compat changes to allow loading Liberation saves
May be incomplete, some discrepancies in naming may still exist, but at least Kerbo's campaign can be loaded.
2023-07-01 17:08:12 +02:00
Raffson
768f2dbc57 Update control_points earlier in migrator 2023-06-25 01:17:05 +02:00
MetalStormGhost
208c517882 Roadbase support in the Migrator, OffMapSpawn
Added support in migrator.py to add the new ground spawn, helipad and roadbase attributes to control points. This time around, also supporting OffMapSpawns and other types of control point besides just Airfield & Fob.
2023-06-20 07:48:32 +02:00
MetalStormGhost
f970801243 Roadbase support in the Migrator
Added support in migrator.py to add the new ground spawn, helipad and roadbase attributes to control points.
2023-06-19 22:05:32 +02:00
MetalStormGhost
e273e93012 Roadbase and ground spawn support (#132)
* Roadbase and ground spawn support

Implemented support for roadbases and ground spawn slots at airfields and FOBs. The ground spawn slots can be inserted in campaigns by placing either an A-10A or an AJS37 at a runway or ramp. This will cause an invisible FARP, an ammo dump and a fuel dump to be placed (behind the slot in case of A-10A, to the side in case of AJS37) in the generated campaigns. The ground spawn slot can be used by human controlled aircraft in generated missions. Also allowed the use of the four-slot FARP and the single helipad in campaigns, in addition to the invisible FARP. The first waypoint of the placed aircraft will be the center of a Remove Statics trigger zone (which might or might not work in multiplayer due to a DCS limitation).

Also implemented three new options in settings:
 - AI fixed-wing aircraft can use roadbases / bases with only ground spawns
   - This setting will allow the AI to use the roadbases for flights and transfers. AI flights will air-start from these bases, since the AI in DCS is not currently able to take off from ground spawns.
 - Spawn trucks at ground spawns in airbases instead of FARP statics
 - Spawn trucks at ground spawns in roadbases instead of FARP statics
   - These settings will replace the FARP statics with refueler and ammo trucks at roadbases. Enabling them might have a negative performance impact.

* Modified calculate_parking_slots() so it now takes into account also helicopter slots on FARPs and also ground start slots (but only if the aircraft is flyable or the "AI fixed-wing aircraft can use roadbases / bases with only ground spawns" option is enabled in settings).

* Improved the way parking slots are communicated on the basemenu window.

* Refactored helipad and ground spawn appends to static methods _add_helipad and _add_ground_spawn in mizcampaignloader.py
Added missing changelog entries.
Fixed tgogenerator.py imports.
Cleaned up ParkingType() construction.

* Added test_control_point_parking for testing that the correct number of parking slots are returned for control point in test_controlpoint.py

* Added test_parking_type_from_squadron to test the correct ParkingType object is returned for a squadron of Viggens in test_controlpoint.py

* Added test_parking_type_from_aircraft to test the correct ParkingType object is returned for Viggen aircraft type in test_controlpoint.py

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-06-19 00:02:08 +03:00
Raffson
0de4b01917 Forgot to run local checks -_- 2023-06-15 04:26:25 +02:00
Raffson
91ee04bf2a Fix save-compat issues 2023-06-15 03:11:12 +02:00
Raffson
45b8757593 Support for convoy "spawn-route" in campaign design
Resolves #91

'Assault On Damascus' was revamped using this new technique
2023-06-15 01:47:08 +02:00
Raffson
b8cb1a6273 Fix corruptions due to overpopulation 2023-05-28 15:17:40 +02:00
Raffson
1a5e31c01a Migrate squadron countries 2023-05-20 01:41:37 +02:00
Raffson
f72f3316f4 Fix bug in migrator 2023-05-18 23:05:57 +02:00
Raffson
386844378e More save-compatibility changes 2023-05-18 22:33:11 +02:00
Raffson
b750099b16 Add missing tasks in aircraft yamls 2023-05-18 13:14:22 +02:00
Raffson
f00a3fb1d2 pydcs update: refactored livery-scanner 2023-05-16 21:45:27 +02:00