<?xml version="1.0"?>

<PropertyList>
<path>cockpit2.ac</path>
<usage>interior</usage>

        <animation>
                <type>shader</type>
                <shader>chrome</shader>
                <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
                <object-name>gunsight-glass</object-name>
                <object-name>gunsight-lens</object-name>
        </animation>
   
        <animation>
                <type>noshadow</type>
                <object-name>gunsight-glass</object-name>
                <object-name>gunsight-lens</object-name>
        </animation>

<!-- Front main panel --> 
 <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/attitude-indicator/attitude-indicator.xml</path>
  <offsets>
   <x-m>-3.4</x-m>
   <y-m>0.003</y-m>
   <z-m>0.32</z-m>
  </offsets>
 </model>  

 <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/hsi/hsi.xml</path>
  <offsets>
   <x-m>-3.399</x-m>
   <y-m>0.002</y-m>
   <z-m>0.19</z-m>
  </offsets>
 </model>  
 
 <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/asi/asi.xml</path>
  <offsets>
   <x-m>-3.40</x-m>
   <y-m>-0.109</y-m>
   <z-m>0.303</z-m>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.4</x-offset>
    <y-offset>1.4</y-offset>
    <z-offset>1.4</z-offset>
   </animation>
   </overlay>
 </model>
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/alt/alt.xml</path>
  <offsets>
   <x-m>-3.40</x-m>
   <y-m>-0.109</y-m>
   <z-m>0.206</z-m>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.3</x-offset>
    <y-offset>1.3</y-offset>
    <z-offset>1.3</z-offset>
   </animation>
   </overlay>
 </model>
 
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/turn/turn.xml</path>
  <offsets>
   <x-m>-3.398</x-m>
   <y-m>0.112</y-m>
   <z-m>0.209</z-m>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>0.82</x-offset>
    <y-offset>0.82</y-offset>
    <z-offset>0.82</z-offset>
   </animation>
   </overlay>
 </model>
 
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/vsi/vsi.xml</path>
  <offsets>
   <x-m>-3.399</x-m>
   <y-m>0.11</y-m>
   <z-m>0.303</z-m>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.05</x-offset>
    <y-offset>1.05</y-offset>
    <z-offset>1.05</z-offset>
   </animation>
   </overlay>
 </model>

<!-- Left Main Panel -->

<model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/GMeter/gmeter.xml</path>
  <offsets>
   <x-m>-3.304</x-m>
   <y-m>-0.215</y-m>
   <z-m>0.467</z-m>
   <heading-deg>39</heading-deg>
  </offsets>
  	
 </model>



<model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/gear/gear.xml</path>
  <offsets>
   <x-m>-3.359</x-m>
   <y-m>-0.205</y-m>
   <z-m>0.303</z-m>
   <heading-deg>39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.3</x-offset>
    <y-offset>1.3</y-offset>
    <z-offset>1.3</z-offset>
   </animation>
   </overlay>
 </model>
 
 
 <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/mach/mach.xml</path>
  <offsets>
   <x-m>-3.357</x-m>
   <y-m>-0.206</y-m>
   <z-m>0.206</z-m>
   <heading-deg>39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.2</x-offset>
    <y-offset>1.2</y-offset>
    <z-offset>1.2</z-offset>
   </animation>
   </overlay>
 </model>


<!-- right main Panel -->

<model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/dme/dme.xml</path>
  <offsets>
   <x-m>-3.364</x-m>
   <y-m>0.212</y-m>
   <z-m>0.295</z-m>
   <heading-deg>-39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.35</x-offset>
    <y-offset>1.35</y-offset>
    <z-offset>1.35</z-offset>
   </animation>
   </overlay>
 </model>
 
 
 <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/rpm/rpm.xml</path>
  <offsets>
   <x-m>-3.359</x-m>
   <y-m>0.208</y-m>
   <z-m>0.203</z-m>
   <heading-deg>-39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.35</x-offset>
    <y-offset>1.35</y-offset>
    <z-offset>1.35</z-offset>
   </animation>
   </overlay>
 </model>
 
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/egt/egt.xml</path>
  <offsets>
   <x-m>-3.308</x-m>
   <y-m>0.272</y-m>
   <z-m>0.214</z-m>
   <heading-deg>-39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1.35</x-offset>
    <y-offset>1.35</y-offset>
    <z-offset>1.35</z-offset>
   </animation>
   </overlay>
 </model>
 
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/fuel/fuel-left.xml</path>
  <offsets>
   <x-m>-3.257</x-m>
   <y-m>0.33</y-m>
   <z-m>0.216</z-m>
   <heading-deg>-39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>0.8</x-offset>
    <y-offset>0.8</y-offset>
    <z-offset>0.8</z-offset>
   </animation>
   </overlay>
 </model>
 
 
  <model>
  <path>Aircraft/Supermarine-Swift/Models/Interior/Instruments/oilpressure/oilpressureL.xml</path>
  <offsets>
   <x-m>-3.303</x-m>
   <y-m>0.278</y-m>
   <z-m>0.1323</z-m>
   <heading-deg>-39</heading-deg>
  </offsets>
  	<overlay>
		 <animation n="101">
    <type>scale</type>
    <property>constants/zero</property>
    <x-offset>1</x-offset>
    <y-offset>1</y-offset>
    <z-offset>1</z-offset>
   </animation>
   </overlay>
 </model>
 
  <animation>
    <type>select</type>
    <object-name>wl_cmr_on_on</object-name>
    <object-name>wl_fire_jet_pipe_on</object-name>
    <object-name>wl_fire_engine_on</object-name>
    <object-name>wl_film_out_on</object-name>
    <object-name>wl_cmr_on_on</object-name>
  </animation>
  <animation>
    <type>select</type>
    <object-name>wl_ab_off</object-name>
    <condition>
      <not>
        <greater-than>
          <property>fdm/jsbsim/propulsion/engine[0]/augmentation-alight</property>
          <value>0</value>
        </greater-than>
      </not>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>wl_ab_on</object-name>
    <condition>
      <greater-than>
        <property>fdm/jsbsim/propulsion/engine[0]/augmentation-alight</property>
        <value>0</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_ospd_on</object-name>
    <condition>
      <greater-than>
        <property>velocities/airspeed-kt</property>
        <value>620</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_ospd_off</object-name>
    <condition>
      <not>
        <greater-than>
          <property>velocities/airspeed-kt</property>
          <value>620</value>
        </greater-than>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_stall_on</object-name>
    <condition>
      <and>
        <less-than>
          <property>fdm/jsbsim/gear/wow</property>
          <value>1</value>
        </less-than>
        <greater-than>
          <property>fdm/jsbsim/aero/alpha-deg</property>
          <value>13</value>
        </greater-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_stall_off</object-name>
    <condition>
      <not>
        <and>
          <less-than>
            <property>fdm/jsbsim/gear/wow</property>
            <value>1</value>
          </less-than>
          <greater-than>
            <property>fdm/jsbsim/aero/alpha-deg</property>
            <value>13</value>
          </greater-than>
        </and>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_low_fuel_on</object-name>
    <condition>
      <less-than>
        <property>/consumables/fuel/total-fuel-lbs</property>
        <value>1000.00</value>
      </less-than>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>wl_low_fuel_off</object-name>
    <condition>
      <not>
        <less-than>
          <property>/consumables/fuel/total-fuel-lbs</property>
          <value>1000.00</value>
        </less-than>
      </not>
    </condition>
  </animation>

  <!-- wl_hyd_warn warning light -->
  <animation>
    <type>select</type>
    <object-name>wl_hyd_warn_off</object-name>
    <condition>
      <not>
        <or>
          <less-than>
            <property>fdm/jsbsim/systems/hydraulics/system-pressure</property>
            <value>1</value>
          </less-than>
          <less-than>
            <property>fdm/jsbsim/systems/hydraulics/system-pressure1</property>
            <value>1</value>
          </less-than>
        </or>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>wl_hyd_warn_on</object-name>
    <condition>
      <or>
        <less-than>
          <property>fdm/jsbsim/systems/hydraulics/system-pressure</property>
          <value>1</value>
        </less-than>
        <less-than>
          <property>fdm/jsbsim/systems/hydraulics/system-pressure1</property>
          <value>1</value>
        </less-than>
      </or>
    </condition>
  </animation>

  <!-- wl_canopy warning light -->
  <animation>
    <type>select</type>
    <object-name>wl_canopy_off</object-name>
    <condition>
      <not>
        <greater-than>
          <property>canopy/position-norm</property>
          <value>0</value>
        </greater-than>
      </not>
    </condition>
  </animation>
  <animation>
    <type>select</type>
    <object-name>wl_canopy_on</object-name>
    <condition>
      <greater-than>
        <property>canopy/position-norm</property>
        <value>0</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>switch_battery</object-name>
    <property>controls/electric/battery-switch</property>
    <interpolation>
      <entry>
        <ind> 0 </ind>
        <dep> -3 </dep>
      </entry>
      <entry>
        <ind> 1 </ind>
        <dep> 85</dep>
      </entry>
    </interpolation>
    <center>
      <x-m>-3.11033</x-m>
      <y-m>-0.35005</y-m>
      <z-m>0.24839</z-m>
    </center>
    <axis>
      <x>0.0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>
	
	    <animation>
        <type>pick</type>
        <object-name>switch_battery</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>controls/electric/battery-switch</property>
            </binding>
        </action>
    </animation>
	
	         <animation>
        <type>rotate</type>
        <object-name>switch_avionics</object-name>
        <property>controls/switches/master-avionics</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -3 </dep></entry>
      <entry><ind> 1 </ind><dep> 85</dep></entry>
    </interpolation>
        <center>
            <x-m>-3.08995</x-m>
            <y-m>-0.35005</y-m>
            <z-m>0.24921</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
	
	    <animation>
        <type>pick</type>
        <object-name>switch_avionics</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>controls/switches/master-avionics</property>
            </binding>
        </action>
    </animation>
	
		         <animation>
        <type>rotate</type>
        <object-name>switch_lights_landing</object-name>
        <property>controls/switches/landing-light</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -3 </dep></entry>
      <entry><ind> 1 </ind><dep> 85</dep></entry>
    </interpolation>
        <center>
            <x-m>-3.13133</x-m>
            <y-m>-0.35005</y-m>
            <z-m>0.24804</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
	
	    <animation>
        <type>pick</type>
        <object-name>switch_lights_landing</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>controls/switches/landing-light</property>
            </binding>
        </action>
    </animation>
	
			         <animation>
        <type>rotate</type>
        <object-name>switch_lights_nav</object-name>
        <property>controls/switches/nav-lights</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -3 </dep></entry>
      <entry><ind> 1 </ind><dep> 85</dep></entry>
    </interpolation>
        <center>
            <x-m>-3.14935</x-m>
            <y-m>-0.34921</y-m>
            <z-m>0.24777</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
	
	    <animation>
        <type>pick</type>
        <object-name>switch_lights_nav</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>controls/switches/nav-lights</property>
            </binding>
        </action>
    </animation>
	
				         <animation>
        <type>rotate</type>
        <object-name>switch_fuel_pump</object-name>
        <property>controls/fuel/tank/boost-pump</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -3 </dep></entry>
      <entry><ind> 1 </ind><dep> 85</dep></entry>
    </interpolation>
        <center>
            <x-m>-3.16133</x-m>
            <y-m>-0.350571</y-m>
            <z-m>0.19666</z-m>
        </center>
        <axis>
            <x>0.0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>
	
	    <animation>
        <type>pick</type>
        <object-name>switch_fuel_pump</object-name>
        <action>
            <button>0</button>
            <binding>
                <command>property-toggle</command>
                <property>controls/fuel/tank/boost-pump</property>
            </binding>
        </action>
    </animation>

    <animation>
      <type>rotate</type>
      <object-name>stick</object-name>
      <property>controls/flight/elevator</property>
      <factor>20</factor>
      <axis>
        <object-name>stick-pitch-axis</object-name>
      </axis>
    </animation>

    <animation>
      <type>rotate</type>
      <object-name>stick-grip</object-name>
      <property>controls/flight/aileron</property>
      <factor>20</factor>
      <axis>
        <object-name>stick-grip-axis</object-name>
      </axis>
    </animation>

    <animation>
      <type>translate</type>
      <property>controls/flight/aileron</property>
      <factor>-0.015</factor>
      <object-name>stick-roll-linkage</object-name>
      <axis>
        <x> 0 </x>
        <y> 0 </y>
        <z> 1 </z>
      </axis>
    </animation>

    <animation>
      <type>rotate</type>
      <object-name>rudder-pedals</object-name>
      <property>controls/flight/rudder</property>
      <factor>20</factor>
      <axis>
        <object-name>rudder-pedals-axis</object-name>
      </axis>
    </animation>

    <animation>
      <type>rotate</type>
      <object-name>throttle</object-name>
      <property>controls/engines/engine[0]/throttle</property>
      <factor>-80</factor>
      <offset-deg>-24</offset-deg>
      <axis>
        <object-name>throttle-axis</object-name>
      </axis>
    </animation>

    <animation>
      <type>knob</type>
      <object-name>gear_lever</object-name>
      <property>controls/gear/gear-down</property>
      <factor>30</factor>
      <axis>
        <object-name>gear_lever-axis</object-name>
      </axis>
      <action>
        <binding>
            <command>property-toggle</command>
            <property>controls/gear/gear-down</property>
        </binding>
    </action>

    </animation>
    
    <animation>
      <type>knob</type>
      <object-name>flaps_lever</object-name>
      <property>controls/flight/flaps</property>
      <factor>40</factor>
      <axis>
        <object-name>flaps_lever-axis</object-name>
      </axis>
      <action>
        <binding>
            <command>property-adjust</command>
            <property>controls/flight/flaps</property>
            <factor>0.1</factor>
            <min>0</min>
            <max>1</max>                
            <wrap>false</wrap>
        </binding>
    </action>

    </animation>
    
</PropertyList>
