1
0
Fork 0
A320-family/Models/A320-200-CFM.xml
fly 692c223ae8 Workx
Signed-off-by: fly <merspieler@airmail.cc>
2020-11-30 09:37:38 +11:00

34 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
<PropertyList>
<name>A320-200-CFM</name>
<path>empty.ac</path> <!-- Livery system on MP multimodel -->
<model>
<name>A320</name>
<path>Aircraft/A320-family/Models/A320-common.xml</path>
</model>
<model>
<name>EnginesCFM</name>
<path>Aircraft/A320-family/Models/Engines/XMLs/a320.cfm.xml</path>
</model>
<!-- Nasal code -->
<nasal>
<load><![CDATA[
var livery_update = aircraft.canvas_livery.new("Aircraft/A320-family/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_update.createTarget("fuselage", elements, "/sim/model/livery/texture-fuselage", resolution=8192);
elements = ["EngineCFM56R", "EngineCFM56L", "PylonCFM56R", "PylonCFM56L", "ReverseRDoor1", "ReverseRDoor2", "ReverseRDoor3", "ReverseRDoor4", "ReverseLDoor1", "ReverseLDoor2", "ReverseLDoor3", "ReverseLDoor4"];
livery_update.createTarget("engines", elements, "/sim/model/livery/texture-engine");
]]></load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>