<?xml version="1.0" encoding="utf-8"?>

<PropertyList>

  <path>center_mfd.ac</path>
  <animation>
    <!-- object name in ac file -->
    <object-name>center_mfd.blackbkd</object-name>
    <object-name>center_mfd.blackbkdOFF</object-name>
    <object-name>center_mfd.bt-b1</object-name>
    <object-name>center_mfd.bt-b2</object-name>
    <object-name>center_mfd.bt-b3</object-name>
    <object-name>center_mfd.bt-b4</object-name>
    <object-name>center_mfd.bt-h1</object-name>
    <object-name>center_mfd.bt-h2</object-name>
    <object-name>center_mfd.bt-h3</object-name>
    <object-name>center_mfd.bt-h4</object-name>
    <object-name>center_mfd.bt-h5</object-name>
    <object-name>center_mfd.bt-hb5</object-name>
    <object-name>center_mfd.light</object-name>
    <object-name>center_mfd.pot-l1</object-name>
    <object-name>center_mfd.pot-l2</object-name>
    <object-name>center_mfd.pot-l3</object-name>
    <object-name>center_mfd.pot-l4</object-name>
    <object-name>center_mfd.pot-r1</object-name>
    <object-name>center_mfd.pot-r2</object-name>
    <object-name>center_mfd.pot-r3</object-name>
    <object-name>center_mfd.pot-r4</object-name>
    <object-name>center_mfd.trim1</object-name>
    <object-name>center_mfd.trim2</object-name>
    <object-name>center_mfd.trim3</object-name>
  </animation>

  <animation>
    <!-- lights : illuminations -->
    <type>material</type>
    <object-name>center_mfd.light</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.1 </red>
      <green> 0.5 </green>
      <blue>  0.2 </blue>
    </emission>
  </animation>
  <animation>
    <!-- lights : flood -->
    <type>material</type>
    <object-name>center_mfd.bt-b1</object-name>
    <object-name>center_mfd.bt-b2</object-name>
    <object-name>center_mfd.bt-b3</object-name>
    <object-name>center_mfd.bt-b4</object-name>
    <object-name>center_mfd.bt-h1</object-name>
    <object-name>center_mfd.bt-h2</object-name>
    <object-name>center_mfd.bt-h3</object-name>
    <object-name>center_mfd.bt-h4</object-name>
    <object-name>center_mfd.bt-h5</object-name>
    <object-name>center_mfd.bt-hb5</object-name>
    <object-name>center_mfd.pot-l1</object-name>
    <object-name>center_mfd.pot-l2</object-name>
    <object-name>center_mfd.pot-l3</object-name>
    <object-name>center_mfd.pot-l4</object-name>
    <object-name>center_mfd.pot-r1</object-name>
    <object-name>center_mfd.pot-r2</object-name>
    <object-name>center_mfd.pot-r3</object-name>
    <object-name>center_mfd.pot-r4</object-name>
    <object-name>center_mfd.trim1</object-name>
    <object-name>center_mfd.trim2</object-name>
    <object-name>center_mfd.trim3</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.012 </red>
      <green> 0.06 </green>
      <blue>  0.02 </blue>
    </emission>
  </animation>


  <animation>
    <type>material</type>
    <object-name>center_mfd.blackbkd</object-name>
    <emission>
      <red>   1 </red>
      <green> 1 </green>
      <blue>  1 </blue>
    </emission>
  </animation>



  <!--######################## Change display mode  ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-b1</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-cycle</command>
        <property>/instrumentation/efis/mfd/display-mode</property>
        <value>APP</value>
        <value>MAP</value>
        <value>PLAN</value>
        <value>VOR</value>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>display_mode</tooltip-id>
        <label>Display type : %s</label>
        <property>/instrumentation/efis/mfd/display-mode</property>
      </binding>
    </hovered>
  </animation>

  <!--######################## Change display type  ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-b2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-cycle</command>
        <property>/instrumentation/efis/mfd/display-type</property>
        <value>CRT</value>
        <value>LCD</value>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>display_type</tooltip-id>
        <label>Display type : %s</label>
        <property>/instrumentation/efis/mfd/display-type</property>
      </binding>
    </hovered>
  </animation>

  <!--######################## Center ND modes   ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-b3</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/nd-centered</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>Center_ND_modes</tooltip-id>
        <label>Toggle center ND</label>
      </binding>
    </hovered>
  </animation>

  <!--######################## Airports ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-h1</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/arpt</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/nd/display/arpt</property>
        <property>/instrumentation/efis/inputs/arpt</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>airport</tooltip-id>
        <label>Airport</label>
      </binding>
    </hovered>
  </animation>

  <!--######################## Display way point data ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-h2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/data</property>
        <value>true</value>
        <value>false</value>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>way_point_data</tooltip-id>
        <label>Waypoint data</label>
      </binding>
    </hovered>
  </animation>

  <!--######################## Wpt ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-h3</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/wpt</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/nd/display/fix</property>
        <property>/instrumentation/efis/inputs/wpt</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>way_point</tooltip-id>
        <label>Waypoints</label>
      </binding>
    </hovered>
  </animation>

  <!--######################## Position point ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-h4</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/pos</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>/instrumentation/nd/display/vor</property>
        <property>/instrumentation/efis/inputs/pos</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>position_point</tooltip-id>
        <label>Position points</label>
      </binding>
    </hovered>
  </animation>

  <!--######################## Weather ############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-h5</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/inputs/wxr</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>weather</tooltip-id>
        <label>Weather</label>
      </binding>
    </hovered>
  </animation>

  <!-- ###################### Distance #############################-->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.trim1</object-name>
    <action>
      <button>4</button>
      <!--  scroll down -->
      <repeatable>false</repeatable>
      <binding>
        <command>property-cycle</command>
        <property>/instrumentation/efis/inputs/range-nm</property>
        <value>10</value>
        <value>20</value>
        <value>40</value>
        <value>80</value>
        <value>160</value>
        <value>320</value>
        <wrap>0</wrap>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tcas/range</property>
        <property>/instrumentation/efis/inputs/range-nm</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/nd/range</property>
        <property>/instrumentation/efis/inputs/range-nm</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>Center_ND_range</tooltip-id>
        <label>Range : %s</label>
        <property>/instrumentation/efis/inputs/range-nm</property>
      </binding>
    </hovered>
  </animation>
  <animation>
    <type>pick</type>
    <object-name>center_mfd.trim1</object-name>
    <action>
      <button>3</button>
      <!--  scroll up -->
      <repeatable>false</repeatable>
      <binding>
        <command>property-cycle</command>
        <property>/instrumentation/efis/inputs/range-nm</property>
        <value>320</value>
        <value>160</value>
        <value>80</value>
        <value>40</value>
        <value>20</value>
        <value>10</value>
        <wrap>0</wrap>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tcas/range</property>
        <property>/instrumentation/efis/inputs/range-nm</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/nd/range</property>
        <property>/instrumentation/efis/inputs/range-nm</property>
      </binding>
    </action>
  </animation>

  <!--End of Distance management -->
  <animation>
    <type>pick</type>
    <object-name>center_mfd.trim2</object-name>
    <action>
      <button>0</button>
      <binding>
        <command>property-cycle</command>
        <property>/instrumentation/efis/on</property>
        <value>1</value>
        <value>0</value>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>center-mfd-on-off</tooltip-id>
        <label>On/Off</label>
      </binding>
    </hovered>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-b4</object-name>
    <visible>true</visible>
    <action></action>
  </animation>
  
    <animation>
    <type>pick</type>
    <object-name>center_mfd.bt-b4</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <binding>
        <command>property-toggle</command>
        <property>/instrumentation/efis/mfd/true-north</property>
      </binding>
    </action>
    <hovered>
      <binding>
        <command>set-tooltip</command>
        <tooltip-id>True_North_Toggle</tooltip-id>
        <label>Toggle TRUE/MAG heading</label>
      </binding>
    </hovered>
  </animation>

  <animation>
    <type>select</type>
    <object-name>center_mfd.blackbkdOFF</object-name>
    <condition>
      <or>
        <not><property>/instrumentation/efis/on</property></not>
        <less-than>
          <property>/systems/electrical/volts</property>
          <value>12</value>
        </less-than>
      </or>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>center_mfd.blackbkd</object-name>
    <condition>
      <and>
        <property>/instrumentation/efis/Mode</property>
        <property>/instrumentation/efis/on</property>
        <greater-than>
          <property>/systems/electrical/volts</property>
          <value>12</value>
        </greater-than>
      </and>
    </condition>
  </animation>

  <!-- MFD Center border-->
  <model>
    <name>center_mfd.MFD-Screen</name>
    <path>Aircraft/Mirage-2000/Models/Interior/Instruments/center_mfd/Old/MFD3d.xml</path>
    <condition>
      <and>
        <not><property>/instrumentation/efis/Mode</property></not>
        <property>/instrumentation/efis/on</property>
        <greater-than>
          <property>/systems/electrical/volts</property>
          <value>12</value>
        </greater-than>
      </and>
    </condition>
    <offsets>
      <x-m>0.0115</x-m>
      <y-m>0.000</y-m>
      <z-m>-0.015</z-m>
    </offsets>
  </model>

  <animation>
    <type>scale</type>
    <object-name>center_mfd.MFD-Screen</object-name>
    <condition>
      <and>
        <not><property>/instrumentation/efis/Mode</property></not>
        <property>/instrumentation/efis/on</property>
      </and>
    </condition>
    <x-offset>1.00</x-offset>
    <y-offset>0.90</y-offset>
    <z-offset>0.87</z-offset>
  </animation>


  <!--
================================================================================
                                                                        TEXT OSG
================================================================================
  -->
  <text>
    <name>center_mfd.textosg</name>
    <type type="string">literal</type>
    <text type="string">Center MFD</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.016</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.06</max-height>
    <max-width>0.08</max-width>
    <font-resolution>
      <width type="int">64</width>
      <height type="int">64</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m>-3.48</x-m>
      <y-m>0</y-m>
      <z-m>-0.41</z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <object-name>center_mfd.textosg</object-name>
    <emission>
      <red>1</red>
      <green>0.2</green>
      <blue>0.2</blue>
    </emission>
  </animation>
  <animation>
    <type>select</type>
    <object-name>center_mfd.textosg</object-name>
    <condition>
      <property>sim/panel-hotspots</property>
    </condition>
  </animation>
</PropertyList>
