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

<PropertyList>

  <particlesystem>

    <name>Effects</name>
    <texture>dirt.png</texture>
    <emissive>false</emissive>
    <lighting>false</lighting>

    <attach>world</attach>

    <placer>
      <type>point</type>
    </placer>

    <condition>
      <not>
        <property>sim/paused</property>
      </not>
      <not>
        <property>sim/crashed</property>
      </not>
      <less-than>
        <!-- <property>position/gear-agl-ft</property> -->
        <property>sim/multiplay/generic/float[2]</property>
        <value>30</value>
      </less-than>
      <greater-than>
        <property>rotors/tail/rpm</property>
        <value>20</value>
      </greater-than>
    </condition>

    <shooter>
      <theta-min-deg>   0.0 </theta-min-deg>
      <theta-max-deg> 360.0 </theta-max-deg>
      <phi-min-deg>    -0.1 </phi-min-deg>
      <phi-max-deg>     0.1 </phi-max-deg>
      <speed-mps>
        <property>rotors/tail/rpm</property>
        <factor> 0.1 </factor>
        <spread> 2.0 </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>
        <!-- <property>position/gear-agl-ft</property> -->
        <property>sim/multiplay/generic/float[2]</property>
        <factor>    -40 </factor>
        <offset-m> 2000 </offset-m>
      </particles-per-sec>
    </counter>

    <align>billboard</align>

    <particle>
      <start>
        <color>
          <red><value>   0.6 </value></red>
          <green><value> 0.6 </value></green>
          <blue><value>  0.6 </value></blue>
          <alpha>
            <property>rotors/tail/rpm</property>
            <factor> 0.00004 </factor>
            <max>    0.02000 </max>
          </alpha>
        </color>
        <size><value>0.8</value></size>
      </start>
      <end>
        <color>
          <red><value>   0.6 </value></red>
          <green><value> 0.6 </value></green>
          <blue><value>  0.6 </value></blue>
          <alpha>
            <property>rotors/tail/rpm</property>
            <factor> 0.0002 </factor>
            <max>    0.0400 </max>
          </alpha>
        </color>			
        <size>
          <!-- <property>position/gear-agl-ft</property> -->
          <property>sim/multiplay/generic/float[2]</property>
          <factor> 0.15 </factor>
          <min> 0.8 </min>
          <max> 1.5 </max>
        </size>
      </end>

      <life-sec>
        <value>0.27</value>
      </life-sec>
    
      <mass-kg>  0.01 </mass-kg>
      <radius-m> 0.01 </radius-m>
    </particle>

    <program>
      <fluid>   water </fluid>
      <gravity> true  </gravity>
      <wind>    true  </wind>
    </program>

  </particlesystem>

</PropertyList>

