From f5f33ec86546e5220f59940117cfd3ef363a7c0a Mon Sep 17 00:00:00 2001 From: Simon Clark Date: Thu, 7 Jan 2021 15:52:24 +0000 Subject: [PATCH] Fixes the F-14B fighter sweep loadout. The default one just picked two external tanks, so using the CAP one. Fixes Khopa/dcs_liberation#663 --- changelog.md | 1 + game/db.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 4a086cf2..4829eff8 100644 --- a/changelog.md +++ b/changelog.md @@ -34,6 +34,7 @@ Saves from 2.3 are not compatible with 2.4. * **[Economy]** Pending unit orders at captured bases will be refunded. * **[UI]** Carrier group SAM threat rings now move with the carrier. * **[Units]** J-11A is no longer spawned with empty loadout. +* **[Units]** F-14B is no longer spawned with empty loadout for fighter sweep tasks. * **[Units]** Pyotr Velikiy cruiser has been removed for now as it's nearly unkillable. # 2.3.3 diff --git a/game/db.py b/game/db.py index 37ce730c..9ac772ea 100644 --- a/game/db.py +++ b/game/db.py @@ -135,6 +135,7 @@ from dcs.task import ( CargoTransportation, Embarking, Escort, + FighterSweep, GroundAttack, Intercept, MainTask, @@ -1083,7 +1084,9 @@ PLANE_PAYLOAD_OVERRIDES: Dict[Type[PlaneType], Dict[Type[Task], str]] = { C_101CC: COMMON_OVERRIDE, F_5E_3: COMMON_OVERRIDE, F_14A_135_GR: COMMON_OVERRIDE, - F_14B: COMMON_OVERRIDE, + F_14B: { + FighterSweep: "CAP", + }, F_15C: COMMON_OVERRIDE, F_111F: COMMON_OVERRIDE, F_22A: COMMON_OVERRIDE,