<?xml version="1.0"?>

<PropertyList>

 <path>cockpit.ac</path>

 <effect>
  <inherits-from>Aircraft/ercoupe/Models/Effects/panel</inherits-from>
  <object-name>panelTop</object-name>
  <object-name>FireExtinguisher</object-name>
  <object-name>InstrumentPanel</object-name>
 </effect>

 <effect>
   <name>Effects/fuselage-reflection</name>
   <inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from>
   <object-name>metal</object-name>
 </effect>

<!-- Top Row -->
 <model>
  <name>ASI</name>
  <path>Aircraft/ercoupe/Models/Instruments/ASI/asi.xml</path>
  <offsets>
   <x-m>-0.490</x-m>
   <y-m>-0.1094</y-m>
   <z-m> 0.7220</z-m>
  </offsets>
 </model>

 <model>
  <name>AttitudeIndicator</name>
  <path>Aircraft/Instruments-3d/ai/ai.xml</path>
  <offsets>
   <x-m>-0.499</x-m>
   <y-m>-0.01</y-m>
   <z-m> 0.7322</z-m>
  </offsets>
 </model>

 <model>
  <name>Altimeter</name>
  <path>Aircraft/ercoupe/Models/Instruments/alt/alt.xml</path>
  <offsets>
   <x-m>-0.49645</x-m>
   <y-m> 0.09112</y-m>
   <z-m> 0.7222</z-m>
  </offsets>
 </model>

<!-- Bottom Row -->

 <model>
  <name>OilPres</name>
  <path>Aircraft/ercoupe/Models/Instruments/oil-press/oil-press.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m>-0.431</y-m>
   <z-m> 0.579</z-m>
  </offsets>
 </model>

 <model>
  <name>OilTemp</name>
  <path>Aircraft/ercoupe/Models/Instruments/oil-temp/oil-temp.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m>-0.357</y-m>
   <z-m> 0.579</z-m>
  </offsets>
 </model>

 <model>
  <name>OBI</name>
  <path>Aircraft/ercoupe/Models/Instruments/hdg/hdg.xml</path>
  <offsets>
   <x-m>-0.495</x-m>
   <y-m>-0.1072</y-m>
   <z-m> 0.6357</z-m>
  </offsets>
 </model>

 <model>
  <name>Turn and Bank</name>
  <path>Aircraft/ercoupe/Models/Instruments/tc/tc.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m>-0.0093</y-m>
   <z-m> 0.6447</z-m>
  </offsets>
 </model>

 <model>
  <name>VSI</name>
  <path>Aircraft/ercoupe/Models/Instruments/vsi/vsi.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m> 0.0911</y-m>
   <z-m> 0.6370</z-m>
  </offsets>
 </model>

<!-- Pilot Side -->
 <model>
  <name>RPM</name>
  <path>Aircraft/ercoupe/Models/Instruments/rpm/rpm.xml</path>
  <offsets>
   <x-m>-0.505</x-m>
   <y-m>-0.3610</y-m>
   <z-m> 0.6499</z-m>
  </offsets>
 </model>

 <model>
  <name>Master Fuel Switch</name>
  <path>Aircraft/ercoupe/Models/Instruments/FuelSwitch/fuelswitch.xml</path>
  <offsets>
   <x-m>-0.491</x-m>
   <y-m>-0.17</y-m>
   <z-m> 0.5325</z-m>
  </offsets>
 </model>

 <model>
  <name>placard</name>
  <path>Aircraft/ercoupe/Models/Instruments/placard.ac</path>
  <offsets>
   <x-m>-0.4874</x-m>
   <y-m> 0.3578</y-m>
   <z-m> 0.6443</z-m>
  </offsets>
 </model>

 <model>
  <name>Ampmeter</name>
  <path>Aircraft/ercoupe/Models/Instruments/ammeter/ammeter.xml</path>
  <offsets>
   <x-m>-0.502</x-m>
   <y-m> 0.4289</y-m>
   <z-m> 0.5815</z-m>
  </offsets>
 </model>

<!--
 <model>
  <name>testing</name>
  <path>Aircraft/ercoupe/Models/scale_10M.ac</path>
  <offsets>
   <x-m>-0.0</x-m>
   <y-m>0.00</y-m>
   <z-m>0.00</z-m>
  </offsets>
 </model>
-->

<!-- COMM -->
  <model>
  <name>COMM</name>
  <path>Aircraft/Instruments-3d/VHF-22/ctl22-com1.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m> 0.080</y-m>
   <z-m> 0.5420</z-m>
  </offsets>
 </model>

 <model>
  <name>Transponder</name>
  <path>Aircraft/Instruments-3d/TDR-94/ctl92-transponder.xml</path>
  <offsets>
   <x-m>-0.497</x-m>
   <y-m> 0.143</y-m>
   <z-m> 0.5420</z-m>
  </offsets>
 </model>

<!-- Controls -->

 <model>
  <name>Starter-Switch</name>
  <path>Aircraft/ercoupe/Models/Instruments/StarterSwitch/StarterSwitch.xml</path>
  <offsets>
   <x-m>-0.494</x-m>
   <y-m> 0.06</y-m>
   <z-m> 0.77</z-m>
  </offsets>
 </model>

 <animation>
  <type>translate</type>
  <object-name>Throttle</object-name>
  <property>controls/engines/engine[0]/throttle</property>
  <factor>-0.08</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>slider</type>
  <object-name>Throttle</object-name>
  <drag-direction>vertical</drag-direction>
  <value>0.0</value>
  <action>
   <binding>
    <command>property-adjust</command>
    <property>controls/engines/engine[0]/throttle</property>
    <factor>0.1</factor>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Throttle: %3d%%</label>
    <measure-text>Throttle: 100%</measure-text>
    <tooltip-id>throttle</tooltip-id>
    <mapping>percent</mapping>
    <property>controls/engines/engine[0]/throttle</property>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>CarbHeat</object-name>
  <property>controls/engines/engine/carb-heat</property>
  <factor>0.04</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>pick</type>
  <object-name>CarbHeat</object-name>
  <action>
   <button>0</button>
   <repeatable>false</repeatable>
   <binding>
    <command>property-toggle</command>
    <property>controls/engines/engine/carb-heat</property>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Carburetor: %s</label>
    <measure-text>Carburetor: Cold</measure-text>
    <tooltip-id>carbheat</tooltip-id>
    <mapping>nasal</mapping>
    <script>
     var modes = ['Cold', 'Heated'];
     return modes[arg[0]];
    </script>
    <property>controls/engines/engine/carb-heat</property>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>Mixture</object-name>
  <property>controls/engines/engine[0]/mixture</property>
  <factor>-0.10</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>slider</type>
  <object-name>Mixture</object-name>
  <drag-direction>vertical</drag-direction>
  <value>1.0</value>
  <action>
   <binding>
    <command>property-adjust</command>
    <property>controls/engines/engine[0]/mixture</property>
    <factor>0.1</factor>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Mixture: %3d%%</label>
    <measure-text>Mixture: 100%</measure-text>
    <tooltip-id>mixture</tooltip-id>
    <mapping>percent</mapping>
    <property>controls/engines/engine[0]/mixture</property>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>PrimerLever</object-name>
  <property>controls/engines/engine/primer-lever</property>
  <factor>0.04</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>pick</type>
  <object-name>PrimerLever</object-name>
  <action>
   <button>0</button>
   <repeatable>false</repeatable>
   <binding>
    <command>nasal</command>
    <script>ercoupe.pumpPrimer();</script>
   </binding>
   </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Engine Primer: %1d</label>
    <measure-text>Engine Primer: 1</measure-text>
    <tooltip-id>primer</tooltip-id>
    <property>controls/engines/engine/primer-lever</property>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Key</object-name>
  <property>controls/engines/engine/magnetos</property>
  <factor>-15</factor>
  <center>
  <x-m>0.0</x-m>
  <y-m>-0.105</y-m>
  <z-m>0.52832</z-m>
 </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>knob</type>
  <object-name>Key</object-name>
  <value>0.0</value>
  <action>
   <binding>
    <command>property-adjust</command>
    <property>controls/engines/engine/magnetos</property>
    <factor>1</factor>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Magnetos: %s</label>
    <measure-text>Magnetos: Off</measure-text>
    <tooltip-id>magnetos</tooltip-id>
    <property>controls/engines/engine/magnetos</property>
    <mapping>nasal</mapping>
    <script>
     var modes = ['Off', '1st', '2nd', 'Both'];
     return modes[arg[0]];
    </script>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Keypart</object-name>
  <property>/orientation/roll-deg</property>
  <factor>1.0</factor>
  <center>
  <x-m>-0.465</x-m>
  <y-m>-0.105</y-m>
  <z-m>0.527</z-m>
 </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Keypart</object-name>
  <property>/orientation/pitch-deg</property>
  <factor>-1.0</factor>
  <center>
  <x-m>-0.465</x-m>
  <y-m>-0.105</y-m>
  <z-m>0.527</z-m>
 </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>parkBrake</object-name>
  <property>controls/gear/brake-parking</property>
  <factor>0.05</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>parkBrake</object-name>
  <property>controls/gear/brake-parking</property>
  <factor>-90</factor>
  <center>
  <x-m>0.0</x-m>
  <y-m>-0.038</y-m>
  <z-m>0.516</z-m>
 </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>slider</type>
  <object-name>parkBrake</object-name>
  <drag-direction>vertical</drag-direction>
  <value>1</value>
  <action>
   <binding>
    <command>property-adjust</command>
    <property>controls/gear/brake-parking</property>
    <factor>-1</factor>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Parking Brake: %s</label>
    <measure-text>Parking Brake: Off</measure-text>
    <tooltip-id>parkbrake</tooltip-id>
    <property>controls/gear/brake-parking</property>
    <mapping>nasal</mapping>
    <script>
     var modes = ['Off', 'On'];
     return modes[arg[0]];
    </script>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>NavLightSwitch</object-name>
  <property>controls/lighting/nav-lights</property>
  <factor>-35</factor>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
  <center>
   <x-m>-0.49</x-m>
   <y-m>0</y-m>
   <z-m>0.54</z-m>
  </center>
 </animation>
 <animation>
  <type>knob</type>
  <object-name>NavLightSwitch</object-name>
  <drag-direction>vertical</drag-direction>
  <value>0.0</value>
  <action>
   <binding>
    <command>property-toggle</command>
    <property>controls/lighting/nav-lights</property>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>NavLights: %s</label>
    <measure-text>NavLights: Off</measure-text>
    <tooltip-id>NavLights</tooltip-id>
    <property>controls/lighting/nav-lights</property>
    <mapping>nasal</mapping>
    <script>
     var modes = ['Off', 'On'];
     return modes[arg[0]];
    </script>
   </binding>
  </hovered>
 </animation>
 
 <animation>
  <type>rotate</type>
  <object-name>LandingLightSwitch</object-name>
  <property>controls/lighting/landing-lights</property>
  <factor>-35</factor>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
  <center>
   <x-m>-0.49</x-m>
   <y-m>0</y-m>
   <z-m>0.54</z-m>
  </center>
 </animation>
 <animation>
  <type>knob</type>
  <object-name>LandingLightSwitch</object-name>
  <drag-direction>vertical</drag-direction>
  <value>0.0</value>
  <action>
   <binding>
    <command>property-toggle</command>
    <property>controls/lighting/landing-lights</property>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>LaindingLights: %s</label>
    <measure-text>LandingLights: Off</measure-text>
    <tooltip-id>LandingLights</tooltip-id>
    <property>controls/lighting/landing-lights</property>
    <mapping>nasal</mapping>
    <script>
     var modes = ['Off', 'On'];
     return modes[arg[0]];
    </script>
   </binding>
  </hovered>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>CabinHeat</object-name>
  <property>controls/climate-control/cabin-heat-set</property>
  <factor>0.04</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>slider</type>
  <object-name>CabinHeat</object-name>
  <drag-direction>vertical</drag-direction>
  <value>0.0</value>
  <action>
   <binding>
    <command>property-adjust</command>
    <property>controls/climate-control/cabin-heat-set</property>
    <factor>0.1</factor>
   </binding>
  </action>
  <hovered>
   <binding>
    <command>set-tooltip</command>
    <label>Cabin Heat: %3d%%</label>
    <measure-text>Cabin Heat: 100%</measure-text>
    <tooltip-id>cabinheat</tooltip-id>
    <mapping>percent</mapping>
    <property>controls/climate-control/cabin-heat-set</property>
   </binding>
  </hovered>
 </animation>

</PropertyList>

