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

<PropertyList>

  <path>combustion.ac</path>

  <animation>
    <!-- Objets transparents -->
    <object-name>flamme0</object-name>
    <object-name>flamme1</object-name>
    <object-name>flamme2</object-name>
    <object-name>flamme3</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>flamme0</object-name>
    <object-name>flamme1</object-name>
    <object-name>flamme2</object-name>
    <object-name>flamme3</object-name>
  </animation>

  <!-- MATERIAL LUMINOSO DURANTE LA NOCHE -->
  <material>
    <name>Transparent</name>
    <night_lights>../Classic/flame.png</night_lights>
    <ambient>0.2 0.2 0.2 1.0</ambient>
    <diffuse>0.8 0.8 0.8 1.0</diffuse>
    <specular>1.0 1.0 1.0 1.0</specular>
    <shininess>80</shininess>
    <emission>1.0 1.0 1.0 1.0</emission>
    <lighting>
      <type>night</type>
      <brightness>5</brightness>
      <radius>50.0</radius>
    </lighting>
  </material>

  <animation>
    <type>select</type>
    <object-name>flamme0</object-name>
    <condition>
      <greater-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.01</value>
      </greater-than>
      <less-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.3</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>flamme1</object-name>
    <condition>
      <greater-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.31</value>
      </greater-than>
      <less-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.7</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>flamme2</object-name>
    <condition>
      <greater-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.71</value>
      </greater-than>
      <less-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.8</value>
      </less-than>
    </condition>
  </animation>

  <!-- AÑADE CONDICION GREATER-THAN PARA ACTIVAR EL AFTERBURNER -->
  <animation>
    <type>select</type>
    <object-name>flamme3</object-name>
    <condition>
      <greater-than>
        <property>controls/engines/engine[0]/throttle</property>
        <value>0.81</value>
      </greater-than>
    </condition>
  </animation>

</PropertyList>
