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

<PropertyList>

<!-- Compensation for local coordinates of particle system -->
<animation>
  <type>rotate</type>
  <object-name>flightFireSmoke</object-name>
  <property>orientation/pitch-deg</property>
  <axis>
    <x>0</x>
    <y>-1</y>
    <z>0</z>
  </axis>
</animation>
<animation>
  <type>rotate</type>
  <object-name>flightFireSmoke</object-name>
  <property>orientation/roll-deg</property>
  <axis>
    <x>1</x>
    <y>0</y>
    <z>0</z>
  </axis>
</animation>


<particlesystem>
   <name>flightFireSmoke</name>
   <texture>blacksmoke.png</texture>
   <emissive>false</emissive>
   <lighting>false</lighting>

   <offsets>
     <x-m>0</x-m>
     <y-m>0</y-m>
     <z-m>0</z-m>
     <pitch-deg>0</pitch-deg>
     <roll-deg>0</roll-deg>
   </offsets>

   <attach>world</attach>
   
   <placer>
     <type>point</type>
   </placer>
   
    <shooter>
      <theta-min-deg>90</theta-min-deg>
      <theta-max-deg>92</theta-max-deg>
      <phi-min-deg>-1.5</phi-min-deg>
      <phi-max-deg>1.5</phi-max-deg>
      <speed-mps>
	    <expression>
		 <sum>
		 <product>
		  <property>engines/engine[1]/rpm</property>
		  <value>0.1</value>
		 </product>
		 <value>1</value>
		 </sum>
		</expression>
       <spread>2</spread>
     </speed-mps>
      <rotation-speed>
        <x-min-deg-sec>0</x-min-deg-sec>
        <y-min-deg-sec>0</y-min-deg-sec>
        <z-min-deg-sec>0</z-min-deg-sec>
        <x-max-deg-sec>0</x-max-deg-sec>
        <y-max-deg-sec>0</y-max-deg-sec>
        <z-max-deg-sec>0</z-max-deg-sec>
      </rotation-speed>
    </shooter>
   
   <counter>
     <particles-per-sec>
       <value>10</value>
       <spread>4</spread>
     </particles-per-sec>
   </counter>
   
   <align>billboard</align>
   
   <particle>
     <start>
       <color>
         <red>
           <value>0.0</value>
         </red>
         <green>
           <value>0.0</value>
         </green>
         <blue>
           <value>0.0</value>
         </blue>
         <alpha>
		   <expression>
		    <sum>
			 <sum>
			 <product>
			  <property>engines/engine[1]/rpm</property>
			  <value>0.00045</value>
			 </product>
			 <value>-0.01</value>
			</sum>
			 <product>
			  <property>sim/multiplay/generic/float[5]</property>
		      <value>0.8</value>
			 </product>
			</sum>
		   </expression>
         </alpha>
       </color>
       <size>
	    <expression>
		 <sum>
		  <product>
		   <property>sim/damage/damage-zones/engine[1]/damage-norm</property>
		   <value>0.95</value>
		  </product>
		  <product>
		   <property>engines/engine[1]/rpm</property>
		   <value>0.008</value>
		  </product>
		 </sum>
		</expression>
       </size>
     </start>
     <end>
       <color>
         <red>
           <value>0</value>
         </red>
         <green>
           <value>0</value>
         </green>
         <blue>
           <value>0</value>
         </blue>
         <alpha>
           <value>0</value>
         </alpha>
       </color>
       <size>
	    <expression>
		 <product>
          <property>sim/multiplay/generic/float[5]</property>
		  <value>15.0</value>
		 </product>
		 </expression>
       </size>
     </end>
     <life-sec>
       <value>10</value>
     </life-sec>
     <mass-kg>150.0</mass-kg>
     <radius-m>0.1</radius-m>
   </particle>
   
   <program>
     <fluid>air</fluid>
     <gravity type="bool">false</gravity>
     <wind type="bool">true</wind>
   </program>
   
</particlesystem>

</PropertyList>
