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

<PropertyList>

  <fx>

    <engine>
      <name>Start external</name>
      <mode>once</mode>
      <path>turbine-start.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>sim/model/mi2/state</property>
            <value>0</value>
          </greater-than>
          <not>
            <property>sim/crashed</property>
          </not>
        </and>
      </condition>
      <volume>
        <factor>0.42</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>Turbine external</name>
      <mode>looped</mode>
      <path>turbine-loop.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>sim/model/mi2/state</property>
            <value>0</value>
          </greater-than>
          <not>
            <property>sim/crashed</property>
          </not>
        </and>
      </condition>
      <volume>
        <factor>0.42</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <engine>
      <name>Shutdown external</name>
      <mode>once</mode>
      <path>turbine-stop.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>sim/model/mi2/state</property>
            <value>0</value>
          </greater-than>
          <not>
            <property>sim/crashed</property>
          </not>
        </and>
      </condition>
      <volume>
        <factor>0.42</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <rotor>
      <name>Rotor external</name>
      <mode>looped</mode>
      <path>rotor-loop.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>rotors/main/rpm</property>
            <value>50</value>
          </greater-than>
          <not>
            <property>sim/crashed</property>
          </not>
        </and>
      </condition>
      <volume>
        <property>rotors/gear/torque-sound-filtered</property>
      </volume>
      <pitch>
        <property>rotors/main/rpm</property>
        <factor>0.00263</factor>
        <offset>-0.0</offset>
        <max>2.5</max>
      </pitch>
      <position>
        <x> -2 </x>
        <y> 0 </y>
        <z> 1 </z>
      </position>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rotor>

    <!-- ************************************************* -->
     <contact>
      <name>ground contact</name>
      <mode>once</mode>
      <path>wheel.wav</path>
      <condition>
        <property>gear/gear[0]/wow</property>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <pitch>
        <factor>0.01</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </contact>

    <contact>
      <name>ground contact</name>
      <mode>once</mode>
      <path>wheel.wav</path>
      <condition>
        <property>gear/gear[1]/wow</property>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <pitch>
        <factor>0.01</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </contact>

    <contact>
      <name>ground contact</name>
      <mode>once</mode>
      <path>wheel.wav</path>
      <condition>
        <property>gear/gear[2]/wow</property>
      </condition>
      <volume>
        <factor>0.8</factor>
      </volume>
      <pitch>
        <factor>0.01</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </contact>

    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>Sounds/wind.wav</path>
      <condition>
        <and>
          <property>velocities/airspeed-kt</property>
          <not>
            <property>sim/crashed</property>
          </not>
        </and>
      </condition>
      <volume>
        <property>velocities/airspeed-kt</property>
        <factor>0.0015</factor>
        <min>0.00</min>
        <max>0.25</max>
      </volume>
      <pitch>
        <property>velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <offset>1.25</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind>

    <!-- Doors sounds -->
    <door>
      <name>Open left door</name>
      <mode>once</mode>
      <path>door_open.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
          <property>sim/multiplay/generic/float[33]</property>
          <value>0</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.3</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Close left door</name>
      <path>door_close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
          <property>sim/multiplay/generic/float[33]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Open right door</name>
      <mode>once</mode>
      <path>door_open.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
          <property>sim/multiplay/generic/float[34]</property>
          <value>0</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.3</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Close right door</name>
      <path>door_close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
          <property>sim/multiplay/generic/float[34]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Open rear door</name>
      <mode>once</mode>
      <path>door_open.wav</path>
      <condition>
        <greater-than>
          <!-- <property>sim/model/door-positions/baie/position-norm</property> -->
          <property>sim/multiplay/generic/float[35]</property>
          <value>0</value>
        </greater-than>
      </condition>
      <volume>
        <factor>0.3</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <door>
      <name>Close rear door</name>
      <path>door_close.wav</path>
      <condition>
        <less-than>
          <!-- <property>sim/model/door-positions/baie/position-norm</property> -->
          <property>sim/multiplay/generic/float[35]</property>
          <value>0.03</value>
        </less-than>
      </condition>
      <volume>
        <factor>1</factor>
        <max>1.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </door>

    <guns>
      <name>gunfire</name>
      <path>gunsfire.wav</path>
      <mode>looped</mode>
      <condition>
        <property>controls/armament/trigger</property>
      </condition>
      <pitch>
        <factor>0.25</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </guns>

    <rocket-single>
      <name>rocket-single</name>
      <mode>once</mode>
      <path>rockets.wav</path>
      <condition>
        <property>controls/armament/trigger-rocket</property>
      </condition>
      <volume>
        <factor>1.0</factor>
        <max>3.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rocket-single>

    <!-- Flare/Chaff release -->
    <flare>
      <name>Flares</name>
      <path>Flare.wav</path>
      <mode>looped</mode>
      <condition>
        <property>controls/armament/pickle</property>
      </condition>
      <volume>
        <property>sim/current-view/internal</property>
        <factor>0.25</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </flare>

    <rain>
      <name>rain</name>
      <mode>looped</mode>
      <path>rain.wav</path>
      <condition>
        <greater-than>
          <property>/environment/metar/rain-norm</property>
          <value> 0.2 </value>
        </greater-than>
      </condition>
      <volume>
        <property>/environment/metar/rain-norm</property>
        <factor> 1 </factor>
        <offset> 0 </offset>
        <min> 0.4 </min>
        <max> 0.9 </max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor> 0.001 </factor>
        <offset> 1 </offset>
      </pitch>
    </rain>

    <crash>
      <name>intense ground contact</name>
      <mode>once</mode>
      <path>Sounds/crash.wav</path>
      <property>sim/crashed</property>
      <volume>
        <factor>1</factor>
      </volume>
      <pitch>
        <factor>0.1</factor>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </crash>

  </fx>

</PropertyList>
