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

<PropertyList>

  <path>Console.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>Console</object-name>
    <object-name>Console_Panels</object-name>
    <object-name>Panels_Viti</object-name>
    <object-name>Console_Buttons</object-name>
    <object-name>Console_Display</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../Effects/Glass/glass</inherits-from>
    <object-name>vitres</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>Console_Buttons</object-name>
    <object-name>Console_Display</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <!-- ALL INSTRUMENTATION -->
  <!-- ADF -->
  <model>
    <path>../Panel/Instruments/adf1/rmi.xml</path>
    <offsets>
      <x-m>  0.28316 </x-m>
      <y-m> -0.23466 </y-m>
      <z-m>  0.52000 </z-m>
    </offsets>
  </model>

  <!-- ALT -->
  <model>
    <path>../Panel/Instruments/alt2/alt2.xml</path>
    <offsets>
      <x-m>  0.28317 </x-m>
      <y-m> -0.13879 </y-m>
      <z-m>  0.52000 </z-m>
    </offsets>
  </model>

  <!-- CRT -->
  <model>
    <path>../Panel/Instruments/CRT/CRT.xml</path>
    <offsets>
      <x-m>  0.29769 </x-m>
      <y-m> -0.14937 </y-m>
      <z-m>  0.35041 </z-m>
    </offsets>
  </model>

  <!-- RADAR -->
  <model>
    <path>../Panel/Instruments/Radar/Radar.xml</path>
    <offsets>
      <x-m>  0.291 </x-m>
      <y-m> -0.149 </y-m>
      <z-m>  0.074 </z-m>
    </offsets>
    <overlay>
      <animation>
        <type>scale</type>
        <property>constants/un</property>
        <x-offset> 1.360 </x-offset>
        <y-offset> 1.360 </y-offset>
        <z-offset> 1.360 </z-offset>
      </animation>
    </overlay>
  </model>

  <model>
    <path>../Panel/Instruments/Radar/map-txt1.xml</path>
    <offsets>
      <x-m>  0.291 </x-m>
      <y-m> -0.149 </y-m>
      <z-m>  0.072 </z-m>
    </offsets>
  </model>

  <!-- CONSOLE PANELS DISPLAY TEXT -->
  <text>
    <name>APT</name>
    <font>lcd.txf</font>
    <character-size type="double">0.01</character-size>
    <offsets>
      <x-m> 0.293 </x-m>
      <y-m> 0.069 </y-m>
      <z-m> 0.105 </z-m>
    </offsets>
    <axis-alignment>yz-plane</axis-alignment>
    <type>string</type>
    <truncate type="bool">false</truncate>
    <property>sim/airport/closest-airport-id</property>
    <alignment>left-center</alignment>
  </text>

  <animation>
    <type>material</type>
    <object-name>APT</object-name>
    <ambient>
      <red>   1.0 </red>
      <green> 1.0 </green>
      <blue>  1.0 </blue>
    </ambient>
    <diffuse>
      <red>   0.3 </red>
      <green> 0.3 </green>
      <blue>  0.3 </blue>
    </diffuse>
    <emission>
      <red>   0.8 </red>
      <green> 0.8 </green>
      <blue>  0.8 </blue>
    </emission>
  </animation>

  <!-- BUTTONS (TEST) -->
<!--
  <animation>
    <type>select</type>
    <object-name>null</object-name>
    <condition>
      <property>sim/model/show-null</property>
    </condition>
  </animation>

  <animation>
    <type>pick</type>
    <visible>true</visible>
    <object-name>Console_Buttons</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-toggle</command>
        <property>sim/model/show-null</property>
      </binding>
    </action>
  </animation>
-->

</PropertyList>
