<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ########################################################################
     #    Based on (C) 2006 by Yurik V. Nikiforoff - port for FGFS,  FDM,   #
     # 2d & 3d instruments, animations, systems and over.                   #
     #     yurik@megasignal.com                                             #
     #                                                                      #
     # Updated by Helijah June    2016                                      #
     # Updated by Helijah January 2023                                      #
     ########################################################################
-->

<!-- Air speed indicator 3D instrument for Tu-154 -->
<PropertyList>

  <path>ias.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>needle2</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>needle2</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>

  <!-- Internal instruments lighting -->
  <animation>
    <type>material</type>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>needle2</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>

  <!--Needles-->
  <animation>
    <type>rotate</type>
    <object-name>needle2</object-name>
    <property>tu154/instrumentation/diss/groundspeed-kmh</property>
    <interpolation>
      <entry><ind>    0 </ind><dep> 180 </dep></entry>
      <entry><ind>  400 </ind><dep> 196 </dep></entry>
      <entry><ind>  500 </ind><dep> 244 </dep></entry>
      <entry><ind>  800 </ind><dep> 383 </dep></entry>
      <entry><ind> 1000 </ind><dep> 476 </dep></entry>
      <entry><ind> 1100 </ind><dep> 527 </dep></entry>
    </interpolation>
    <center>
      <x-m> 0.00000 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.00284 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle</object-name>
    <property>instrumentation/airspeed-indicator/indicated-speed-kt</property>
    <interpolation>
      <entry><ind>   0.00 </ind><dep>   5 </dep></entry>
      <entry><ind>  54.00 </ind><dep>  23 </dep></entry>
      <entry><ind> 108.00 </ind><dep>  75 </dep></entry>
      <entry><ind> 215.98 </ind><dep> 181 </dep></entry>
      <entry><ind> 323.97 </ind><dep> 274 </dep></entry>
      <entry><ind> 404.96 </ind><dep> 340 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>
