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

<!-- Turbine gauge UIZ-3 3D instrument for Tu-134 -->
<PropertyList>

  <path>uiz.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>infos</object-name>
    <object-name>face</object-name>
    <object-name>needle_1</object-name>
    <object-name>needle_2</object-name>
    <object-name>needle_3</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>infos</object-name>
    <object-name>face</object-name>
    <object-name>needle_1</object-name>
    <object-name>needle_2</object-name>
    <object-name>needle_3</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_1</object-name>
    <object-name>needle_2</object-name>
    <object-name>needle_3</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>needle_1</object-name>
    <condition>
      <not><property>/controls/engines/engine[0]/cutoff</property></not>
    </condition>
    <property>/engines/engine[0]/fuel-pressure-psi</property>
    <!--Fuel pressure Kg/cm2-->
    <factor> 0.0703 </factor>
    <interpolation>
      <entry><ind>   0 </ind><dep>   0 </dep></entry>
      <entry><ind> 100 </ind><dep> 117 </dep></entry>
    </interpolation>
    <center>
      <x-m> 0.00000 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.01045 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle_2</object-name>
    <condition>
      <not><property>/controls/engines/engine[0]/cutoff</property></not>
    </condition>
    <property>/engines/engine[0]/oilp-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 125 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00000 </x-m>
      <y-m> -0.02827 </y-m>
      <z-m> -0.01200 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle_3</object-name>
    <condition>
      <not><property>/controls/engines/engine[0]/cutoff</property></not>
    </condition>
    <property>/engines/engine[0]/oilt-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 90 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00000 </x-m>
      <y-m>  0.02839 </y-m>
      <z-m> -0.01204 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>
