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

<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->

<PropertyList>
	<name>A320-200</name>
	<path>empty.ac</path> <!-- Livery system on MP multimodel -->

	<offsets>
		<x-m>-18.8499</x-m>
		<z-m>1.7005004</z-m>
	</offsets>

	<model>
		<name>Fuselage</name>
		<path>Aircraft/A320-family/Models/Fuselages/A320neo/fuselage.xml</path>
	</model>
	
	<model>
		<name>Interior</name>
		<path>Aircraft/A320-family/Models/A320-interior.xml</path>
		<!-- On multiplayer models, the interior is loaded separately and global
			 offsets are not applied. This cancels the global offsets, so that
			 the interior is loaded at (0,0,0) anyway. -->
		<offsets>
			<x-m>18.8499</x-m>
			<z-m>-1.7005004</z-m>
		</offsets>
		<usage>interior</usage>
	</model>

	<model>
		<name>Nose Gear</name>
		<path>Aircraft/A320-family/Models/LandingGears/a320.nlg.xml</path>
		<offsets>
			<x-m>7.83</x-m>
			<z-m>-1.9306008</z-m>
		</offsets>
	</model>

	<model>
		<name>Main Gears.Left</name>
		<path>Aircraft/A320-family/Models/LandingGears/a320.mlg.left.xml</path>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>-3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>

	<model>
		<name>Main Gears.Right</name>
		<path>Aircraft/A320-family/Models/LandingGears/a320.mlg.right.xml</path>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>

	<model>
		<path>Aircraft/A320-family/Models/Wings/a320.wings.neocfm.xml</path>
		<offsets>
			<x-m>15.280</x-m>
			<z-m>-1.06019</z-m>
		</offsets>
	</model>
	
	<model>
		<name>A320neo Sharklets</name>
		<path>Aircraft/A320-family/Models/Wings/a320neo.sharklets.xml</path>
		<offsets>
			<x-m>15.280</x-m>
			<z-m>-1.06019</z-m>
		</offsets>
	</model>

	<model>
		<name>Horizontal Stabilizer</name>
		<path>Aircraft/A320-family/Models/Fuselages/A320neo/hstab.xml</path>
		<offsets>
			<x-m>34.1512207</x-m>
			<pitch-deg>0.0</pitch-deg>
		</offsets>
	</model>

	<model>
		<name>Vertical Stabilizer</name>
		<path>Aircraft/A320-family/Models/Fuselages/A320neo/vstab.xml</path>
		<offsets>
			<x-m>32.2535728</x-m>
		</offsets>
	</model>
	
	<!-- Lights -->
	
	<model>
		<name>Left nav light</name>
		<path>Aircraft/A320-family/Models/Lights/rednav.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>-16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Left nav light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/rednav.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>-16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>

	<model>
		<name>Right nav light</name>
		<path>Aircraft/A320-family/Models/Lights/greennav.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Right nav light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/greennav.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Tail nav light</name>
		<path>Aircraft/A320-family/Models/Lights/tailnav.xml</path>
		<offsets>
			<x-m>40.00461</x-m>
			<y-m>0.0495674</y-m>
			<z-m>1.2301</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Tail nav light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/tailnav.xml</path>
		<offsets>
			<x-m>40.00461</x-m>
			<y-m>0.0495674</y-m>
			<z-m>1.2301</z-m>
		</offsets>
	</model>

	<model>
		<name>Left strobe light</name>
		<path>Aircraft/A320-family/Models/Lights/strobe.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>-16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Left strobe light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/left-strobe.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>-16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>

	<model>
		<name>Right strobe light</name>
		<path>Aircraft/A320-family/Models/Lights/strobe.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Right strobe light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/right-strobe.xml</path>
		<offsets>
			<x-m>22.93</x-m>
			<y-m>16.5</y-m>
			<z-m>0.25</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Tail strobe light</name>
		<path>Aircraft/A320-family/Models/Lights/tailstrobe.xml</path>
		<offsets>
			<x-m>40.00461</x-m>
			<y-m>-0.0495674</y-m>
			<z-m>1.2301</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Tail strobe light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/tail-strobe.xml</path>
		<offsets>
			<x-m>40.00461</x-m>
			<y-m>-0.0495674</y-m>
			<z-m>1.2301</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Top beacon light</name>
		<path>Aircraft/A320-family/Models/Lights/beacon.xml</path>
		<offsets>
			<x-m>16.7</x-m>
			<y-m>0</y-m>
			<z-m>1.977</z-m>
		</offsets>
	</model>

	<model>
		<name>Bottom beacon light</name>
		<path>Aircraft/A320-family/Models/Lights/beacon.xml</path>
		<offsets>
			<x-m>18.2</x-m>
			<y-m>0</y-m>
			<z-m>-2.5</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Top beacon light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/beacon.xml</path>
		<offsets>
			<x-m>16.7</x-m>
			<y-m>0</y-m>
			<z-m>1.977</z-m>
		</offsets>
	</model>

	<model>
		<name>Bottom beacon light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/beacon.xml</path>
		<offsets>
			<x-m>18.2</x-m>
			<y-m>0</y-m>
			<z-m>-2.5</z-m>
		</offsets>
	</model>

	<model>
		<name>Port landing light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/landinglightL.xml</path>
		<offsets>
			<x-m>15.9</x-m>
			<y-m>-3.16</y-m>
			<z-m>-1.25</z-m>
		</offsets>
	</model>

	<model>
		<name>Nosegear landing light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/taxilight.xml</path>
		<offsets>
			<x-m>7.6</x-m>
			<y-m>-0.1018315</y-m>
			<z-m>-2.5</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Second Nosegear landing light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/taxilight.xml</path>
		<offsets>
			<x-m>7.6</x-m>
			<y-m>0.1018315</y-m>
			<z-m>-2.5</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Left Turnoff ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/turnoffL.xml</path>
		<offsets>
			<x-m>7.7</x-m>
			<y-m>-0.1518315</y-m>
			<z-m>-2.9</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Right Turnoff ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/turnoffR.xml</path>
		<offsets>
			<x-m>7.7</x-m>
			<y-m>0.1518315</y-m>
			<z-m>-2.9</z-m>
		</offsets>
	</model>

	<model>
		<name>Starboard landing light ALS</name>
		<path>Aircraft/A320-family/Models/Lights/ALS/landinglightR.xml</path>
		<offsets>
			<x-m>15.9</x-m>
			<y-m>3.16</y-m>
			<z-m>-1.25</z-m>
		</offsets>
	</model>

	<!-- Tire smoke and spray effects -->
	<model>
		<path>Aircraft/Generic/Effects/tyre-smoke-nose.xml</path>
		<name>tyre-smoke-n</name>
		<offsets>
			<x-m>7.83</x-m>
			<y-m>0</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	 </model>
	 
	<model>
		<path>Aircraft/Generic/Effects/tyre-smoke-port.xml</path>
		<name>tyre-smoke-p</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>-3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	 
	<model>
		<path>Aircraft/Generic/Effects/tyre-smoke-stbd.xml</path>
		<name>tyre-smoke-s</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/Generic/Effects/rain-nose.xml</path>
		<name>rain-splash-n</name>
		<offsets>
			<x-m>7.83</x-m>
			<y-m>0</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/Generic/Effects/rain-port.xml</path>
		<name>rain-splash-p</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>-3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	 
	<model>
		<path>Aircraft/Generic/Effects/rain-stbd.xml</path>
		<name>rain-splash-s</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/A320-family/Models/Effects/tire-smoke-left.xml</path>
		<name>tire-smoke-l</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>-3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/A320-family/Models/Effects/tire-smoke-right.xml</path>
		<name>tire-smoke-r</name>
		<offsets>
			<x-m>20.3180764</x-m>
			<y-m>3.795</y-m>
			<z-m>-3.9669424</z-m>
		</offsets>
	</model>
	
	<!-- wing condensation effect -->
	<model>
		<path>Aircraft/A320-family/Models/Effects/wing-condensation-L.xml</path>
		<name>wing-condensation</name>
	</model>
	
	<model>
		<path>Aircraft/A320-family/Models/Effects/wing-condensation-R.xml</path>
		<name>wing-condensation</name>
	</model>

	<!-- Other non-aircraft models -->
	<model>
		<name>Pushback</name>
		<path>Aircraft/A320-family/Models/Services/Pushback/Douglas.xml</path>
		<offsets>
			<x-m>6.0</x-m>
			<y-m>0</y-m>
			<z-m>-4.24</z-m>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/Generic/marker.xml</path>
	</model>
	
	<!-- Firetruck -->

	<model>
		<name>Firetruck1</name>
		<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
		<offsets>
			<x-m>60.0</x-m>
			<y-m>10.0</y-m>
			<z-m>-4.4</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Firetruck2</name>
		<path>Models/Airport/Vehicle/hoskosh-ti-1500.ac</path>
		<offsets>
			<x-m>80.0</x-m>
			<y-m>-8.0</y-m>
			<z-m>-4.4</z-m>
		</offsets>
	</model>
	
	<animation>
		<type>select</type>
		<object-name>Firetruck1</object-name>
		<object-name>Firetruck2</object-name>
		<condition>
			<and>
				<property>sim/animation/fire-services</property>
				<less-than>
					<property>velocities/groundspeed-kt</property>
					<value>40</value>
				</less-than>
			</and>
		</condition>
	</animation>
	
	<!-- LIVERY SELECT -->
	<!-- Animation -->
	<animation>
		<type>material</type>
		<!-- Fuselage -->
		<object-name>Fuselage</object-name>
		<object-name>Vstab</object-name>
		<!-- Wings -->
		<object-name>WingletL</object-name>
		<object-name>WingletR</object-name>
		<!-- Engines -->
		<object-name>Intake</object-name>
		<object-name>Nacelle</object-name>
		<object-name>Reverser</object-name>
		<!-- Fuselage -->
		<property-base>sim/model/livery</property-base>
		<texture-prop>texture</texture-prop>
		<texture>a320.png</texture>
	</animation>

	<!-- Nasal code -->
	<nasal>
		<load>
			var livery_update = aircraft.livery_update.new("Aircraft/A320-family/Models/Liveries/A320/CFM-NEO");
		</load>
		<unload>
			livery_update.stop();
		</unload>
	</nasal>
	
	<!-- Ground Services -->	
	<model>
		<name>ground_services</name>
		<path>Aircraft/A320-family/Models/A320-groundservices.xml</path>
	</model>

	<animation>
		<type>select</type>
		<object-name>Top beacon light</object-name>
		<object-name>Bottom beacon light</object-name>
		<object-name>Left nav light</object-name>
		<object-name>Right nav light</object-name>
		<object-name>Left strobe light</object-name>
		<object-name>Right strobe light</object-name>
		<object-name>Tail strobe light</object-name>
		<object-name>Tail nav light</object-name>
		<condition>
			<not>
				<property>sim/rendering/shaders/skydome</property>
			</not>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>Top beacon light ALS</object-name>
		<object-name>Bottom beacon light ALS</object-name>
		<object-name>Left nav light ALS</object-name>
		<object-name>Right nav light ALS</object-name>
		<object-name>Left strobe light ALS</object-name>
		<object-name>Right strobe light ALS</object-name>
		<object-name>Port landing light ALS</object-name>
		<object-name>Nosegear landing light ALS</object-name>
		<object-name>Starboard landing light ALS</object-name>
		<object-name>Tail strobe light ALS</object-name>
		<object-name>Tail nav light ALS</object-name>
		<condition>
				<property>sim/rendering/shaders/skydome</property>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>Nosegear landing light ALS</object-name>
		<condition>
			<and>
				<not>
					<property>sim/model/lights/nose-ldglight</property>
					<value>0</value>
				</not>
				<greater-than>
					<property>gear/gear/position-norm</property>
					<value>0.1</value>
				</greater-than>
			</and>
		</condition>
	</animation>
</PropertyList>