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

<!--
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->

<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/IDG-A32X/Models/Fuselages/A320neo/fuselage.xml</path>
	</model>		

	<!-- Separate Flightdeck to fit the modified nose -->
	<model>
		<name>Flightdeck</name>
		<path>Aircraft/IDG-A32X/Models/FlightDeck/a320.flightdeck.xml</path>
		<offsets>
			<x-m>4.81794</x-m>
			<y-m>0.0</y-m>
			<z-m>0.0</z-m>
		</offsets>
	</model>
	
	<model>
		<name>Interior</name>
		<path>Aircraft/IDG-A32X/Models/Interior/a320.interior.xml</path>
	</model>

	<model>
		<name>Nose Gear</name>
		<path>Aircraft/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/Models/Fuselages/A320neo/vstab.xml</path>
		<offsets>
			<x-m>32.2535728</x-m>
		</offsets>
	</model>
	
	<!-- Lights -->
	
	<model>
		<name>Left nav light</name>
		<path>Aircraft/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/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/IDG-A32X/Models/Lights/ALS/landinglightL.xml</path>
		<offsets>
			<x-m>15.9</x-m>
			<y-m>-3.16</y-m>
			<z-m>-1.4</z-m>
		</offsets>
	</model>

	<model>
		<name>Nosegear landing light ALS</name>
		<path>Aircraft/IDG-A32X/Models/Lights/ALS/taxilight.xml</path>
		<offsets>
			<x-m>7.81</x-m>
			<y-m>0</y-m>
			<z-m>-2.5</z-m>
		</offsets>
	</model>

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

	<!-- Other non-aircraft models -->
	<model>
		<name>Pushback</name>
		<path>Models/Airport/Pushback/Goldhofert.xml</path>
		<offsets>
			<x-m>5.55</x-m>
			<y-m>0</y-m>
			<z-m>-4.14</z-m>
<!--			<x-m>7.55</x-m>
			<y-m>0</y-m>
			<z-m>-4.14</z-m> -->

		</offsets>
	</model>



	<!-- 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/IDG-A32X/Models/Liveries/A320/CFM-NEO");
		</load>
		<unload>
		 livery_update.stop();
		</unload>
	</nasal>
    
    <!-- Fuel Truck -->
    
    <model>
        <name>fuel-truck</name>
        <path>Aircraft/IDG-A32X/Models/Services/Fuel-Truck/Fuel_Truck_Short_VolvoFM.ac</path>
        <condition>
            <equals>
                <property>services/fuel-truck/enable</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
			<x-m>31</x-m>
			<y-m>-25</y-m>
			<z-m>0.95</z-m>
        </offsets>
    </model>
    
    <animation>
        <type>select</type>
        <object-name>fuel_pipe</object-name>
        <condition>
            <equals>
                <property>services/fuel-truck/connect</property>
                <value>1</value>
            </equals>
        </condition>
    </animation>
    
    <animation>
        <type>select</type>
        <object-name>fuel_pipe_disconnected</object-name>
        <condition>
            <equals>
                <property>services/fuel-truck/connect</property>
                <value>0</value>
            </equals>
        </condition>
    </animation>
    
    <!-- De-icing Truck -->
    
    <model>
        <name>de-ice-truck</name>
        <path>Aircraft/IDG-A32X/Models/Services/De-Icing/volvo_deicing_truck.xml</path>
        <condition>
            <equals>
                <property>services/deicing_truck/enable</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
            <x-m>-3</x-m>
            <y-m>9.5</y-m>
            <z-m>-4</z-m>
            <heading-deg>160</heading-deg>
        </offsets>
    </model>
    
    <!-- Catering Truck - 1st door -->
    
    <model>
        <name>cater-truck</name>
        <path>Aircraft/IDG-A32X/Models/Services/Catering/L_T_VolvoFM-4_5m-set.xml</path>
        <condition>
            <equals>
                <property>services/catering/enable</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
            <x-m>7.87</x-m>
            <y-m>7.28</y-m>
            <z-m>-3.70</z-m>
            <heading-deg>100</heading-deg>
        </offsets>
    </model>
    
    <!-- Baggage Truck -->
    
    <model>
        <name>baggage-truck</name>
        <path>Aircraft/IDG-A32X/Models/Services/Baggage/cargo_ramp.ac</path>
        <condition>
            <equals>
                <property>services/baggage/enable</property>
                <value>1</value>
            </equals>
        </condition>
		<offsets>
			<x-m>11</x-m>
			<y-m>0</y-m>
			<z-m>0.5</z-m>            
		</offsets>
    </model>
    
    <!-- External Power -->
    
    <model>
        <name>ext-pwr</name>
        <path>Aircraft/IDG-A32X/Models/Services/External-Power/ext-pwr-box.ac</path>
        <condition>
            <equals>
                <property>controls/switches/cart</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
			<x-m>5</x-m>
			<y-m>2</y-m>
			<z-m>0.5</z-m>
        </offsets>
    </model>
    
    <!-- Chocks -->
    
    <model>
        <name>chock_nose</name>
        <path>Aircraft/IDG-A32X/Models/Services/Chocks/chock_nose.ac</path>
        <condition>
            <equals>
                <property>services/chokes/nose</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
            <x-m>23.5</x-m>
            <z-m>1.25</z-m>
        </offsets>
    </model>
    
    <model>
        <name>chock_left</name>
        <path>Aircraft/IDG-A32X/Models/Services/Chocks/chock_left.ac</path>
        <condition>
            <equals>
                <property>services/chokes/left</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
            <x-m>15.5</x-m>
            <y-m>1.18</y-m>
            <z-m>1.25</z-m>
        </offsets>
    </model>
    
    <model>
        <name>chock_right</name>
        <path>Aircraft/IDG-A32X/Models/Services/Chocks/chock_right.ac</path>
        <condition>
            <equals>
                <property>services/chokes/right</property>
                <value>1</value>
            </equals>
        </condition>
        <offsets>
            <x-m>15.5</x-m>
            <y-m>-1.18</y-m>
            <z-m>1.25</z-m>
        </offsets>
    </model>
    <!-- Stairways -->
    

	<model>
	 <path>Aircraft/IDG-A32X/Models/Services/Stairs/stairs.xml</path>
	 <name>l1</name>
	 <offsets>
	  <x-m>7.94</x-m>
	  <y-m>-0.1</y-m>
	  <z-m>-0.6</z-m>
	  <heading-deg>-8</heading-deg>
	 </offsets>
	 <condition>
	  <property>services/stairs/l1</property>
	 </condition>
	</model>

	<model>
	 <path>Aircraft/IDG-A32X/Models/Services/Stairs/stairs.xml</path>
	 <name>l4</name>
	 <offsets>
	  <x-m>31.94</x-m>
	  <y-m>0.4</y-m>
	  <z-m>-0.6</z-m>
	  <heading-deg>6</heading-deg>
	 </offsets>
	 <condition>
	  <property>services/stairs/l4</property>
	 </condition>
	</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>