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

<PropertyList>

  <path>revi.ac</path>

  <animation>
    <object-name>casing</object-name>
    <object-name>shadeholder</object-name>
    <object-name>crosshair</object-name>

    <object-name>sunshade</object-name>
    <object-name>lens2</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>casing</object-name>
    <object-name>shadeholder</object-name>
    <object-name>crosshair</object-name>
    <object-name>sunshade</object-name>
    <object-name>lens2</object-name>
  </animation>

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

  <animation>
    <type>material</type>
    <object-name>crosshair</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>rotate</type>
    <object-name>casing</object-name>
    <object-name>shadeholder</object-name>
    <object-name>sunshade</object-name>
    <object-name>lens2</object-name>
    <object-name>crosshair</object-name>
    <property>controls/armament/revi/position-norm</property>
    <factor> 90 </factor>
    <center>
      <x-m>  3.040 </x-m>
      <y-m> -0.033 </y-m>
      <z-m> -0.043 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>casing</object-name>
    <object-name>shadeholder</object-name>
    <object-name>sunshade</object-name>
    <object-name>lens2</object-name>
    <object-name>crosshair</object-name>
    <property>controls/armament/revi/position-norm</property>
    <factor> -90 </factor>
    <center>
      <x-m>  0.000 </x-m>
      <y-m>  0.005 </y-m>
      <z-m> -0.004 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>casing</object-name>
    <object-name>shadeholder</object-name>
    <object-name>sunshade</object-name>
    <object-name>lens2</object-name>
    <object-name>crosshair</object-name>
    <property>controls/armament/revi/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.048 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 2 </y>
      <z> 2 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>shadeholder</object-name>
    <object-name>sunshade</object-name>
    <property>controls/armament/revi/shadeup</property>
    <factor>65.0</factor>
    <center>
      <x-m>  0.000 </x-m>
      <y-m>  0.005 </y-m>
      <z-m> -0.004 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>crosshair</object-name>
    <condition>
      <!-- <property>controls/armament/master-arm</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
    </condition>
  </animation>

</PropertyList>
