<?xml version="1.0"?>

<PropertyList>

  <path>a4-blue.ac</path>
	  
  <!-- Front panel -->
  <panel>
    <path>Aircraft/a4/a4f-panel.xml</path>
    <name>Front-Panel</name>
    <bottom-left>
      <x-m>-3.23</x-m>
      <y-m>-0.24</y-m>
      <z-m> 0.474</z-m>
    </bottom-left>
    <bottom-right>
      <x-m>-3.23</x-m>
      <y-m> 0.24</y-m>
      <z-m> 0.474</z-m>
    </bottom-right>
    <top-left>
      <x-m>-3.23</x-m>
      <y-m>-0.24</y-m>
      <z-m> 0.724</z-m>
    </top-left>
  </panel>
	
	<!-- A4F modified panel -->
	
	<model>
   <path>Aircraft/a4/Models/panel.xml</path>
<!-- <path>Aircraft/a4/Models/attitude.xml</path>-->
    <name>A4F Panel</name>
    <offsets>
      <x-m>-3.24</x-m>
      <y-m>0</y-m>
      <z-m>0.53</z-m>
    </offsets>
  </model>

  <!-- Cool panel toy. -->
  <model>
    <path>Aircraft/a4/Models/attitude.xml</path>
    <name>Attitude Ball</name>
    <offsets>
      <x-m>-3.27</x-m>
      <y-m> -0.059</y-m>
      <z-m> 0.60</z-m>
    </offsets>
  </model>

  <!-- G-effects -->
  <!--<model>
    <path>Aircraft/a4/Models/blackout.xml</path>
    <name>Blackout</name>
    <offsets>
      <x-m>-2.85</x-m>
      <y-m>0</y-m>
      <z-m>0.87</z-m>
    </offsets>
  </model>-->

  <!-- brake chute-->
  <model>
    <path>Aircraft/a4/Models/brake-chute.xml</path>
    <name>BrakeChute</name>
    <offsets>
      <x-m>6.03</x-m>
      <y-m>0</y-m>
      <z-m>0.24</z-m>
    </offsets>
  </model>

 <model>
    <path>Aircraft/a4/Models/beacon.xml</path>
    <name>Beacon-Top</name>
    <offsets>
      <x-m>0.72</x-m>
      <y-m>0</y-m>
      <z-m>0.83</z-m>
    </offsets>
  </model>
	
	<model>
    <path>Aircraft/a4/Models/beacon.xml</path>
    <name>Beacon-Bottom</name>
    <offsets>
			<x-m>2.70</x-m>
      <y-m>0</y-m>
      <z-m>-0.61</z-m>
			<roll-deg>180</roll-deg>
    </offsets>
  </model>

  <!-- AoA Indexer "panel" -->

  <panel>
    <path>Aircraft/a4/aoa-panel.xml</path>
    <bottom-left>
      <x-m>-3.18</x-m>
      <y-m>-0.072</y-m>
      <z-m> 0.775</z-m>
    </bottom-left>
    <bottom-right>
      <x-m>-3.18</x-m>
      <y-m>-0.0485</y-m>
      <z-m> 0.775</z-m>
    </bottom-right>
    <top-left>
      <x-m>-3.18</x-m>
      <y-m>-0.072</y-m>
      <z-m> 0.83</z-m>
    </top-left>
  </panel>
	
	<model>
    <path>Aircraft/a4/Models/strop.xml</path>
		<name>New-Strop</name>
    <offsets>
      <x-m>-0.44</x-m>
      <y-m>0.0</y-m>
      <z-m>-0.54</z-m>
    </offsets>
  </model>

  <!-- Object Selection -->

<!--  <animation>
    <object-name>A4F Panel</object-name>  
    <object-name>Blackout</object-name>
  </animation>-->
	
	<animation>
    <type>select</type>
    <object-name>Panel</object-name>
    <condition>
        <equals>
          <property>sim/current-view/view-number</property>
          <value>-1</value>
        </equals>
     </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Pilot</object-name>
    <condition>
      <not>
        <equals>
          <property>sim/current-view/view-number</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Fuselage</object-name>
    <condition>
      <not>
        <equals>
          <property>sim/current-view/view-number</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Empennage</object-name>
    <condition>
      <not>
        <equals>
          <property>sim/current-view/view-number</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>WingSurfaces</object-name>
    <condition>
      <not>
        <equals>
          <property>sim/current-view/view-number</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>RightSlats</object-name>
    <object-name>LeftSlats</object-name>
    <condition>
      <equals>
        <property>controls/flight/slats</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>NoseGear</object-name>
    <object-name>NoseGearStrut</object-name>
    <object-name>NoseGearDoor</object-name>
    <condition>
      <not>
        <equals>
          <property>gear/gear/position-norm</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>LeftGear</object-name>
    <object-name>LeftGearStrut</object-name>
    <object-name>LeftGearDoor</object-name>
    <condition>
      <not>
        <equals>
          <property>gear/gear[1]/position-norm</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>RightGear</object-name>
    <object-name>RightGearStrut</object-name>
    <object-name>RightGearDoor</object-name>
    <object-name>LandingLight</object-name>
    <condition>
      <not>
        <equals>
          <property>gear/gear[2]/position-norm</property>
          <value>0</value>
        </equals>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>RightFlap</object-name>
    <condition>
      <greater-than>
        <property>surface-positions/flap-pos-norm</property>
        <value>1</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>LeftFlap</object-name>
    <condition>
      <greater-than>
        <property>surface-positions/flap-pos-norm</property>
        <value>1</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>LeftAirBrake</object-name>
    <object-name>RightAirBrake</object-name>
    <condition>
      <greater-than>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>0.001</value>
      </greater-than>
    </condition>
  </animation>

  <!-- Object Movement -->

  <animation>
    <type>rotate</type>
    <object-name>LeftGear</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-120</factor>
    <offset-deg>120</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>0.76</x-m>
      <y-m>-1.05</y-m>
      <z-m>-0.68</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LeftGear</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-120</factor>
    <offset-deg>120</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>0.76</x-m>
      <y-m>-1.05</y-m>
      <z-m>-0.68</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>-1</z>
    </axis>
  </animation>


  <animation>
    <type>rotate</type>
    <object-name>LeftGearStrut</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>45</factor>
    <offset-deg>-45</offset-deg>
    <center>
      <x-m>-0.20</x-m>
      <y-m>-1.0</y-m>
      <z-m>-0.69</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LeftGearDoor</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-360</factor>
    <offset-deg>90</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>-0.20</x-m>
      <y-m>-1.20</y-m>
      <z-m>-0.69</z-m>
    </center>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightGear</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-120</factor>
    <offset-deg>120</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>0.76</x-m>
      <y-m>1.05</y-m>
      <z-m>-0.68</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightGear</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-120</factor>
    <offset-deg>120</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>0.76</x-m>
      <y-m>1.05</y-m>
      <z-m>-0.68</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>1</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightGearStrut</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>45</factor>
    <offset-deg>-45</offset-deg>
    <center>
      <x-m>-0.20</x-m>
      <y-m>1.0</y-m>
      <z-m>-0.69</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightGearDoor</object-name>
    <property>gear/gear[1]/position-norm</property>
    <object-name>LandingLight</object-name>
    <factor>-360</factor>
    <offset-deg>90</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>-0.20</x-m>
      <y-m>1.20</y-m>
      <z-m>-0.69</z-m>
    </center>
    <axis>
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>NoseGear</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-150</factor>
    <offset-deg>150</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>105</max-deg>
    <center>
      <x-m>-2.60</x-m>
      <y-m>0.0</y-m>
      <z-m>-0.60</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>NoseGearStrut</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-45</factor>
    <offset-deg>45</offset-deg>
    <center>
      <x-m>-1.80</x-m>
      <y-m>0.0</y-m>
      <z-m>-0.66</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>NoseGearDoor</object-name>
    <property>gear/gear[1]/position-norm</property>
    <factor>-360</factor>
    <offset-deg>90</offset-deg>
    <min-deg>0</min-deg>
    <max-deg>90</max-deg>
    <center>
      <x-m>-3.28</x-m>
      <y-m>-0.11</y-m>
      <z-m>-0.66</z-m>
    </center>
    <axis>
      <x>1</x>
      <y>0.05</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LeftFlap-New</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor>60</factor>
    <!-- check -->
    <offset-deg>0</offset-deg>
    <axis>
      <x1-m>1.75</x1-m>
      <y1-m>-2.16</y1-m>
      <z1-m>-0.46</z1-m>
      <x2-m>1.75</x2-m>
      <y2-m>-0.58</y2-m>
      <z2-m>-0.57</z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightFlap-New</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor>-60</factor>
    <!-- check -->
    <offset-deg>0</offset-deg>
    <axis>
      <x1-m>1.75</x1-m>
      <y1-m>2.16</y1-m>
      <z1-m>-0.46</z1-m>
      <x2-m>1.75</x2-m>
      <y2-m>0.58</y2-m>
      <z2-m>-0.57</z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LeftSpoiler</object-name>
    <property>surface-positions/spoiler-pos-norm</property>
    <factor>-60</factor>
    <!-- check -->
    <offset-deg>0</offset-deg>
    <axis>
      <x1-m>1.75</x1-m>
      <y1-m>-2.16</y1-m>
      <z1-m>-0.38</z1-m>
      <x2-m>1.75</x2-m>
      <y2-m>-0.62</y2-m>
      <z2-m>-0.49</z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightSpoiler</object-name>
    <property>surface-positions/spoiler-pos-norm</property>
    <factor>60</factor>
    <!-- check -->
    <offset-deg>0</offset-deg>
    <axis>
      <x1-m>1.75</x1-m>
      <y1-m>2.16</y1-m>
      <z1-m>-0.38</z1-m>
      <x2-m>1.75</x2-m>
      <y2-m>0.62</y2-m>
      <z2-m>-0.49</z2-m>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>LeftAirBrake</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor>-60</factor>
    <offset-deg>60</offset-deg>
    <axis>
      <x1-m>3.09</x1-m>
      <y1-m>-0.52</y1-m>
      <z1-m>-0.33</z1-m>
      <x2-m>3.09</x2-m>
      <y2-m>-0.52</y2-m>
      <z2-m>0.06</z2-m>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>RightAirBrake</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor>60</factor>
    <offset-deg>-60</offset-deg>
    <axis>
      <x1-m>3.09</x1-m>
      <y1-m>0.52</y1-m>
      <z1-m>-0.33</z1-m>
      <x2-m>3.09</x2-m>
      <y2-m>0.52</y2-m>
      <z2-m>0.06</z2-m>
    </axis>
  </animation>
  
  <!-- arrester hook -->
  <animation>
    <type>rotate</type>
    <object-name>Tailhook</object-name>
    <property>gear/tailhook/position-norm</property>
    <interpolation>
      <entry>
        <ind>0</ind>
        <dep>0</dep>
      </entry>
      <entry>
        <ind>1</ind>
        <dep>85</dep>
      </entry>
    </interpolation>
    <center>
      <x-m>3.12</x-m>
      <y-m>0</y-m>
      <z-m>-0.70</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <!-- ********** launchbar stuff ************* -->

  <!-- lower/raise
  <animation>
    <type>rotate</type>
    <object-name>Strop</object-name>
    <property>gear/launchbar/position-norm</property>
    <interpolation>
      <entry>
        <ind>0</ind>
        <dep>0</dep>
      </entry>
      <entry>
        <ind>0.5</ind>
        <dep>45</dep>
      </entry>
      <entry>
        <ind>1</ind>
        <dep>90</dep>
      </entry>
    </interpolation>
    <center>
      <x-m>-0.38</x-m>
      <y-m>0</y-m>
      <z-m>-0.57</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Strop</object-name>
    <condition>
      <not>
        <equals>
          <property>gear/launchbar/state</property>
          <value>Disengaged</value>
        </equals>
      </not>
    </condition>
  </animation> -->

  <!-- lower/raise -->
  <animation>
    <type>rotate</type>
    <object-name>Holdback</object-name>
    <property>gear/launchbar/holdback-position-norm</property>
    <interpolation>
      <entry>
        <ind>0</ind>
        <dep>0</dep>
      </entry>
      <entry>
        <ind>0.5</ind>
        <dep>45</dep>
      </entry>
      <entry>
        <ind>1</ind>
        <dep>90</dep>
      </entry>
    </interpolation>
    <center>
      <x-m>3.12</x-m>
      <y-m>0</y-m>
      <z-m>-0.70</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>1</y>
      <z>0</z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Holdback</object-name>
    <condition>
      <equals>
        <property>gear/launchbar/state</property>
        <value>Engaged</value>
      </equals>
    </condition>
  </animation>

  <!-- compression -->
  <animation>
    <type>translate</type>
    <object-name>NoseWheel</object-name>
    <object-name>Lower-Leg</object-name>
    <property>gear/gear/compression-norm</property>
    <factor>0.6</factor>
		<offset-m>-0.01</offset-m>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>1</z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>LeftLowerLeg</object-name>
    <object-name>LeftWheel</object-name>
    <property>gear/gear[1]/compression-norm</property>
    <factor>0.6</factor>
		<offset-m>-0.025</offset-m>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>1</z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RightLowerLeg</object-name>
    <object-name>RightWheel</object-name>
    <property>gear/gear[2]/compression-norm</property>
    <factor>0.6</factor>
		<offset-m>-0.025</offset-m>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>1</z>
    </axis>
  </animation>

  <!--	Steering -->
  <animation>
    <type>rotate</type>
    <object-name>NoseWheel</object-name>
    <object-name>Lower-Leg</object-name>
    <property>gear/gear[0]/steering-norm</property>
    <offset-deg>0</offset-deg>
    <factor>-60</factor>
    <center>
      <x-m>-2.59</x-m>
      <y-m>0.0</y-m>
      <z-m>-1.21</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>0</y>
      <z>1</z>
    </axis>
  </animation>

</PropertyList>




