This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Engines/XMLs/a320.nacelle.iae.xml

57 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<PropertyList>
<path>../Models/a320.nacelle.iae.ac</path>
<params>
<reverser-pos-norm>engines/engine[0]/reverser-pos-norm</reverser-pos-norm>
</params>
<!-- Reverse thrust animation -->
<animation>
<type>translate</type>
<object-name>Reverser</object-name>
<object-name>Nozzle</object-name>
<property alias="../../params/reverser-pos-norm" />
<factor>0.25</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Chrome shader -->
<animation>
<name>Chrome shader</name>
<type>shader</type>
<shader>chrome</shader>
<texture>../Models/chrome.png</texture>
<object-name>Nozzle</object-name>
</animation>
<!-- LIVERY SELECT -->
<!-- Animation -->
<animation>
<type>material</type>
<object-name>Intake</object-name>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
<property-base>sim/model/livery</property-base>
<texture-prop>texture-path[1]</texture-prop>
<texture>Liveries/A320-Blank.png</texture>
</animation>
<!-- Nasal code -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/A320Family/Models/Liveries/" ~ getprop("sim/aero"));
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
</PropertyList>