<?xml version="1.0"?>
<PropertyList>
  <offsets>
    <z-m>0.55</z-m>
    <pitch-deg>-1.2</pitch-deg>
  </offsets>
  <nasal n="0">
    <load><![CDATA[
      var r = cmdarg();
      print ("Loading 737NG for remote pilot " ~ r.getNode ("sim/multiplay/callsign").getValue ());
      var liveries = r.getNode ("sim/multiplay/generic/string[0]").getValue();
      var livery_update = aircraft.livery_update.new(liveries,10);
    ]]></load>
    <unload>
      livery_update.stop();
   </unload>
  </nasal>
  
  <animation n="0">
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>doorLF</object-name>
    <object-name>EexitLF</object-name>
    <object-name>EexitLR</object-name>
    <object-name>doorLR</object-name>
    <object-name>doorRR</object-name>
    <object-name>EexitRF</object-name>
    <object-name>EexitRR</object-name>
    <object-name>doorRF</object-name>
    <object-name>cargodoorF</object-name>
    <object-name>cargodoorR</object-name>
    <object-name>lhfairing</object-name>
    <object-name>geardoor</object-name>
    <object-name>engnose.001</object-name>
    <object-name>lreverserib_1</object-name>
    <object-name>fan</object-name>
    <object-name>rhngdoor</object-name>
    <object-name>lhngdoor</object-name>
    <object-name>rhwtobfairing</object-name>
    <object-name>geardoorrh</object-name>
    <object-name>No2engfancase</object-name>
    <object-name>No2reverser_1</object-name>
    <object-name>fan2</object-name>
    <object-name>vstab</object-name>
    <object-name>rudder</object-name>
    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
  </animation>
  
  <model n="100">
    <name>Cockpit</name>
    <path>Aircraft/737NG/Models/cockpit.xml</path>
  </model>
  <model>
    <name>LeftWing</name>
    <path>Aircraft/737NG/Models/LWing.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model n="102">
    <name>NoseGear</name>
    <path>Aircraft/737NG/Models/NoseGear.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model>
    <name>Winglet</name>
    <path>Aircraft/737NG/Models/winglet.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model>
    <name>RightWing</name>
    <path>Aircraft/737NG/Models/RWing.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model n="108">
    <name>VertStab</name>
    <path>Aircraft/737NG/Models/VertStab.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model n="109">
    <name>HorzStab</name>
    <path>Aircraft/737NG/Models/HorzStab.xml</path>
    <offsets>
      <x-m>0.0</x-m>
      <y-m>0.0</y-m>
      <z-m>0.0</z-m>
      <pitch-deg>0</pitch-deg>
    </offsets>
  </model>
  <model n="110">
    <name>Pushback</name>
    <path>Models/Airport/Pushback/Goldhofert.xml</path>
  </model>
  <!-- Lights -->
  <model>
    <path>Aircraft/737NG/Models/lights/GreenLight.xml</path>
    <name>Greenlight</name>
    <offsets>
      <x-m> 3.62</x-m>
      <y-m> 17.03</y-m>
      <z-m> 1.06</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/RedLight.xml</path>
    <name>Redlight</name>
    <offsets>
      <x-m> 3.62</x-m>
      <y-m>-17.03</y-m>
      <z-m> 1.06</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/flash.xml</path>
    <name>flashright</name>
    <offsets>
      <x-m> 3.62</x-m>
      <y-m>17.03</y-m>
      <z-m> 1.06</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/flash.xml</path>
    <name>flashleft</name>
    <offsets>
      <x-m> 3.62</x-m>
      <y-m>-17.03</y-m>
      <z-m> 1.06</z-m>
    </offsets>
  </model>
  <model n="200">
    <path>Aircraft/737NG/Models/lights/flash.xml</path>
    <name>flashtail</name>
    <!-- offsets are variant specific -->
  </model>
  <model n="201">
    <path>Aircraft/737NG/Models/lights/landinglight.xml</path>
    <name>NoseGearLandinglight</name>
    <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value type="bool">true</value>
      </equals>
    </condition>
    <offsets>
      <x-m>-15.73</x-m>
      <y-m>  0.00</y-m>
      <z-m> -1.60</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/landinglight.xml</path>
    <name>LeftWingLandinglight</name>
    <condition>
      <equals>
        <property>gear/gear[1]/position-norm</property>
        <value type="bool">true</value>
      </equals>
    </condition>
    <offsets>
      <x-m>-4.83</x-m>
      <y-m>-2.14</y-m>
      <z-m>-0.51</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/landinglight.xml</path>
    <name>RightWingLandinglight</name>
    <condition>
      <equals>
        <property>gear/gear[2]/position-norm</property>
        <value type="bool">true</value>
      </equals>
    </condition>
    <offsets>
      <x-m>-4.83</x-m>
      <y-m>2.14</y-m>
      <z-m>-0.51</z-m>
    </offsets>
  </model>
  <model>
    <path>Aircraft/737NG/Models/lights/beacon.xml</path>
    <name>Beaconlight.top</name>
    <offsets>
      <x-m>0.00</x-m>
      <y-m>0.00</y-m>
      <z-m>2.56</z-m>
    </offsets>
  </model>
  <model n="202">
    <path>Aircraft/737NG/Models/lights/beacon.xml</path>
    <name>Beaconlight.bottom</name>
    <offsets>
      <!-- offsets are variant-specific -->
    </offsets>
  </model>
</PropertyList>
