Skip to content

Commit

Permalink
Model: Fix livery on YF-16 over MP.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed Nov 20, 2023
1 parent 1c96a0e commit b6a8e88
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 53 deletions.
10 changes: 6 additions & 4 deletions Models/F-16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
28 changes: 12 additions & 16 deletions Models/Liveries/yf/72-1568.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?xml version="1.0"?>

<PropertyList>
<sim>
<model>
<livery>
<name type="string">USAF Testbed #568 "Combat Gray"</name>
<texture>Liveries/yf/72-1568.png</texture>
<texture type="string">Liveries/yf/72-1568.png</texture>
<owner type="string">USAF</owner>
<pilot type="string"></pilot>
<scheme type="string">Gray camo</scheme>
Expand All @@ -15,21 +14,18 @@
<year type="string">1975</year>
</livery>
<livery-logo>
<texture>Liveries/standard.logos.color.png</texture>
<texture type="string">Liveries/standard.logos.color.png</texture>
</livery-logo>

<livery-patch>
<texture>Liveries/patch.default.png</texture>
</livery-patch>

<livery-pod>
<texture>Armament/External-stores/MXU-648.png</texture>
</livery-pod>

<f16>
<dragchute type="bool">false</dragchute>
</f16>
<livery-specular type="double">0.15</livery-specular>
<livery-patch>
<texture type="string">Liveries/patch.default.png</texture>
</livery-patch>
<livery-pod>
<texture type="string">Armament/External-stores/MXU-648.png</texture>
</livery-pod>
<f16>
<dragchute type="bool">false</dragchute>
</f16>
<livery-specular type="double">0.15</livery-specular>
</model>
</sim>
</PropertyList>
61 changes: 28 additions & 33 deletions Models/Liveries/yf/75-0745.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
<?xml version="1.0"?>

<PropertyList>
<sim>
<model>
<livery>
<name type="string">YF-16 Prototype</name>
<texture>Liveries/yf/75-0745.png</texture>
<owner type="string">USAF</owner>
<pilot type="string"></pilot>
<scheme type="string">Special Color</scheme>
<block type="int">0</block>
<serial type="string">75-0745</serial>
<squad type="string">USAF</squad>
<year type="string">1976</year>
</livery>

<livery-logo>
<texture>Liveries/yf/yf16-transp.png</texture>
</livery-logo>

<livery-patch>
<texture>Liveries/patch.default.png</texture>
</livery-patch>

<livery-pod>
<texture>Armament/External-stores/MXU-648.png</texture>
</livery-pod>

<f16>
<dragchute type="bool">false</dragchute>
</f16>
<livery-specular type="double">0.4</livery-specular>
</model>
</sim>
<sim>
<model>
<livery>
<name type="string">YF-16 Prototype</name>
<texture type="string">Liveries/yf/75-0745.png</texture>
<owner type="string">USAF</owner>
<pilot type="string"></pilot>
<scheme type="string">Special Color</scheme>
<block type="int">0</block>
<serial type="string">75-0745</serial>
<squad type="string">USAF</squad>
<year type="string">1976</year>
</livery>
<livery-logo>
<texture type="string">Liveries/yf/yf16-transp.png</texture>
</livery-logo>
<livery-patch>
<texture type="string">Liveries/patch.default.png</texture>
</livery-patch>
<livery-pod>
<texture type="string">Armament/External-stores/MXU-648.png</texture>
</livery-pod>
<f16>
<dragchute type="bool">false</dragchute>
</f16>
<livery-specular type="double">0.4</livery-specular>
</model>
</sim>
</PropertyList>

0 comments on commit b6a8e88

Please sign in to comment.