<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    KI-256 FlightDirector Indicator
    Based on Syd Adams KI-256
-->

<PropertyList>

  <path>ki256.ac</path>

  <animation>
    <object-name>KI256.fond</object-name>
    <object-name>KI256.back</object-name>
    <object-name>KI256.ring</object-name>
    <object-name>KI256.pitch</object-name>
    <object-name>KI256.DH</object-name>
    <object-name>KI256.DH1</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <object-name>KI256.markers</object-name>
    <object-name>KI256.plane</object-name>
    <object-name>KI256.FDbars</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>KI256.fond</object-name>
    <object-name>KI256.back</object-name>
    <object-name>KI256.ring</object-name>
    <object-name>KI256.pitch</object-name>
    <object-name>KI256.DH</object-name>
    <object-name>KI256.DH1</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <object-name>KI256.markers</object-name>
    <object-name>KI256.plane</object-name>
    <object-name>KI256.FDbars</object-name>
    <object-name>KI256.vitre</object-name>
  </animation>

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

  <animation>
    <type>material</type>
    <object-name>KI256.ring</object-name>
    <object-name>KI256.pitch</object-name>
    <object-name>KI256.DH</object-name>
    <object-name>KI256.DH1</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <object-name>KI256.markers</object-name>
    <object-name>KI256.plane</object-name>
    <object-name>KI256.FDbars</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>

  <!-- KI-256 -->
  <animation>
    <type>rotate</type>
    <object-name>KI256.ring</object-name>
    <object-name>KI256.pitch</object-name>
    <property>orientation/roll-deg</property>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>KI256.pitch</object-name>
    <object-name>KI256.FDbars</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <property>orientation/pitch-deg</property>
    <interpolation>
      <entry><ind> -30 </ind><dep>  0.0120 </dep></entry>
      <entry><ind>   0 </ind><dep>  0.0000 </dep></entry>
      <entry><ind>  30 </ind><dep> -0.0120 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI256.DH1</object-name>
    <condition>
      <property>instrumentation/kfc200/dh-alert</property>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI256.FDbars</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <condition>
      <property>instrumentation/kfc200/fd-on</property>
    </condition>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>KI256.FDbars</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <property>autopilot/settings/target-pitch-deg</property>
    <factor>0.0004</factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI256.FDbars</object-name>
    <object-name>KI256.Lpivot</object-name>
    <object-name>KI256.Rpivot</object-name>
    <property>autopilot/internal/target-roll-deg</property>
    <center>
      <x-m> 0.004 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.000 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI256.Lpivot</object-name>
    <property>autopilot/internal/target-roll-deg</property>
    <center>
      <x-m>  0.000 </x-m>
      <y-m> -0.023 </y-m>
      <z-m> -0.003 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI256.Rpivot</object-name>
    <property>autopilot/internal/target-roll-deg</property>
    <center>
      <x-m>  0.000 </x-m>
      <y-m>  0.023 </y-m>
      <z-m> -0.003 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
