<?xml version="1.0" encoding="ISO-8859-1"?>

<!--
    2008 : Created by Helijah
    April 2012 : Modified by PAF team
    May 2012 : Updated by Helijah
    Dec 2012 : Updated by Helijah
    Nov 2013 : Updated by Helijah
    May 2016 : Updated by Helijah
    May 2016 : Updated by Helijah
    Mar 2021 : Updated by Helijah
    Jan 2024 : Updated by Helijah
-->
<PropertyList>

  <!-- Based on https://aeroclub-montpellier.org/wp-content/uploads/F-GOZZ-G5-petite@2x.jpg -->
  <path>panel.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>flaps</object-name>
    <object-name>labels</object-name>
    <object-name>panel0</object-name>
    <object-name>panel1</object-name>
    <object-name>panel3</object-name>
    <object-name>paneltop</object-name>
    <object-name>rouetrim</object-name>

    <!-- Objets transparents -->
  </animation>

  <animation>
    <type>material</type>
    <object-name>labels</object-name>
    <object-name>panel0</object-name>
    <object-name>panel1</object-name>
    <object-name>panel3</object-name>
    <emission>
      <factor-prop>systems/electrical/outputs/panel-lights</factor-prop>
      <red>   0.05 </red>
      <green> 0.02 </green>
      <blue>  0.02 </blue>
    </emission>
  </animation>

  <!-- Manche -->
  <model>
    <path>Instruments/Handle/handle.xml</path>
    <offsets>
      <x-m>  0.33369 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.33937 </z-m>
      <pitch-deg> 5 </pitch-deg>
    </offsets>
  </model>

  <!-- Les plaques d'information -->
  <model>
    <path>Instruments/plaques/les-plaques.xml</path>
  </model>

  <model>
    <path>Instruments/blocnote/all-blocnotes.xml</path>
  </model>

  <!--
  ########################################
  ##              SWITCHS               ##
  ########################################
  -->
  <model>
    <path>Instruments/switchs/all-switchs.xml</path>
  </model>


  <!-- Les palonniers -->
  <model>
    <path>Instruments/pedals/pedals.xml</path>
    <offsets>
      <x-m> -0.21552 </x-m>
      <y-m> -0.23400 </y-m>
      <z-m> -0.30638 </z-m>
      <pitch-deg> 5 </pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Instruments/pedals/pedals.xml</path>
    <offsets>
      <x-m> -0.21552 </x-m>
      <y-m>  0.23400 </y-m>
      <z-m> -0.30638 </z-m>
      <pitch-deg> 5 </pitch-deg>
    </offsets>
  </model>

  <!--
    ################################################################
    PARTS : Audio plug, Throttle, Mixture and trim indicator, Flaps,
            Fuel valve, Trims, Glove compartment, Cabin Heat, Fuse,
            Parking brake, Carb Heat
    ################################################################
  -->
  <!-- Pilot audio plug -->
  <model>
    <path>Parts/audio-plug/audio-plug.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.435 </y-m>
      <z-m> -0.038 </z-m>
    </offsets>
  </model>

  <!-- CoPilot audio plug -->
  <model>
    <path>Parts/audio-plug/audio-plug.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m>  0.435 </y-m>
      <z-m> -0.038 </z-m>
    </offsets>
  </model>

  <!-- Pilot throttle -->
  <model>
    <path>Parts/throttle/throttle.xml</path>
    <offsets>
      <x-m>  0.110 </x-m>
      <y-m> -0.457 </y-m>
      <z-m>  0.063 </z-m>
    </offsets>
  </model>

  <!-- CoPilot throttle -->
  <model>
    <path>Parts/throttle/throttle.xml</path>
    <offsets>
      <x-m> 0.110 </x-m>
      <y-m> 0.074 </y-m>
      <z-m> 0.063 </z-m>
    </offsets>
  </model>

  <!-- Mixture and trim indicator -->
  <model>
    <path>Parts/mixture-trimsindicator/mixture-trimsindicator.xml</path>
    <offsets>
      <x-m>  0.133 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.140 </z-m>
    </offsets>
  </model>

  <!-- Glove compartment -->
  <model>
    <path>Parts/charts/charts.xml</path>
    <offsets>
      <x-m>  0.013 </x-m>
      <y-m>  0.333 </y-m>
      <z-m> -0.018 </z-m>
    </offsets>
  </model>

  <!-- Cabin Heat -->
  <model>
    <path>Parts/cabin-heat/cabin-heat.xml</path>
    <offsets>
      <x-m>  0.111 </x-m>
      <y-m>  0.452 </y-m>
      <z-m>  0.030 </z-m>
    </offsets>
  </model>

  <!-- Parking break -->
  <model>
    <path>Parts/carb-brake/parking-brake.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.010 </y-m>
      <z-m> -0.091 </z-m>
    </offsets>
  </model>

  <!-- Carb Heat -->
  <model>
    <path>Parts/carb-brake/carb-heat.xml</path>
    <offsets>
      <x-m>  0.028 </x-m>
      <y-m> -0.028 </y-m>
      <z-m> -0.010 </z-m>
    </offsets>
  </model>

  <!-- Fuel valve -->
  <model>
    <path>Parts/fuel-valve/fuel-valve.xml</path>
    <offsets>
      <x-m>  0.196 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.208 </z-m>
      <pitch-deg> -70 </pitch-deg>
    </offsets>
  </model>

  <!-- Fuse -->
  <model>
    <path>Parts/fuse/fuse.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m>  0.320 </y-m>
      <z-m> -0.038 </z-m>
    </offsets>
  </model>

  <!-- Magnetos -->
  <model>
    <path>Parts/magneto/magneto.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.304 </y-m>
      <z-m> -0.054 </z-m>
    </offsets>
  </model>

  <!-- All screws -->
  <model>
    <path>Parts/screws/all-screws.xml</path>
  </model>

  <!--
    ################################################################
    INSTRUMENTS : ALT, ADF, AI, ASI, RPM, EGT, HDG, HI, VSI, Turn,
                  Fuel-press, Clock, KI206, KR87, KX165, Volts,
                  Warning lights, Oil-temp, Oil-press, ELT
     ################################################################
  -->
  <!-- ASI -->
  <model>
    <path>Instruments/asi/asi.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.300 </y-m>
      <z-m>  0.208 </z-m>
    </offsets>
  </model>

  <!-- AI -->
  <model>
    <path>Instruments/ai/ai.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.196 </y-m>
      <z-m>  0.209 </z-m>
    </offsets>
  </model>

  <!-- ALT -->
  <model>
    <path>Instruments/alt/alt.xml</path>
    <offsets>
      <x-m>  0.1140 </x-m>
      <y-m> -0.0930 </y-m>
      <z-m>  0.2095 </z-m>
    </offsets>
  </model>

  <!-- KI206 -->
  <model>
    <path>Instruments/ki206/ki206.xml</path>
    <offsets>
      <x-m> 0.113 </x-m>
      <y-m> 0.006 </y-m>
      <z-m> 0.209 </z-m>
    </offsets>
  </model>

  <!-- TURN -->
  <model>
    <path>Instruments/turn/turn.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m> -0.300 </y-m>
      <z-m>  0.109 </z-m>
   </offsets>
  </model>

  <!-- ADF -->
  <model>
    <path>Instruments/adf/adf.xml</path>
    <offsets>
      <x-m> 0.114 </x-m>
      <y-m> 0.006 </y-m>
      <z-m> 0.109 </z-m>
    </offsets>
  </model>

  <!-- VSI -->
  <model>
    <path>Instruments/vsi/vsi.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.093 </y-m>
      <z-m>  0.109 </z-m>
   </offsets>
  </model>

  <!-- HI -->
  <model>
    <path>Instruments/hi/hi.xml</path>
    <offsets>
      <x-m>  0.113 </x-m>
      <y-m> -0.196 </y-m>
      <z-m>  0.109 </z-m>
    </offsets>
  </model>

  <!-- Horloge -->
  <model>
    <path>Instruments/clock/clock.xml</path>
    <offsets>
      <x-m>  0.114 </x-m>
      <y-m> -0.392 </y-m>
      <z-m>  0.112 </z-m>
   </offsets>
  </model>

  <!-- RPM -->
  <model>
    <path>Instruments/rpm/rpm.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m> -0.094 </y-m>
      <z-m>  0.014 </z-m>
    </offsets>
  </model>

  <!-- EGT -->
  <model>
    <path>Instruments/egt/egt.xml</path>
    <offsets>
      <x-m> 0.11330 </x-m>
      <y-m> 0.35400 </y-m>
      <z-m> 0.11500 </z-m>
    </offsets>
  </model>

  <!-- Magnetic Compass -->
  <model>
    <path>Instruments/MagneticCompass/MagneticCompass.xml</path>
    <offsets>
      <x-m> 0.232 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.344 </z-m>
    </offsets>
  </model>

  <!-- Température d'huile -->
  <model>
    <path>Instruments/oil-temp/oil-temp.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m> -0.171 </y-m>
      <z-m>  0.027 </z-m>
    </offsets>
  </model>

  <!-- Pression d'huile -->
  <model>
    <path>Instruments/oil-press/oil-press.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m> -0.235 </y-m>
      <z-m>  0.027 </z-m>
    </offsets>
  </model>

  <!-- Température essence -->
  <model>
    <path>Instruments/fuel-temp/fuel-temp.xml</path>
    <offsets>
      <x-m> 0.113 </x-m>
      <y-m> 0.283 </y-m>
      <z-m> 0.116 </z-m>
    </offsets>
  </model>

  <!-- Pression d'essence -->
  <model>
    <path>Instruments/fuel-press/fuel-press.xml</path>
    <offsets>
      <x-m> 0.112 </x-m>
      <y-m> 0.013 </y-m>
      <z-m> 0.030 </z-m>
    </offsets>
  </model>

  <!-- KR87 ADF receiver -->
  <model>
    <path>Instruments/kr87-adf/kr87.xml</path>
    <offsets>
      <x-m> 0.112 </x-m>
      <y-m> 0.151 </y-m>
      <z-m> 0.099 </z-m>
    </offsets>
  </model>

  <!-- KX165-->
  <model>
    <path>Instruments/kx165/kx165-1.xml</path>
    <offsets>
      <x-m> 0.103 </x-m>
      <y-m> 0.151 </y-m>
      <z-m> 0.143 </z-m>
    </offsets>
  </model>

  <!-- KT76A-->
  <model>
    <path>Instruments/KT76A/KT76A.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m>  0.143 </y-m>
      <z-m> -0.060 </z-m>
    </offsets>
  </model>

  <!-- Charge -->
  <model>
    <path>Instruments/charge/charge.xml</path>
    <offsets>
      <x-m>  0.112 </x-m>
      <y-m> -0.233 </y-m>
      <z-m> -0.050 </z-m>
    </offsets>
  </model>

  <!-- Les alertes -->
  <model>
    <path>Instruments/warning/warning.xml</path>
    <offsets>
      <x-m>  0.179 </x-m>
      <y-m> -0.130 </y-m>
      <z-m>  0.302 </z-m>
    </offsets>
  </model>

  <!-- ELT -->
  <model>
    <path>Instruments/elt/ArtexELT.xml</path>
    <offsets>
      <x-m> 0.176 </x-m>
      <y-m> 0.007 </y-m>
      <z-m> 0.293 </z-m>
    </offsets>
  </model>

  <!-- Fuel Left, Center, Right -->
  <model>
    <path>Instruments/fuel/fuelL.xml</path>
    <offsets>
      <x-m>  0.11230 </x-m>
      <y-m> -0.16500 </y-m>
      <z-m> -0.05000 </z-m>
    </offsets>
  </model>

  <model>
    <path>Instruments/fuel/fuelC.xml</path>
    <offsets>
      <x-m>  0.11230 </x-m>
      <y-m> -0.09500 </y-m>
      <z-m> -0.05000 </z-m>
    </offsets>
  </model>

  <model>
    <path>Instruments/fuel/fuelR.xml</path>
    <offsets>
      <x-m>  0.11230 </x-m>
      <y-m> -0.02800 </y-m>
      <z-m> -0.05000 </z-m>
    </offsets>
  </model>

  <!--
    ########################################
    ##            ANIMATIONS              ##
    ########################################
  -->
  <!-- Trims wheel -->
  <animation>
    <type>pick</type>
    <visible>true</visible>
    <object-name>rouetrim</object-name>
    <action>
      <button>3</button>
      <binding>
        <command>property-adjust</command>
        <property>controls/flight/elevator-trim</property>
        <step>0.01</step>
      </binding>
    </action>
    <action>
      <button>4</button>
      <binding>
        <command>property-adjust</command>
        <property>controls/flight/elevator-trim</property>
        <step>-0.01</step>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>rouetrim</object-name>
    <property>controls/flight/elevator-trim</property>
    <factor>-180</factor>
    <center>
      <x-m>  0.271 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.312 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Flaps handle -->
  <animation>
    <type>rotate</type>
    <object-name>flaps</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <center>
      <x-m>  0.718 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.299 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
