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

<PropertyList>

  <particlesystem>
    <name>wakeG</name>

    <texture>wake.png</texture>

    <emissive>false</emissive>
    <lighting>true</lighting>

    <condition>
      <and>
        <greater-than>
          <!-- <property>instrumentation/airspeed-indicator/indicated-speed-kt</property> -->
          <property>sim/multiplay/generic/float[9]</property>
          <value>19</value>
        </greater-than>
        <!-- <property>gear/gear[7]/wow</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
        <not-equals>
          <property>/sim/crashed</property>
          <value>true</value>
        </not-equals>
      </and>
    </condition>

    <attach>world</attach>

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

    <shooter>
      <theta-min-deg> 90.0 </theta-min-deg>
      <theta-max-deg> 98.0 </theta-max-deg>
      <phi-min-deg>   -1.5 </phi-min-deg>
      <phi-max-deg>    1.5 </phi-max-deg>
      <speed-mps>
        <!-- <property>instrumentation/airspeed-indicator/indicated-speed-kt</property> -->
        <property>sim/multiplay/generic/float[9]</property>
        <value> 10.0 </value>
        <spread> 2.5 </spread>
      </speed-mps>
      <rotation-speed>
        <x-min-deg-sec>  5 </x-min-deg-sec>
        <y-min-deg-sec>  5 </y-min-deg-sec>
        <z-min-deg-sec>  5 </z-min-deg-sec>
        <x-max-deg-sec> 25 </x-max-deg-sec>
        <y-max-deg-sec> 25 </y-max-deg-sec>
        <z-max-deg-sec> 25 </z-max-deg-sec>
      </rotation-speed>
    </shooter>

    <counter>
      <particles-per-sec>
        <!-- <property>instrumentation/airspeed-indicator/indicated-speed-kt</property> -->
        <property>sim/multiplay/generic/float[9]</property>
        <factor> 2 </factor>
        <spread> 0 </spread>
      </particles-per-sec>
    </counter>

    <align>billboard</align>

    <particle>
      <start>
        <color>
          <red><value>   1.0 </value></red>
          <green><value> 1.0 </value></green>
          <blue><value>  1.0 </value></blue>
          <alpha><value> 0.5 </value></alpha>
        </color>
        <size>
          <value>0.4</value>
        </size>
      </start>

      <end>
        <color>
          <red><value>   0 </value></red>
          <green><value> 0 </value></green>
          <blue><value>  0 </value></blue>
          <alpha><value> 1 </value></alpha>
        </color>
        <size>
          <value>3.5</value>
        </size>
      </end>

      <life-sec>
        <value>6.0</value>
      </life-sec>

      <mass-kg>25</mass-kg>
      <radius-m>0.3</radius-m>
    </particle>

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

  </particlesystem>

</PropertyList>
