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

<PropertyList>

  <path>combustion.ac</path>
  <nopreview/>

  <animation>
    <object-name>ExternalFlame</object-name>
  </animation>

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

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>ExternalFlame</object-name>
  </effect>

  <animation>
    <type>select</type>
    <object-name>ExternalFlame</object-name>
    <condition>
      <greater-than>
        <!-- /engines/engine[0]/afterburner -->
        <property>sim/multiplay/generic/float[5]</property>
        <value>0.2</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>scale</type>
    <object-name>ExternalFlame</object-name>
    <!-- /controls/engines/engine[0]/throttle -->
    <property>sim/multiplay/generic/float[6]</property>
    <x-min>    0.5 </x-min>
    <y-min>    1.0 </y-min>
    <z-min>    1.0 </z-min>
    <x-factor> 1.5 </x-factor>
    <y-factor> 1.0 </y-factor>
    <z-factor> 1.0 </z-factor>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>ExternalFlame</object-name>
    <!-- /engines/engine[0]/n1 -->
    <property>sim/multiplay/generic/float[2]</property>
    <factor> 240 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- ############### NIGHT FLAMME ####################-->
  <animation>
    <type>material</type>
    <object-name>ExternalFlame</object-name>
    <condition>
      <greater-than>
        <!-- <property>sim/time/sun-angle-rad</property> -->
        <property>sim/multiplay/generic/float[7]</property>
        <value>1.7</value>
      </greater-than>
    </condition>
    <emission>
      <red>   0.95 </red>
      <green> 0.90 </green>
      <blue>  1.00 </blue>
    </emission>
  </animation>

  <!-- ############### DAY FLAMME ####################-->
  <animation>
    <type>material</type>
    <object-name>ExternalFlame</object-name>
    <condition>
      <less-than>
        <!-- <property>sim/time/sun-angle-rad</property> -->
        <property>sim/multiplay/generic/float[7]</property>
        <value>1.45</value>
      </less-than>
    </condition>
    <emission>
      <red>   1 </red>
      <green> 1 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <!-- ############### DUSK FLAMME ####################-->
  <animation>
    <type>material</type>
    <object-name>ExternalFlame</object-name>
    <condition>
      <and>
        <less-than>
          <!-- <property>sim/time/sun-angle-rad</property> -->
          <property>sim/multiplay/generic/float[7]</property>
          <value>1.7</value>
        </less-than>
        <greater-than>
          <!-- <property>sim/time/sun-angle-rad</property> -->
          <property>sim/multiplay/generic/float[7]</property>
          <value>1.45</value>
        </greater-than>
      </and>
    </condition>
    <emission>
      <red>   1.00 </red>
      <green> 0.20 </green>
      <blue>  0.00 </blue>
    </emission>
  </animation>

</PropertyList>
