4622 Commits

Author SHA1 Message Date
Raffson
2ec187bc9c
Fixing OCA-bug against FOBs
OCA Aircraft should be properly allowed against FOBs given Ghosti's roadbases
2023-07-05 23:29:48 +02:00
Raffson
785ac6eacc
Remove double call to "return_pilots_and_aircraft"
This is already done in 'package.remove_flight(flight)'
2023-07-05 22:30:47 +02:00
MetalStormGhost
be31a97c71 Added new option in settings: SEAD Sweep engagement range (nmi).
Renamed SEAD Sweep threat buffer distance (nmi) to SEAD Escort/Sweep threat buffer distance (nmi) since it also applies to SEAD Escort flights.
2023-07-04 23:19:47 +02:00
MetalStormGhost
aecb171b8f SEAD Sweep threat buffer distance
Added a new option in settings: SEAD Sweep threat buffer distance (nmi).
2023-07-04 23:19:47 +02:00
MetalStormGhost
aafc832e24 Settings option: Generate SCENERY REMOVE OBJECTS ZONE triggers at roadbase
Implemented an option in settings to disable or enable the SCENERY REMOVE OBJECTS ZONE triggers generated at roadbases (at the first waypoint).
2023-07-03 21:09:25 +02:00
Raffson
6c210c9d15
Fine-tuning stuff for 'SEAD Sweep' 2023-07-03 00:38:50 +02:00
MetalStormGhost
031feeed6f
F-16A hotifx (#158)
* F-16A hotifx

Added SEAD capability to F-16A MLU and SEAD Escort & SEAD to F-16A. Fixed F-16A MLU icon and banner. Added new F-16A and F-16A MLU loadouts.

* Updated changelog.
2023-07-02 21:13:00 +00:00
Raffson
6ced738256
Reset auto-assignable mission types if liberation save 2023-07-02 21:14:20 +02:00
Raffson
db038ecdea
Add SEAD Sweep flight plan
Reintroduce legacy SEAD Escort flight plan, but under a separate type because it didn't really escort the primary flight...
2023-07-02 16:53:55 +02:00
Raffson
e2d9a794b8
Invert factions when "Invert Map" is set in NGW 2023-07-02 13:56:11 +02:00
Raffson
ae17f195fe
Fine-tune inversion rules for Operation Desert Sabre 2023-07-02 13:29:29 +02:00
Raffson
46f98a0684
Update Exercise Quasar
Fine-tuned inversion process + add note in description
2023-07-02 13:21:28 +02:00
Raffson
9c6b070dbd
Force 'Nothing' task for ferry flights
pydcs doesn't export this task, although every aircraft is capable of doing 'Nothing' 😂
2023-07-02 12:52:19 +02:00
Raffson
569efdbb12
Remove DEAD from Tu-160 & Tu-95MS
You can still create a package against an air defense site using STRIKE...
2023-07-02 12:43:00 +02:00
Raffson
9086262f2b
Update changelog 2023-07-02 12:30:34 +02:00
MetalStormGhost
861ed584df Restored TheaterGroundObject handling in antishipingress.py
Restores handling of TheaterGroundObject targets in antishipingress.py
This is needed when anti-ship missions are planned against other ship groups than NavalControlPoints (carrier groups or LHA strike groups).
2023-07-02 12:12:57 +02:00
Raffson
a5083e3e1f
Add CHN in country_dict for migration 2023-07-02 00:47:57 +02:00
MetalStormGhost
6e37cadb84
Settings doctrine page + streamlining (#156)
* Added a separate Doctrine page in settings with the following new options:
- Minimum number of aircraft for autoplanner to plan OCA packages against
- Airbase threat range (nmi)
- TARCAP threat buffer distance (nmi)
- AEW&C threat buffer distance (nmi)
- Theater tanker threat buffer distance (nmi)

Implemented handling for the OPFOR autoplanner aggressiveness in objectivefinder.py vulnerable_control_points().

* * Added three new options in Settings:
- Autoplanner plans refueling flights for Strike packages
- Autoplanner plans refueling flights for OCA packages
- Autoplanner plans refueling flights for DEAD packages

Fixed a bug in faction.py where F-16Ds were not correctly removed from the faction when the F-16I/F-16D mod was not selected.

* Renamed Maximum frontline length -> Maximum frontline width.
2023-07-01 23:54:27 +02:00
Raffson
4b4ec8d9ad
Add livery selector in SquadronDialog 2023-07-01 23:42:13 +02:00
holyorangejuice
ef0bc31b8c
WRL Faction Updates (#155)
* WRL Faction Updates

I've updated all factions to have the same exact air assets to streamline the ability to use my factions anywhere. The difference in my factions is the units used in frontlines, SAMs, and so on. I still have to use custom factions to ensure my missions are played as I designed them. People can customize them from there. The new WRL mixed faction is going to be used in all wargame scenarios and some Sinai map stuff I've been looking at making.
2023-07-01 19:11:59 +00: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
Dan Albert
aaaa9847b1
Add channel naming for the warthogs.
The manual for the legacy warthog usually calls these VHF 1/2 and UHF,
or VHF AM/FM and UHF. The AM/FM nomenclature is what I usually hear
people call them and it's clearer, so go with that.

For the A-10C II, that manual hasn't been updated for the AN/ARC-210
yet, so I'm not really sure what that ought to be called. The UFC calls
it COM 1 though, so I went with that. The alternative would be something
like VHF/UHF for the 210 and UHF for the 164, but I don't know if that's
actually better. Could be completely explicit and call them by their
full names, but that's probably less clear to people that aren't
fiddling with the radio implementation constantly (and even I confuse
the 164 and the 186 all the damn time).
2023-07-01 16:05:40 +02:00
Raffson
9e42f7f255
Execute EWRJ triggers after EWRJ script has initialized 2023-07-01 15:27:11 +02:00
holyorangejuice
03a3fd37ef Campaign Release / Updates
All campaigns have F15e added to the roster plus some other minor roster changes. Battle4SyriaNorth released.
2023-06-29 22:11:53 +02:00
MetalStormGhost
e5bb341f5b
A-6A Intruder with Adecarcer's hardpoint options from A-7E mod (#153)
* A-6A Intruder with Adecarcer's hardpoint options from A-7E mod

Enabled Adecarcer's modified hardpoint options for the A-6A Intruder mod, now also including weapons from the A-7E Corsair II mod. Please note that the A-7E mod will need to be installed if one wants to use those weapons.

* Moved the import "from pydcs_extensions import WeaponsA7E" to within the VSN_A6A pylon objects to help solve the "cannot import from partially initialized module" error.

* Import pydcs_extensions.a7e before pydcs_extensions.a6a to help solve the "cannot import from partially initialized module" error.

* Added inject_weapons(WeaponsA7E) in a6a.py
2023-06-25 18:21:15 +02:00
Raffson
57a0231699
Move LuaGenerator back to its original location
I can't even remember why I moved this line, but that's the one that broke CTLD...
2023-06-25 17:07:55 +02:00
Raffson
bf5807d9c1
Fix parking space info in AWCD 2023-06-25 15:38:22 +02:00
Raffson
5368c06650
Only use 'Player' skill as flight-lead 2023-06-25 13:43:59 +02:00
Raffson
ab66846967
Add CTLD zones to Exercise Quasar 2023-06-25 13:36:25 +02:00
Raffson
a2b7477404
Update CTLD to latest version 2023-06-25 13:01:22 +02:00
Raffson
3bc4203954
Pydcs fix for FARPs 2023-06-25 03:23:50 +02:00
Raffson
51fc0215d6
Link landing wpt to pad in flightgroupspawner
Fixes a bug where helipads would try to pop from an empty list
2023-06-25 03:21:58 +02:00
Raffson
768f2dbc57
Update control_points earlier in migrator 2023-06-25 01:17:05 +02:00
Raffson
928a679e7d
Cleanup import 2023-06-25 01:17:04 +02:00
Raffson
430fcfee20
Fix 'ParkingType is not defined' exception
Would occur when starting at full strength
2023-06-25 01:17:04 +02:00
Dan Albert
50975d5eb6
Razbam F-15E banner and icon.
Just reusing the old one.

https://github.com/dcs-liberation/dcs_liberation/issues/3028
2023-06-23 22:08:39 +02:00
Dan Albert
918716044c
Add radio config for the new F-15E.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3028.
2023-06-23 22:08:38 +02:00
Dan Albert
c7a214201c
Add YAML file for Razbam Strike Eagle.
The old DCS AI F-15E is sticking around because the two have very
different weapon sets for now, so it's probably better to use the AI-
only one for squadrons that don't expect players.

I've avoided renaming the old one (we probably should name it "... (AI)"
for clarity) because the rename will break save compat. I have added a
_new_ name that new campaigns can use though.

https://github.com/dcs-liberation/dcs_liberation/issues/3028
2023-06-23 22:08:38 +02:00
Starfire13
cd563d837b
Add loadouts for Razbam F-15E Strike Eagle. 2023-06-23 22:08:38 +02:00
Raffson
32df683720
Bump pydcs for Strike Eagle 2023-06-23 22:08:35 +02:00
M Chimiste
e15002dff5
Added F-15E support to factions and campaign YAMLs (#152)
* Added F-15E support to factions and campaign YAMLs

* Update Caucasus_Multi_Full.yaml

* Update Caucasus_Multi_Russia.yaml

* Update Operation-Desert-Sabre.yaml

* Update black_sea.yaml
2023-06-23 19:51:01 +00:00
MetalStormGhost
fb2598a671 Github URL update
Updated the URLs to point correctly to Retribution code, Retribution wiki or Liberation code, as appropriate.
2023-06-21 10:28:26 +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
5a71806651
Add Sinai campaign: Exercise Quasar
Modified Starfire's 'Exercise Bright Star' campaign
2023-06-18 19:10:38 +02:00
Raffson
430d33c144
Add Mi-8 to Egypt's faction 2023-06-18 16:44:19 +02:00
Raffson
fa63beeb52
Add Gepard & Vulcan to Bluefor Modern 2023-06-18 12:37:40 +02:00
Raffson
e952e0b536
Pydcs fix for ACLS
Fix #147
2023-06-17 22:31:08 +02:00