1
0
Fork 0

Added IAE

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-11-30 10:32:34 +11:00
parent 692c223ae8
commit 0822b86232
8 changed files with 12 additions and 9 deletions

View file

@ -13,6 +13,8 @@
<path>Aircraft/A320-family/Models/A320-200-IAE.xml</path>
<livery>
<file>SAS</file>
<texture-fuselage>SAS-fuselage.png</texture-fuselage>
<texture-engine>SAS-engine.png</texture-engine>
</livery>
<livery-dir type="string">Aircraft/A320-family/Models/Liveries/A320/IAE</livery-dir>
</model>

View file

Before

Width:  |  Height:  |  Size: 495 KiB

After

Width:  |  Height:  |  Size: 495 KiB

View file

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 606 KiB

View file

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View file

@ -5,8 +5,8 @@
<model>
<livery>
<name>N680AW(Unpainted)</name>
<texture-fuselage>Fuselages\A320\res\Fuse-Main.png</texture-fuselage>
<texture-engine>Engines\Models\engine-IAE-V2500.png</texture-engine>
<texture-fuselage>N680AW-fuselage.png</texture-fuselage>
<texture-engine>N680AW-engine.png</texture-engine>
</livery>
</model>
</sim>

View file

@ -5,8 +5,8 @@
<model>
<livery>
<name>SAS Scandinavian (OY-KAM)</name>
<texture-fuselage>Liveries/A320/IAE/SAS-fuselage.png</texture-fuselage>
<texture-engine>Liveries/A320/IAE/SAS-engine.png</texture-engine>
<texture-fuselage>SAS-fuselage.png</texture-fuselage>
<texture-engine>SAS-engine.png</texture-engine>
</livery>
</model>
</sim>

View file

@ -38,22 +38,23 @@ var stateR = 0;
var tiresmoke_system = aircraft.tyresmoke_system.new(0, 1, 2);
aircraft.rain.init();
var livery = aircraft.canvas_livery.init("Models/Liveries/A320/CFM");
var elements = ["Fuselage", "Wings", "Hstabs", "ElevatorL", "ElevatorR", "FlapL1", "FlapL2", "FlapR1", "FlapR2", "SpoilerL1", "SpoilerL2", "SpoilerL3", "SpoilerL4", "SpoilerL5", "SpoilerR1", "SpoilerR2", "SpoilerR3", "SpoilerR4", "SpoilerR5", "DoorL1", "DoorL4", "DoorR1", "DoorR4", "Cargo1", "Cargo2", "Cargo3", "MLGGearDoorR", "MLGGearDoorL", "MLGWingDoorR1", "MLGWingDoorL1", "MLGWingDoorR2", "MLGWingDoorL2", "NLGForewardDoorL", "NLGForewardDoorR", "NLGAftDoorL", "NLGAftDoorR", "GPUServiceDoor", "AvionicsVentDoor", "OutflowValveDoor1", "OutflowValveDoor2", "ApuFlap", "Rudder", "Sharklet", "WingtipFence"];
livery.createTarget("fuselage", elements, "/sim/model/livery/texture-fuselage", resolution=8192);
livery.addLayer("fuselage", "dirt", "Aircraft/A320-family/Models/seam-dirt.png");
var aero = getprop("/sim/aero");
if (aero == "A320-200-CFM") {
var livery = aircraft.canvas_livery.init("Models/Liveries/A320/CFM");
elements = ["EngineCFM56R", "EngineCFM56L", "PylonCFM56R", "PylonCFM56L", "ReverseRDoor1", "ReverseRDoor2", "ReverseRDoor3", "ReverseRDoor4", "ReverseLDoor1", "ReverseLDoor2", "ReverseLDoor3", "ReverseLDoor4"];
livery.createTarget("engines", elements, "/sim/model/livery/texture-engine");
livery.addLayer("engines", "dirt", "Aircraft/A320-family/Models/CFM-Dirt-test-s.png");
} else if (aero == "A320-200-IAE") {
var livery = aircraft.canvas_livery.init("Models/Liveries/A320/IAE");
elements = ["EngineIAEV2500R", "EngineIAEV2500L", "PylonIAEV2500R", "PylonIAEV2500R", "ReverserRDoor", "ReverserLDoor"];
livery.createTarget("engines", elements, "/sim/model/livery/texture-engine");
livery.addLayer("engines", "dirt", "Aircraft/A320-family/Models/CFM-Dirt-test-s.png");
}
var elements = ["Fuselage", "Wings", "Hstabs", "ElevatorL", "ElevatorR", "FlapL1", "FlapL2", "FlapR1", "FlapR2", "SpoilerL1", "SpoilerL2", "SpoilerL3", "SpoilerL4", "SpoilerL5", "SpoilerR1", "SpoilerR2", "SpoilerR3", "SpoilerR4", "SpoilerR5", "DoorL1", "DoorL4", "DoorR1", "DoorR4", "Cargo1", "Cargo2", "Cargo3", "MLGGearDoorR", "MLGGearDoorL", "MLGWingDoorR1", "MLGWingDoorL1", "MLGWingDoorR2", "MLGWingDoorL2", "NLGForewardDoorL", "NLGForewardDoorR", "NLGAftDoorL", "NLGAftDoorR", "GPUServiceDoor", "AvionicsVentDoor", "OutflowValveDoor1", "OutflowValveDoor2", "ApuFlap", "Rudder", "Sharklet", "WingtipFence"];
livery.createTarget("fuselage", elements, "/sim/model/livery/texture-fuselage", resolution=8192);
livery.addLayer("fuselage", "dirt", "Aircraft/A320-family/Models/seam-dirt.png");
##########
# Sounds #
##########