<?xml version="1.0"?>

<PropertyList>

 <path>AI.ac</path>

  <animation>
    <type>range</type>
    <min-m>  0 </min-m>
    <max-m> 45 </max-m>
  </animation>

 <animation>
  <type>material</type>
  <object-name>Aircraft</object-name>
  <object-name>CagedIndicator</object-name>
  <object-name>Pitch</object-name>
  <object-name>Roll</object-name>
  <object-name>RollReference</object-name>
  <condition>
   <not><property>/sim/rendering/rembrandt/enabled</property></not>
  </condition>
  <emission>
   <red>   0.50 </red>
   <green> 0.25 </green>
   <blue>  0.25 </blue>
   <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
  </emission>
 </animation>

  <animation>
    <name>BackLightAnimation</name>
    <type>light</type>
    <light-type>spot</light-type>
    <object-name>backlight</object-name>
    <position>
      <x> 0.004 </x>
      <y> 0.00 </y>
      <z>-0.05 </z>
    </position>
    <direction>
      <x> -1.0 </x>
      <y>  0.0 </y>
      <z>  1.0 </z>
    </direction>
    <ambient>
      <r>  0.0 </r>
      <g>  0.0 </g>
      <b>  0.0 </b>
      <a>  1.0 </a>
    </ambient>
    <diffuse>
      <r>  0.5 </r>
      <g>  0.404 </g>
      <b>  0.2 </b>
      <a>  1.0 </a>
    </diffuse>
    <specular>
      <r>  0.0 </r>
      <g>  0.0 </g>
      <b>  0.0 </b>
      <a>  1.0 </a>
    </specular>
    <dim-factor>
      <property>systems/electrical/outputs/instrument-lights</property>
      <!-- optional begin -->
      <factor>0.3</factor>
      <offset>0</offset>
      <min>0</min>
      <max>1</max>
      <!-- optional end -->
    </dim-factor>
    <attenuation>
      <c>  0.2 </c>
      <l>  0.2 </l>
      <q>  0.4 </q>
    </attenuation>
    <exponent>  8.0 </exponent>
    <cutoff>   48.0   </cutoff>
    <near-m>    0.0   </near-m>
    <far-m>     0.09 </far-m>
  </animation>

  <animation>
    <type>select</type>
    <object-name>BackLightAnimation</object-name>
    <condition>
      <and>
        <property>controls/electric/battery-switch</property>
        <property>sim/rendering/rembrandt/enabled</property>
      </and>
    </condition>
  </animation>

 <animation>
  <name>Pitch</name>
  <type>translate</type>
  <object-name>Pitch</object-name>
  <property>instrumentation/attitude-indicator/indicated-pitch-deg</property>
  <factor>-0.0007</factor>
  <min-m>-0.01575</min-m>
  <max-m>0.01575</max-m>
  <axis>
   <x>0.0</x>
   <y>0.0</y>
   <z>1.0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Roll</object-name>
    <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
  <factor>-1</factor>
  <axis>
   <x>-1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Pitch</object-name>
    <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
  <factor>-0.5</factor>
  <axis>
   <x>-1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>

 <animation>
  <type>pick</type>
  <visible>false</visible>
  <object-name>AdjustCCW</object-name>
  <action>
   <button>0</button>
   <repeatable>true</repeatable>
   <binding>
    <command>property-adjust</command>
    <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
    <step type="double">-0.5</step>
   </binding>          
  </action>
 </animation>

 <animation>
  <type>pick</type>
  <visible>false</visible>
  <object-name>AdjustCW</object-name>
  <action>
   <button>0</button>
   <repeatable>true</repeatable>
   <binding>
    <command>property-adjust</command>
    <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
    <step type="double">0.5</step>
   </binding>          
  </action>
 </animation>

 <animation>
  <type>pick</type>
  <visible>true</visible>
  <object-name>CageKnob</object-name>
  <action>
   <button>0</button>
   <repeatable>false</repeatable>
   <binding>
    <command>property-toggle</command>
    <property>instrumentation/attitude-indicator/caged</property>
    <value type="bool">true</value>
   </binding>          
  </action>
 </animation>

 <animation>
  <type>select</type>
  <object-name>CagedIndicator</object-name>
  <condition>
   <property>instrumentation/attitude-indicator/caged</property>
  </condition>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>CageKnob</object-name>
  <property>instrumentation/attitude-indicator/caged</property>
  <factor>0.005</factor>
  <axis>
   <x>1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>

</PropertyList>


