<?xml version="1.0" encoding="UTF-8"?>

<!-- KI 206 
Bendix/King VOR / LOC / Glideslope Indicator
Syd Adams
-->
<PropertyList>

  <path>ki206.ac</path>

  <animation>
    <object-name>KI206.gsflag</object-name>
    <object-name>KI206.toflag</object-name>
    <object-name>KI206.fromflag</object-name>
    <object-name>KI206.navflag</object-name>
    <object-name>KI206.face</object-name>
    <object-name>KI206card</object-name>
    <object-name>KI206.locneedle</object-name>
    <object-name>KI206.gsneedle</object-name>
    <object-name>KI206.knob</object-name>

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

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

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>KI206.gsflag</object-name>
    <object-name>KI206.toflag</object-name>
    <object-name>KI206.fromflag</object-name>
    <object-name>KI206.navflag</object-name>
    <object-name>KI206.face</object-name>
    <object-name>KI206card</object-name>
    <object-name>KI206.locneedle</object-name>
    <object-name>KI206.gsneedle</object-name>
    <object-name>KI206.knob</object-name>
    <emission>
      <red>   1.0 </red>
      <green> 0.2 </green>
      <blue>  0.0 </blue>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <factor-prop>/sim/model//material/instruments/factor</factor-prop>
    </emission>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI206.navflag</object-name>
    <condition>
      <or>
        <not>
          <property>/instrumentation/nav/data-is-valid</property>
        </not>
        <less-than>
          <property>/systems/electrical/outputs/nav</property>
          <value>0.1</value>
        </less-than>
        <not>
          <property>/instrumentation/nav/in-range</property>
        </not>
      </or>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI206.gsflag</object-name>
    <condition>
      <or>
        <not>
          <property>/instrumentation/nav/has-gs</property>
        </not>
        <less-than>
          <property>/systems/electrical/outputs/nav</property>
          <value>0.1</value>	
        </less-than>
        <greater-than>
          <property>/instrumentation/nav/in-range</property>
          <value>30000</value>
        </greater-than>
      </or>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI206.toflag</object-name>
    <condition>
      <property>/instrumentation/nav/to-flag</property>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>KI206.fromflag</object-name>
    <condition>
      <property>/instrumentation/nav/from-flag</property>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>KI206card</object-name>
    <property>/instrumentation/nav/radials/selected-deg</property>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>KI206.locneedle</object-name>
    <property>/instrumentation/nav/heading-needle-deflection</property>
    <interpolation>
      <entry><ind> -10 </ind><dep> -0.0113 </dep></entry>
      <entry><ind>   0 </ind><dep>  0.0000 </dep></entry>
      <entry><ind>  10 </ind><dep>  0.0113 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
 
  <animation>
    <type>translate</type>
    <object-name>KI206.gsneedle</object-name>
    <property>/instrumentation/nav/gs-needle-deflection</property>
    <interpolation>
      <entry><ind> -9999 </ind><dep> -0.0113 </dep></entry>
      <entry><ind>   -10 </ind><dep> -0.0113 </dep></entry>
      <entry><ind>     0 </ind><dep>  0.0000 </dep></entry>
      <entry><ind>    10 </ind><dep>  0.0113 </dep></entry>
      <entry><ind>  9999 </ind><dep>  0.0113 </dep></entry>
    </interpolation>
    <axis>
      <x>0.0</x>
      <y>0.0</y>
      <z>1.0</z>
    </axis>
  </animation>

    <animation>
      <type>rotate</type>
      <object-name>KI206.knob</object-name>
      <property>/instrumentation/nav/radials/selected-deg</property>
      <center>
        <x-m>  0.000 </x-m>
        <y-m> -0.031 </y-m>
        <z-m> -0.031 </z-m>
      </center>
      <axis>
        <x> -1 </x>
        <y>  0 </y>
        <z>  0 </z>
      </axis>
   </animation>

   <animation>
     <type>pick</type>
     <object-name>KI206.knob</object-name>
     <action>
       <button>0</button>
       <repeatable>true</repeatable>
       <interval-sec>0.1</interval-sec>
       <binding>
            <condition>
                <not>
                    <property>devices/status/keyboard/shift</property>
                </not>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>1</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>devices/status/keyboard/shift</property>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>5</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>instrumentation/nav/slaved-to-gps</property>
            </condition>
            <command>property-assign</command>
            <property>instrumentation/gps/tracking-bug</property>
            <property>instrumentation/nav/radials/selected-deg</property>
       </binding>
     </action>
   </animation>

   <animation>
     <type>pick</type>
     <object-name>KI206.knob</object-name>
     <action>
       <button>3</button>
       <binding>
            <condition>
                <not>
                    <property>devices/status/keyboard/shift</property>
                </not>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>1</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>devices/status/keyboard/shift</property>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>5</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>instrumentation/nav/slaved-to-gps</property>
            </condition>
            <command>property-assign</command>
            <property>instrumentation/gps/tracking-bug</property>
            <property>instrumentation/nav/radials/selected-deg</property>
       </binding>
     </action>
   </animation>

   <animation>
     <type>pick</type>
     <object-name>KI206.knob</object-name>
     <action>
       <button>1</button>
       <repeatable>true</repeatable>
       <interval-sec>0.1</interval-sec>
       <binding>
            <condition>
                <not>
                    <property>devices/status/keyboard/shift</property>
                </not>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>-1</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>devices/status/keyboard/shift</property>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>-5</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>instrumentation/nav/slaved-to-gps</property>
            </condition>
            <command>property-assign</command>
            <property>instrumentation/gps/tracking-bug</property>
            <property>instrumentation/nav/radials/selected-deg</property>
       </binding>
     </action>
   </animation>

   <animation>
     <type>pick</type>
     <object-name>KI206.knob</object-name>
     <action>
       <button>4</button>
       <binding>
            <condition>
                <not>
                    <property>devices/status/keyboard/shift</property>
                </not>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>-1</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>devices/status/keyboard/shift</property>
            </condition>
            <command>property-adjust</command>
            <property>instrumentation/nav/radials/selected-deg</property>
            <step>-5</step>
            <min>0</min>
            <max>360</max>
            <wrap>1</wrap>
       </binding>
       <binding>
            <condition>
                <property>instrumentation/nav/slaved-to-gps</property>
            </condition>
            <command>property-assign</command>
            <property>instrumentation/gps/tracking-bug</property>
            <property>instrumentation/nav/radials/selected-deg</property>
       </binding>
     </action>
   </animation>

</PropertyList>
