<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- #############################################################################
     #    (C) 2007 by Yurik V. Nikiforoff                                        #
     #    yurik@megasignal.com                                                   #
     #    Jul 2007                                                               #
     #                                                                           #
     #    Updated BARANGER Emmanuel 2015                                         #
     #    Updated BARANGER Emmanuel 09/2022                                      #
     #    Updated BARANGER Emmanuel 04/2023                                      #
     #############################################################################
     Radio altimeter 3D instrument for Tu-154
-->
<PropertyList>

  <path>rv-5m.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>index</object-name>
    <object-name>flag</object-name>
    <object-name>lamp</object-name>
    <object-name>hs</object-name>

    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>index</object-name>
    <object-name>flag</object-name>
    <object-name>lamp</object-name>
    <object-name>hs</object-name>
    <object-name>vitre</object-name>
  </animation>

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

  <animation>
    <type>material</type>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>index</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>

  <animation>
    <type>material</type>
    <object-name>flag</object-name>
    <object-name>lamp</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <red>   2 </red>
      <green> 2 </green>
      <blue>  2 </blue>
    </emission>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lamp</object-name>
    <condition>
      <greater-than>
        <property>instrumentation/altimeter/decision-height</property>
        <value>10</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>flag</object-name>
    <condition>
      <less-than>
        <property>position/altitude-agl-ft</property>
        <property>instrumentation/altimeter/decision-height</property>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle</object-name>
    <property>position/altitude-agl-ft</property>
    <interpolation>
      <entry><ind>    0.000 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  164.000 </ind><dep>  75.0 </dep></entry>
      <entry><ind>  186.850 </ind><dep>  91.5 </dep></entry>
      <entry><ind>  262.467 </ind><dep> 123.0 </dep></entry>
      <entry><ind>  328.084 </ind><dep> 155.0 </dep></entry>
      <entry><ind>  656.168 </ind><dep> 179.0 </dep></entry>
      <entry><ind>  984.252 </ind><dep> 203.0 </dep></entry>
      <entry><ind> 1312.336 </ind><dep> 226.0 </dep></entry>
      <entry><ind> 1640.420 </ind><dep> 251.0 </dep></entry>
      <entry><ind> 2296.588 </ind><dep> 300.0 </dep></entry>
      <entry><ind> 2624.672 </ind><dep> 325.0 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>index</object-name>
    <property>instrumentation/altimeter/decision-height</property>
    <interpolation>
      <entry><ind>    0.000 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  164.000 </ind><dep>  75.0 </dep></entry>
      <entry><ind>  186.850 </ind><dep>  91.5 </dep></entry>
      <entry><ind>  262.467 </ind><dep> 123.0 </dep></entry>
      <entry><ind>  328.084 </ind><dep> 155.0 </dep></entry>
      <entry><ind>  656.168 </ind><dep> 179.0 </dep></entry>
      <entry><ind>  984.252 </ind><dep> 203.0 </dep></entry>
      <entry><ind> 1312.336 </ind><dep> 226.0 </dep></entry>
      <entry><ind> 1640.420 </ind><dep> 251.0 </dep></entry>
      <entry><ind> 2296.588 </ind><dep> 300.0 </dep></entry>
      <entry><ind> 2624.672 </ind><dep> 325.0 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>knob</type>
    <object-name>hs</object-name>
    <visible>false</visible>
    <action>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/altimeter/decision-height</property>
        <factor>16.404199475</factor>
        <min>0</min>
        <max>2500</max>
      </binding>
    </action>
  </animation>

</PropertyList>
