From b6a8e88793311db9cf5900294abee5b8ad05c633 Mon Sep 17 00:00:00 2001 From: "Nikolai V. Chr" Date: Mon, 20 Nov 2023 16:16:43 +0100 Subject: [PATCH] Model: Fix livery on YF-16 over MP. --- Models/F-16.xml | 10 +++--- Models/Liveries/yf/72-1568.xml | 28 +++++++--------- Models/Liveries/yf/75-0745.xml | 61 ++++++++++++++++------------------ 3 files changed, 46 insertions(+), 53 deletions(-) diff --git a/Models/F-16.xml b/Models/F-16.xml index 236ea34c..92e0c5c4 100644 --- a/Models/F-16.xml +++ b/Models/F-16.xml @@ -24,16 +24,18 @@ var idVal = id.getValue(); var folder = "Aircraft/f16/Models/Liveries"; if (idVal != nil) { - if (idVal == 3) { - folder = "Aircraft/f16/Models/Liveries/Block30" + if (idVal == 0) { + folder = "Aircraft/f16/Models/Liveries/yf" } elsif (idVal == 1) { folder = "Aircraft/f16/Models/Liveries/Block10" } elsif (idVal == 2) { folder = "Aircraft/f16/Models/Liveries/Block20" - } elsif (idVal == 5) { - folder = "Aircraft/f16/Models/Liveries/Block50" + } elsif (idVal == 3) { + folder = "Aircraft/f16/Models/Liveries/Block30" } elsif (idVal == 4) { folder = "Aircraft/f16/Models/Liveries/Block40" + } elsif (idVal == 5) { + folder = "Aircraft/f16/Models/Liveries/Block50" } elsif (idVal == 6) { folder = "Aircraft/f16/Models/Liveries/Block60" } diff --git a/Models/Liveries/yf/72-1568.xml b/Models/Liveries/yf/72-1568.xml index 2840c739..a9d3cf86 100644 --- a/Models/Liveries/yf/72-1568.xml +++ b/Models/Liveries/yf/72-1568.xml @@ -1,11 +1,10 @@ - USAF Testbed #568 "Combat Gray" - Liveries/yf/72-1568.png + Liveries/yf/72-1568.png USAF Gray camo @@ -15,21 +14,18 @@ 1975 - Liveries/standard.logos.color.png + Liveries/standard.logos.color.png - - - Liveries/patch.default.png - - - - Armament/External-stores/MXU-648.png - - - - false - - 0.15 + + Liveries/patch.default.png + + + Armament/External-stores/MXU-648.png + + + false + + 0.15 diff --git a/Models/Liveries/yf/75-0745.xml b/Models/Liveries/yf/75-0745.xml index 1212b9bc..c26f8643 100644 --- a/Models/Liveries/yf/75-0745.xml +++ b/Models/Liveries/yf/75-0745.xml @@ -1,36 +1,31 @@ - - - - - YF-16 Prototype - Liveries/yf/75-0745.png - USAF - - Special Color - 0 - 75-0745 - USAF - 1976 - - - - Liveries/yf/yf16-transp.png - - - - Liveries/patch.default.png - - - - Armament/External-stores/MXU-648.png - - - - false - - 0.4 - - + + + + YF-16 Prototype + Liveries/yf/75-0745.png + USAF + + Special Color + 0 + 75-0745 + USAF + 1976 + + + Liveries/yf/yf16-transp.png + + + Liveries/patch.default.png + + + Armament/External-stores/MXU-648.png + + + false + + 0.4 + +