<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>

	<path>../Models/a320.nacelle.cfm.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>
		<property alias="../../params/reverser-pos-norm" />
		<factor>0.15</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/A320-family/Models/Liveries/" ~ getprop("sim/aero"));
		</load>
		<unload>
		 livery_update.stop();
		</unload>
	</nasal>

</PropertyList>
