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

<!-- 08/2012 Updated by 5H1N0B1
     12/2012 Updated by Helijah
     07/2013 Updated by 5H1N0B1
     07/2015 Updated by Hardball : external sounds if canopy opened
     01/2016 Updated by Helijah
     04/2017 Updated by Hardball : rain
-->
<PropertyList>

  <fx>
    

    <!--
________________________________________________________________________________
                                                                 ENGINE EXTERNAL
    -->

    <!-- ~~~~~~~~~~~~~~~~~~ engine - start -->
    <engine>
      <name>engine-start</name>
      <mode>once</mode>
      <path>Sounds/Mirage2000_Starting_Engine_OutsideV3.wav</path>
      <condition>
        <property>/controls/engines/engine[0]/starter</property>
      </condition>
      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>30.0</inner-angle>
        <outer-angle>330.0</outer-angle>
        <outer-gain>0.1</outer-gain>
      </orientation>
<!--      <volume>
        <property>engines/engine[0]/thrust-lbs</property>
        <factor>0.000012</factor>
        <min>0.1</min>
        <max>0.2</max>
      </volume>-->
      <volume>
        <property>engines/engine/n1</property>
        <offset>1.0</offset>
        <factor>-0.008</factor>
        <max>1</max>
      </volume>
      
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ~~~~~~~~~~~~~~~~~~ engine - stop -->
    <engine>
      <name>engine-shutdown</name>
      <mode>once</mode>
      <path>Sounds/turbine_shutdown.wav</path>
      <condition>
        <and>
          <property>/controls/engines/engine[0]/cutoff</property>
          <greater-than>
            <property>/controls/engines/engine[0]/n1</property>
            <value>0</value>
          </greater-than>
        </and>
      </condition>
      <volume>
        <factor>0.2</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </engine>

    <!-- ~~~~~~~~~~~~~~~~~~ engine jet external -->
    <!-- notes :
           engine[0]/running could be problematic in the begining due to the conflict
           between yasim and engine.nas...
           To detect if engine is really running, we use rpm
    -->
<!--    <engine-jet>
      <name>engine-jet</name>
      <path>Aircraft/Mirage-2000/Sounds/BaBoOn-mirageIV-Turbine2.wav</path>
      <mode>looped</mode>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>30</value>
          </greater-than>
          <or>
            <not>
              <property>sim/current-view/internal</property>
            </not>
            <greater-than>
              <property>sim/model/door-positions/crew/position-norm</property>
              <value>0</value>
            </greater-than>
          </or>
          <not>
            <property>engines/engine[0]/out-of-fuel</property>
          </not>
        </and>
      </condition>
      <orientation>
        <x>   0.0</x>
        <y>   0.0</y>
        <z>-180.0</z>
        <inner-angle>180.0</inner-angle>
        <outer-angle>360.0</outer-angle>
        <outer-gain>0.2</outer-gain>
      </orientation>
      <pitch>
        <property>engines/engine[0]/n1</property>
        <offset>0.1</offset> 
        <factor>.001</factor>
      </pitch>
      <volume>
        <property>engines/engine[0]/thrust-lbs</property>
        <factor>0.000025</factor>
        <min>0.20</min>
        <max>0.75</max>
      </volume>
    </engine-jet>-->

    <!-- ~~~~~~~~~~~~~~~~~~ rumble external -->
    <engine-rumble>
      <name>engine-rumble</name>
      <path>Aircraft/Mirage-2000/Sounds/afterburner.wav</path>
      <mode>looped</mode>
      <condition>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>30</value>
        </greater-than>
        <not>
          <property>sim/current-view/internal</property>
        </not>
        <not>
          <property>engines/engine[0]/out-of-fuel</property>
        </not>
        <less-than>
          <property>/velocities/airspeed-kt</property>
          <value>90</value>
        </less-than>
      </condition>
      <property>engines/engine[0]/afterburner</property>
      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>120.0</inner-angle>
        <outer-angle>240.0</outer-angle>
        <outer-gain>0.2</outer-gain>
      </orientation>
      <pitch>
        <property>engines/engine[0]/afterburner</property>
        <factor>1</factor>
        <offset>0.3</offset>
      </pitch>
      <volume>
        <property>engines/engine[0]/afterburner</property>
        <factor>1.2</factor>
        <offset>0.15</offset>
      </volume>
    </engine-rumble>
    
        <!-- ~~~~~~~~~~~~~~~~~~ rumble external -->
    <engine-rumble>
      <name>engine-rumble-fast</name>
      <path>Aircraft/Mirage-2000/Sounds/afterburner.wav</path>
      <mode>looped</mode>
      <condition>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>30</value>
        </greater-than>
        <not>
          <property>sim/current-view/internal</property>
        </not>
        <not>
          <property>engines/engine[0]/out-of-fuel</property>
        </not>
        <greater-than>
          <property>/velocities/airspeed-kt</property>
          <value>89</value>
        </greater-than>
      </condition>
      <property>engines/engine[0]/afterburner</property>
      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>150.0</inner-angle>
        <outer-angle>210.0</outer-angle>
        <outer-gain>0.01</outer-gain>
      </orientation>
      <pitch>
        <property>engines/engine[0]/afterburner</property>
        <factor>1</factor>
        <offset>0.3</offset>
      </pitch>
      <volume>
        <property>engines/engine[0]/afterburner</property>
        <factor>1.2</factor>
        <offset>0.15</offset>
      </volume>
    </engine-rumble>
    
    
    
    <!-- ~~~~~~~~~~~~~~~~~~ whine external -->
    <engine-whine-external>
      <name>external-whine</name>
      <path>Sounds/Mirage2000_Engine_Outside.wav</path>
      <mode>looped</mode>
      <condition>
        <and>
          <greater-than>
            <property>engines/engine[0]/rpm</property>
            <value>4200</value>
          </greater-than>
          <or>
            <not>
              <property>sim/current-view/internal</property>
            </not>
            <greater-than>
              <property>sim/model/door-positions/crew/position-norm</property>
              <value>0</value>
            </greater-than>
          </or>
          <not>
            <property>engines/engine[0]/out-of-fuel</property>
          </not>
        </and>
      </condition>
      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>120.0</inner-angle>
        <outer-angle>240.0</outer-angle>
        <outer-gain>0.2</outer-gain>
      </orientation>
      <pitch>
        <property>engines/engine[0]/n1</property>
        <offset>0.7</offset>  
        <factor>.003</factor>
      </pitch>
      <volume>
        <property>engines/engine/n1</property>
        <offset>1.0</offset>
        <factor>-0.008</factor>
        <max>0.6</max>
      </volume>
    </engine-whine-external>
    
    <!--
________________________________________________________________________________
                                                                 ENGINE INTERNAL
    -->

    <!-- ~~~~~~~~~~~~~~~~~~ jet internal -->
    <engine-jet-internal>
      <name>internal-jet</name>
      <path>Sounds/Mirage2000_Engine_Outside.wav</path>
      <mode>looped</mode>
      <condition>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>4200</value>
        </greater-than>
        <property>sim/current-view/internal</property>
        <not>
          <property>engines/engine[0]/out-of-fuel</property>
        </not>
      </condition>
<!--      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>150.0</inner-angle>
        <outer-angle>210.0</outer-angle>
        <outer-gain>0.5</outer-gain>
      </orientation>-->
      <pitch>
        <property>engines/engine[0]/n1</property>
        <offset>0.1</offset>
        <factor>.0016</factor>
      </pitch>
      <volume>
        <property>engines/engine[0]/thrust-lbs</property>
        <factor>0.00005</factor>
        <min>0.3</min>
        <max>0.5</max>
      </volume>
    </engine-jet-internal>
    
    

    <!-- ~~~~~~~~~~~~~~~~~~ rumble internal -->
    <engine-rumble>
      <name>engine-rumble-internal</name>
      <path>Aircraft/Mirage-2000/Sounds/afterburner.wav</path>
      <mode>looped</mode>
      <condition>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>30</value>
        </greater-than>
        <property>sim/current-view/internal</property>
        <not>
          <property>engines/engine[0]/out-of-fuel</property>
        </not>
      </condition>
      <property>engines/engine[0]/afterburner</property>
<!--      <orientation>
        <x>1.0</x>
        <y>0.0</y>
        <z>0.0</z>
        <inner-angle>150.0</inner-angle>
        <outer-angle>210.0</outer-angle>
        <outer-gain>0.5</outer-gain>
      </orientation>-->
      <pitch>
        <property>engines/engine[0]/afterburner</property>
        <factor>1</factor>
        <offset>0.3</offset>
      </pitch>
      <volume>
        <property>engines/engine[0]/afterburner</property>
        <factor>0.2</factor>
        <offset>0</offset>
      </volume>
    </engine-rumble>

    <!-- ~~~~~~~~~~~~~~~~~~ whine internal -->
<!--    <engine-whine-internal>
      <name>internal-whine</name>
      <path>Sounds/whine.wav</path>
      <mode>looped</mode>
      <condition>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>30</value>
        </greater-than>
        <property>sim/current-view/internal</property>
        <not>
          <property>engines/engine[0]/out-of-fuel</property>
        </not>
      </condition>
      <pitch>
        <property>engines/engine[0]/n1</property>
        <ofset>0.1</ofset>
        <factor>.0016</factor>
      </pitch>
      <volume>
        <property>engines/engine[0]/thrust-lbs</property>
        <factor>0.000012</factor>
        <min>0.2</min>
        <max>0.6</max>
      </volume>
    </engine-whine-internal>-->

    <!--
________________________________________________________________________________
                                                                     ENVIRONMENT
    -->
    <!--rain>
      <name>rain</name>
      <mode>looped</mode>
      <path>Aircraft/Mirage-2000/Sounds/rain_canopy.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>/local-weather/current/rain-norm</property>
            <value>0.2</value>
          </greater-than>
          <property>sim/current-view/internal</property>
        </and>
      </condition>
      <volume>
        <property>/local-weather/current/rain-norm</property>
        <factor>1.00</factor>
        <offset>0.00</offset>
        <min>0.4</min>
        <max>0.9</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.001</factor>
        <offset>1.0</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rain-->
    
    <!-- ~~~~~~~~~~~~~~~~~~ windshield rain -->
    <rain_ext>
            <name>rain_ext</name>
            <mode>looped</mode>
            <path>Aircraft/Mirage-2000/Sounds/rain.wav</path>
            <condition>
                <not>
                    <property>sim/current-view/internal</property>
                </not>
                <greater-than>
                    <property>/environment/rain-norm</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <volume>
                <property>/environment/rain-norm</property>
                <factor>0.40</factor>
            </volume>
      </rain_ext>
      <rain_int1>
            <name>rain_int1</name>
            <mode>looped</mode>
            <path>Aircraft/Mirage-2000/Sounds/rain.wav</path>
            <type>avionics</type>
            <condition>
                <property>sim/current-view/internal</property>
                <greater-than>
                    <property>/environment/rain-norm</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <volume>
                <property>/environment/rain-norm</property>
                <factor>0.18</factor>
            </volume>
      </rain_int1>
      <rain_int2>
            <name>rain_int2</name>
            <mode>looped</mode>
            <path>Aircraft/Mirage-2000/Sounds/rain-windshield.wav</path>
            <type>avionics</type>
            <condition>
                <property>sim/current-view/internal</property>
                <greater-than>
                    <property>/environment/rain-norm</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.0075</factor>
                <min>0.06</min>
                <max>0.40</max>
            </volume>
        </rain_int2>
    
    <wind>
      <name>wind</name>
      <mode>looped</mode>
      <path>Aircraft/Mirage-2000/Sounds/BaBoOn-mirageIV-Wind.wav</path>
      <condition>
        <not>
          <property>/sim/current-view/internal</property>
        </not>
      </condition>
      <property>/velocities/airspeed-kt</property>
      <volume>
        <property>/position/altitude-ft</property>
        <factor>-0.000015</factor>
        <offset>1.0</offset>
        <min>0.1</min>
        <max>0.7</max>
      </volume>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <factor>0.015</factor>
        <min>0.03</min>
        <max>0.55</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.01</factor>
        <offset>0.75</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </wind>
    
    <rumble>
      <name>rumble</name>
      <mode>looped</mode>
      <path>Sounds/rumble.wav</path>
      <condition>
        <or>
          <property>/gear/gear[0]/wow</property>
          <property>/gear/gear[1]/wow</property>
          <property>/gear/gear[2]/wow</property>
        </or>
      </condition>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <factor>.0005</factor>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </rumble>

    <squeal>
      <name>squeal</name>
      <path>Aircraft/Mirage-2000/Sounds/BaBoOn-mirageIV-Tire-Squeal.wav</path>
      <condition>
        <or>
          <property>/gear/gear[0]/wow</property>
          <property>/gear/gear[1]/wow</property>
          <property>/gear/gear[2]/wow</property>
        </or>
      </condition>
      <volume>
        <property>/velocities/speed-down-fps</property>
        <factor>0.05</factor>
      </volume>
      <volume>
        <property>/velocities/airspeed-kt</property>
        <factor>0.01</factor>
      </volume>
      <volume>
        <internal>dt_stop</internal>
        <factor>0.05</factor>
        <max>1.0</max>
      </volume>
      <pitch>
        <property>/velocities/airspeed-kt</property>
        <factor>0.0025</factor>
        <offset>1.2</offset>
      </pitch>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </squeal>

    <!--
________________________________________________________________________________
                                                                        AVIONICS
    -->
    <pre-stall>
      <name>pre-stall</name>
      <mode>looped</mode>
      <path>Aircraft/Mirage-2000/Sounds/Mirage2000-Stall_Alert_choppedv2.wav</path>
      <condition>
        <equals>
          <property>/sim/alarms/stall-warning</property>
          <value>1</value>
        </equals>
      </condition>
      <volume>
        <factor>0.3</factor>
      </volume>
    </pre-stall>

    <stall>
      <name>stall</name>
      <mode>looped</mode>
      <path>Aircraft/Mirage-2000/Sounds/Mirage2000-Stall_Alert_continuev2.wav</path>
      <condition>
        <equals>
          <property>/sim/alarms/stall-warning</property>
          <value>2</value>
        </equals>
      </condition>
      <volume>
        <factor>0.3</factor>
      </volume>
    </stall>

    <click>
      <name>Clickon</name>
      <path>Sounds/click.wav</path>
      <condition>
        <property>sim/model/click</property>
      </condition>
      <volume>
        <factor>1.0</factor>
        <min>1.0</min>
        <max>1.0</max>
      </volume>
    </click>

    <click>
      <name>Clickoff</name>
      <path>Sounds/click.wav</path>
      <condition>
        <not>
          <property>sim/model/click</property>
        </not>
      </condition>
      <volume>
        <factor>1.0</factor>
      </volume>
    </click>
    
    <!--
          AICRAFT CRAKING
    -->
    
    <aircraft-crack>
        <name>aircraft-crack</name>
        <path>Sounds/aircraft-crack.wav</path>
        <mode>once</mode>
        <condition>
            <property>sim/current-view/internal</property>
            <equals>
                <property>controls/cabin/shaking</property>
                <value>1</value>
            </equals>
        </condition>
        <position>
            <x>0.01</x>
            <y>0.01</y>
            <z>0.01</z>
        </position>
        <volume>
            <property>controls/cabin/shaking</property>
            <factor>1</factor>
            <offset>5</offset>
        </volume>
    </aircraft-crack>

        <aircraft-creaking>
            <name>aircraft-creaking</name>
            <path>Sounds/aircraft-creaking.wav</path>
            <mode>looped</mode>
            <condition>
                <property>sim/current-view/internal</property>
                <equals>
                    <property>controls/cabin/shaking</property>
                    <value>1</value>
                </equals>
            </condition>
            <position>
                <x>0.01</x>
                <y>0.01</y>
                <z>0.01</z>
            </position>
            <volume>
                <property>controls/cabin/shaking</property>
                <factor>1</factor>
                <offset>5</offset>
            </volume>
        </aircraft-creaking>
    
    
    
    

    <!--
________________________________________________________________________________
                                                                       EQUIPMENT
    -->

    <!-- @TODO:
           - add airbreakes : animation + wind
           - add slats : animation
    -->
    <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>Sounds/Mirage2000_gear2.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>0</value>
          </greater-than>
          <less-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>1</value>
          </less-than>
          <equals>
            <property>/controls/engines/engine[0]/cutoff</property>
            <value>0</value>
          </equals>
        </and>
      </condition>
<!--      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>1</factor>
      </pitch>-->
      <volume>
        <property>/gear/gear[0]/position-norm</property>
        <factor>5.0</factor>
        <min>5.0</min>
        <max>5.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>
    
    <gear>
      <name>gear-open-door</name>
     <!-- <mode>in-transit</mode>-->
      <path>Sounds/Mirage2000_Open_gear_Door.wav</path>
      <condition>
        <and>
          <greater-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>0</value>
          </greater-than>
          <less-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>1</value>
          </less-than>
          <equals>
            <property>/controls/engines/engine[0]/cutoff</property>
            <value>0</value>
          </equals>
        </and>
      </condition>
      <volume>
        <property>/gear/gear[0]/position-norm</property>
        <factor>5.0</factor>
        <min>5.0</min>
        <max>5.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>
    

    <gear>
      <name>gear-close-door</name>
      <path>Sounds/Mirage2000_Close_gear_Door.wav</path>
      <condition>
        <or>
          <less-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>0.1</value>
          </less-than>
          <greater-than>
            <property>/gear/gear[0]/position-norm</property>
            <value>0.9</value>
          </greater-than>
        </or>
      </condition>
      <volume>
        <property>/gear/gear[0]/position-norm</property>
        <factor>5.0</factor>
        <min>5.0</min>
        <max>5.0</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </gear>
    
    

    <flap>
      <name>flaps</name>
      <mode>in-transit</mode>
      <path>Sounds/flaps.wav</path>
      <property>/surface-positions/flap-pos-norm</property>
      <volume>
        <max>0.25</max>
      </volume>
      <reference-dist>100</reference-dist>
      <max-dist>1000</max-dist>
    </flap>

    <!--
________________________________________________________________________________
                                                                 WEAPONS SYSTEMS
    -->
    <guns>
      <name>gunfire</name>
      <mode>looped</mode>
      <path>Aircraft/Mirage-2000/Sounds/M-2000-Guns.wav</path>
      <condition>
        <property>controls/armament/Gun_trigger</property>
        <property>ai/submodels/submodel/count</property>
      </condition>
      <volume>
        <value>1</value>
      </volume>
    </guns>

    <incoming>
      <name>incoming</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming1</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-01.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming1</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming2</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-02.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming2</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming3</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-03.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming3</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming4</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-04.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming4</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming5</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-05.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming5</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming6</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-06.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming6</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming12</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-12.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming12</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming7</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-07.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming7</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming8</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-08.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming8</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming9</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-09.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming9</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming10</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-10.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming10</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>
    
    <incoming>
      <name>incoming11</name>
      <mode>single</mode>
      <path>Aircraft/Mirage-2000/Sounds/incoming-11.wav</path>
      <type>avionics</type>
      <condition>
        <property>sound/incoming11</property>
        <property>sim/current-view/internal</property>
        
      </condition>
      <volume>
        <factor>4</factor>
      </volume>
    </incoming>

    <nearby-explode>
        <name>nearby-explode</name>
        <path>Aircraft/Mirage-2000/Sounds/aircraft-explode.wav</path>
        <mode>once</mode>
        <condition>
            <equals>
                <property>damage/sounds/nearby-explode-on</property>
                <value>1</value>
            </equals>
        </condition>
        <position>
            <x>0.01</x>
            <y>0.01</y>
            <z>0.01</z>
        </position>
        <pitch>
            <factor>1.05</factor>
        </pitch>
        <volume>
            <factor>1</factor>
            <max>1</max>
        </volume>
    </nearby-explode>
<!--=============================================Lock Tone=======================================-->
    <lock-tone>
            <name>super530-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/s530d/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.8</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/s530d/sound-volume</property>
            </volume>
        </lock-tone>

        <lock-tone>
            <name>magic550-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/magic-2/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/magic-2/sound-volume</property>
            </volume>
        </lock-tone>
        
        <lock-tone>
            <name>micaIR-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/mica-ir/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/mica-ir/sound-volume</property>
            </volume>
        </lock-tone>
        
        <lock-tone>
            <name>micaEM-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/mica-em/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/mica-em/sound-volume</property>
            </volume>
        </lock-tone>
        
        <lock-tone>
            <name>am39-Exocet-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/am39-exocet/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/am39-exocet/sound-volume</property>
            </volume>
        </lock-tone>
        
        <lock-tone>
            <name>as-37-martel-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/as-37-martel/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/as-37-martel/sound-volume</property>
            </volume>
        </lock-tone>
        
        <lock-tone>
            <name>as30l-signal</name>
            <mode>looped</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/115hz-square.wav</path>
            <condition>
                <property>sim/current-view/internal</property>
                <property>payload/armament/as30l/sound-on-off</property>
            </condition>
            <pitch>
                <factor>1.3</factor><!-- changes it to beep -->
                <max>2</max>
            </pitch>
            <volume>
                <property>payload/armament/as30l/sound-volume</property>
            </volume>
        </lock-tone>
<!--================================= Fire load sound =============================-->
        
        <missile1>
            <name>magic-2</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/magic-2/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <missile1>
            <name>s530d</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/s530d/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <missile1>
            <name>mice-ir</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/mica-ir/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <missile1>
            <name>mice-em</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/mica-em/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <missile1>
            <name>martel-launch</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/as-37-martel/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <missile1>
            <name>as30l-launch</name>
            <path>Aircraft/Mirage-2000/Sounds/missile.wav</path>
            <mode>once</mode>
            <type>avionics</type>
            <condition>
                <property>payload/armament/as30l/sound-fire-on-off</property>
            </condition>
            <volume>
                <factor>0.75</factor>
                <max>1</max>
            </volume>
        </missile1>
        
        <gbu-release>
            <name>gbu-release</name>
            <mode>once</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/gbu_release.wav</path>
            <condition>
                <property>payload/armament/gbu-12/sound-fire-on-off</property>
            </condition>
            <volume>
                <property>sim/current-view/internal</property>
                <factor>1</factor>
                <max>1</max>
            </volume>
        </gbu-release>
        
        <gbu-release>
            <name>scalp-release</name>
            <mode>once</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/gbu_release.wav</path>
            <condition>
                <property>payload/armament/scalp/sound-fire-on-off</property>
            </condition>
            <volume>
                <property>sim/current-view/internal</property>
                <factor>1</factor>
                <max>1</max>
            </volume>
        </gbu-release>
        
        <gbu-release>
            <name>exocet-release</name>
            <mode>once</mode>
            <type>avionics</type>
            <path>Aircraft/Mirage-2000/Sounds/gbu_release.wav</path>
            <condition>
                <property>payload/armament/am39-exocet/sound-fire-on-off</property>
            </condition>
            <volume>
                <property>sim/current-view/internal</property>
                <factor>1</factor>
                <max>1</max>
            </volume>
        </gbu-release>

  </fx>

</PropertyList>
