675 Commits

Author SHA1 Message Date
Raffson
243eed27bb
Update changlog w.r.t. NGW errors 2024-04-13 22:20:55 +02:00
Raffson
d2fd7bbb4e
Configurable carriers 2024-04-07 00:12:08 +02:00
Raffson
c5897950b6
Skip dead connections in IADS network
The "no skynet usable units" exception would get triggered when an IADS-node would form its connections. If one of those connections contained an IADS unit that was dead, the exception would get triggered since we weren't skipping "dead connections".
2024-04-06 17:39:27 +02:00
Raffson
d051774464
Allow naval adjustments on turn 0 2024-04-01 22:08:00 +02:00
Chilli
a9a56bfcc4
CJS super hornet mod update (#277) 2024-04-01 21:39:46 +02:00
Raffson
52b25821af
Introduce livery-sets on squadron level
Randomly chooses one of the liveries defined if present in the squadron's yaml, overrides entry for "livery" or whatever is chosen in the UI except liveries on flight-member level
2024-03-23 21:29:01 +01:00
Raffson
6ee74cf079
Support for inline factions in campaign's yaml 2024-03-22 22:50:55 +01:00
Raffson
a56aa7a766
Support yaml factions 2024-03-22 21:13:45 +01:00
Raffson
ab32c44b9d
Ability to configure liveries on flight/flight-member level 2024-03-22 20:41:28 +01:00
Raffson
a7d65866e8
Fix A-10A payload bug leading to uneditable flight 2024-03-22 19:40:48 +01:00
Raffson
36ef246fcd
Update changelog 2024-03-17 01:26:12 +01:00
Raffson
7306427487
Preparations for v1.4.0 2024-03-16 19:23:39 +01:00
MetalStormGhost
e9832b5d82
Super Étendard mod support v2.5.5 (#273)
* Implemented support for the VSN Super Étendard v2.5.5

* Updated changelog and renamed the banner.

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-03-16 14:55:50 +00:00
MetalStormGhost
6204dd4e72
F9F Panther mod support (version v2.8.7.101) (#226)
* Added F9F Panther mod support (version v2.8.7.101). Still missing loadouts and icon+banner.

* Added missing import in pydcs_extensions/__init__.py

* Added a banner and icon for the F9F Panther, credit for the banner to Jim over at the Century Series Discord. VSN Century Series logo used with permission. Also added loadouts for the F9F Panther and fixed the mod settings for it.
2024-03-16 15:47:04 +01:00
Raffson
c39d58f60b
Add options: max mission distance for planes & helicopters 2024-03-09 22:33:01 +01:00
Dan Albert
005bbcb812
Send flight plan paths to the back of the map.
This fixes the unusual case where the `interactive: false` property had
no effect, which would make it impossible to plan missions against UI
elements that were overflown by many flights (such as the front line).

As an added bonus, it looks a bit nicer.

This impacts the test in an odd way, but the cure for that is probably
rewriting the test to not use a mock now that we've figured out how to
do that.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3295.
2024-03-09 21:58:06 +01:00
Raffson
9303e1cb9e
Configurable cruise & combat altitude + randomized offsets (phase 1) 2024-03-04 00:01:29 +01:00
Raffson
b4ba200f95
Buy/Replace TGOs for free at turn 0 2024-03-01 23:46:56 +01:00
Raffson
32f8d8d0b7
New cheat option: manage REDFOR's TGOs 2024-03-01 23:06:46 +01:00
Raffson
9e1a642eb2
Add option to force air-starts at Nevatim 2024-02-25 16:15:09 +01:00
Raffson
9cb7617352
Optionally jettison empty fuel tanks for AI 2024-02-25 00:57:15 +01:00
Raffson
0d1c292b23
Add note to changelog 2024-02-24 14:21:27 +01:00
Raffson
7e620acb4f
Update changelog 2024-02-23 23:43:27 +01:00
Raffson
dbd9776aff
Fix friendly AI shooting at fires at front-line 2024-02-18 23:29:10 +01:00
Raffson
781d611f17
Fix ground-seeking AirLift 2024-02-18 01:10:30 +01:00
Raffson
4ba5fa4766
Addition to existing changelog entry 2024-02-16 21:15:01 +01:00
Raffson
caad080b01
Update changelog 2024-02-11 17:17:30 +01:00
Raffson
cb68ff0df3
Configurable back-end port 2024-02-10 18:39:42 +01:00
MetalStormGhost
ca98183e94
IDF Assets Pack support v1.1 (#233)
* Updated Irondome support to IDF Assets Pack V1.1, which includes the David's Sling.

* Added an Israel 2017 faction with the David's Sling.

* IDF Assets Pack air defence presets and assets are now correctly removed from the faction when the mod is disabled.

* Removed the Iron Dome mod rocket launchers:
- "9M22U - 122mm Grad"
- "9M27F - 229mm Uragan"
- "9M55F - 300mm Smerch"

These were added to the Iron Dome Mod V1.2 in order for the radar to recognize them and be able to intercept them (these are limitations of DCS), so new rockets were added. However, they don't exist in the IDF Assets Pack.

* IronDome to IDF-Assets migration

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-01-28 17:35:24 +00:00
Raffson
0b060d3110
De-spawn AI flights on RTB if start-type was set to In-Flight
Resolve #73
2024-01-21 18:40:33 +01:00
Raffson
bc26eb3f5e
Fix naval aircraft not always returning to carrier 2024-01-21 13:36:38 +01:00
Raffson
181f8583d5
Despawn aircraft returning to off-map CPs 2024-01-20 16:56:48 +01:00
tmz42
d07cb46741
Waypoint changes (F15E Strike Targets and Tomcat IP) (#236)
* Change indentation of register_special_waypoints (put out of loop)

* Added Strike Targets as F-15E Mission Target points (Set/Mission 1)

* Set up check for ASM : only if non-human flight lead. Add targets to the kneeboard.

* Generate multiple sets (i-e M2.1) for situations where the number of points is more than 8.

Added check condition to kneeboard (otherwise, may result in multiple writes).

* Change name of register_special_waypoints to register_special_strike_points

Add register_special_ingress_points method for special IPs and add to the appropriate classes

* Add changelog entry for Tomcat's IP wpt

* Avoid depending on client slots for special wpts injection

---------

Co-authored-by: tmz42 <thomas.monnzie@gmail.com>
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-01-20 15:54:37 +00:00
tmz42
79b1d949ce
AI unlimited fuel initial implementation (#227)
* Unlimited fuel for AI flights. For player flights, included at startup, for AI flights with join/split, applied at join/split.

* Unlimited fuel for AI flights. For player flights, included at startup, for AI flights with join/split, applied at join/split.

* Corrected default value of ai_unlimited_fuel to False in configure_behavior

* ai_unlimited_fuel : set argument based on setting and simplify activation section

* AI Unlimited Fuel : enable at start, disable at racetrack start/join, enable at racetrack end/split

* Correct typing : bool to Optional[bool]

---------

Co-authored-by: tmz42 <thomas.monnzie@gmail.com>
2024-01-06 21:04:57 +01:00
MetalStormGhost
5ca12373d8
Improvements to disabled aircraft mod handling in Faction (#234) 2023-12-30 18:13:38 +01:00
MetalStormGhost
7e0125725c Swedish Military Assets Pack air defence presets are now correctly removed from the faction when the mod is disabled. 2023-12-30 10:51:38 +01:00
Raffson
9ff9fa5b69
Add AWCD mid-game cheat 2023-12-29 13:16:30 +01:00
ingax01
e63520265c
added missing weapon classes after SU-30 2.7.3b update (#225) 2023-12-29 11:55:00 +01:00
MetalStormGhost
4d4f4d1930
F-4B/C mod support v2.8.7.204 (#217)
* Rename     pydcs_extensions/f4/__init__.py (from pydcs_extensions/f4b/__init__.py)
Rename     pydcs_extensions/f4/f4b.py (from pydcs_extensions/f4b/f4b.py)

* Rename     pydcs_extensions/f4/f4.py (from pydcs_extensions/f4/f4b.py)

* Support for the updated F-4B/C mod

Updated the F4.py pydcs extension to match the updated F-4B/C mod and
reworked the standard payloads to add "clean" to new F-4B pylons 11 and
12.

This includes a workaround to allow Liberation to use the new VSN F-4B
weapons with combined 2x Aim-9js on pylons 3 and 9 underslung with bombs
on ters on new pylons 11 and 12. In mission editor the combined weapons
are selected in pylons 3 and 9 and their under-slung counterparts are
forced onto 11 and 12 using "required" arguments in the mod's lua. All
other pylon 3 and 9 weapons use "required clean" arguments. Liberation
doesn't have a way to force these linkages onto pylons 11 and 12 and
without them, even without clean, no weapons will load on 3 and 9 or 11
and 12.

The workaround for normal weapons on the F-4B is to set the standard
load-outs to "clean" on pylons 11 and 12. This allows all normal weapons
to work on pylons 3 and 9 so long as pylons 11 and 12 are left as Clean.
It also allows Clean into the Liberation dropdown so it can be selected
later if necessary.

The workaround for the 4 new weapons that combines pylons 3 with 11 and
9 with 12 is that the user has to use the matching pair on each set of
pylons. For example - if F4B_LAU105_AIM9J_2_BRU42A_MK82_3 is selected
for pylon 3, BRU 42A MK823 LAU105 AIM9J2 must be selected for pylon 11.
Failure to do this correctly doesn't crash liberation or DCS, the result
will just be either no weapons at all on either pylon or the underslung
weapons on 11 and 12 floating without a pylon attaching it to the plane.

When updating f4.py in the future, note that running the pydcs database
export doesn't pull any data for Pylons 11 and 12. Those matching
weapons / classes have to be manually defined in those pylons for the
F-4B. This is noted in f4.py.

* F-4 mod support update to 2.8.7.201

* Updated QGeneratorSettings.py and the changelog.

* Updated F-4B and F-4C loadouts.

* Added the Phantom to some additional factions.

* Changelog updated: Updated support for F-4B/C Phantom mod to 2.8.7.204

The pydcs export for the latest patch was identical, which means it's also supported.

* Migrator change for renamed F-4B/C folder

---------

Co-authored-by: Nosajthedevil <78634843+Nosajthedevil@users.noreply.github.com>
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-12-28 12:50:24 +01:00
MetalStormGhost
60859d39c1 Fixed the Channel landmap. 2023-12-01 21:14:36 +01:00
MetalStormGhost
8740df65c4
F/A-18E/F Super Hornet AI Tanker mod support (#220)
* Added F/A-18E/F Super Hornet AI Tanker mod support (Chiller Juice Studios SuperBug Tanker AI version 1.1).

* Updated F/A-18E/F Super Hornet AI Tanker mod support (Chiller Juice Studios SuperBug Tanker AI) to version 1.2.

* F/A-18E/F Super Hornet AI Tanker (version 1.2) support merged to Retribution.

* Updated the pydcs extension to version 1.4.
2023-11-26 20:16:11 +01:00
Raffson
ade81f4548
Ability to set callsigns 2023-11-18 23:06:56 +01:00
MetalStormGhost
26f83cf269
Splash Damage with Clusters and Ship Radar effects (#206)
* Splash Damage with Clusters and Ship Radar effects
Based on the Splash Damage 2.0 by wheelyjoe, FrozenDroid and spencershepard/GRIMM (21 December 2021 version)

New features:
 -damage boost for parked aircraft since they are hard to kill (DCS: Retribution OCA/Aircraft mission improvement)
 -cluster weapons support
 -helicopter gunship autocannon fragmentation effect support
 -napalm will now spawn fire on impact
 -ship radars might turn off when hit with anti-radiation missiles
 -BDA messages for splash damage

New features can be tweaked, turned on or off in the Retribution settings and/or in the script options.

* Updated changelog.md

* Added missing changelog entry from 29 May 2022 to Weapons_Damage_Updated.lua

* Integrate splashdamageclusters into original

* Fix 'nil' exceptions

* Remove Ghosti's original implementation

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-11-12 11:36:17 +00:00
MetalStormGhost
f648add735 Update A-4E-C mod support to version 2.2.0.
Updated Community A-4E-C mod version pydcs extension to 2.2.0 release.
2023-11-06 20:30:10 +01:00
Raffson
bc861380f0
Allow hiding IADS TGOs on MFD 2023-10-22 00:23:00 +02:00
zhexu14
10aee31c7d
address issue 3175 by introducing special divide by zero handling 2023-10-21 21:27:41 +02:00
Dan Albert
5ca344e87b
Show the real front line bounds on the map.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1067.
2023-10-07 18:35:17 +02:00
Dan Albert
a2630fc75f
Add a real CAS ingress point.
Putting the ingress point directly on one end of the FLOT means that AI
flights won't start searching and engaging targets until they reach that
point. If the front line has advanced toward the flight's departure
airfield, it might overfly targets on its way to the IP.

Instead, place an IP for CAS the same way we place any other IP. The AI
will fly to that and start searching from there.

This also:

* Removes the midpoint waypoint, since it didn't serve any real purpose
* Names the FLOT boundary waypoints for what they actually are

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2231.
2023-10-07 18:00:07 +02:00
Dan Albert
3499ba5ffa
Mark the AI-only F-15E more clearly. 2023-10-07 17:24:40 +02:00
Dan Albert
f5f11ff3ac
Add display name property for unit types.
Unlike the variant ID, this can be changed without breaking save compat.
2023-10-07 17:24:17 +02:00