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

<!-- http://wiki.flightgear.org/Property_tree -->
<PropertyList>

  <!-- This is in order to make flare working -->
  <!-- We use/ hack a mp variable -->
  <rotors include="rotors.xml" />
  
  <aircraft> 
    <flir> 
      <input> 
        <yaw-deg type="double">0.0</yaw-deg> 
        <pitch-deg type="double">0.0</pitch-deg> 
      </input> 
      <target> 
        <yaw-deg type="double">0.0</yaw-deg> 
        <pitch-deg type="double">0.0</pitch-deg> 
        <auto-track type="bool">false</auto-track> 
      </target> 
      <locks> 
        <auto-track type="bool">false</auto-track> 
      </locks> 
    </flir> 
  </aircraft> 
  
  <sim include="m2000-5-base-common.xml">

    <model>
      <path>Aircraft/Mirage-2000/Models/m2000-5.xml</path>
      <livery>
        <file type="string">default</file>
      </livery>
      <logos>
        <file type="string">default</file>
      </logos>
      <!-- canopy opened at game start -->
      <doors>
        <crew>
          <position-norm type="float">1</position-norm>
        </crew>
      </doors>
    </model>
    <dialog>
      <groundtTargeting>
        <target-latitude-deg type="double">0</target-latitude-deg>
        <target-longitude-deg type="double">0</target-longitude-deg>
        <target-alt-feet type="double">0</target-alt-feet>
        <time-to-target>20</time-to-target>
      </groundtTargeting>
    </dialog>
    <aircraft-data>
      <!-- Here is if we want to save properties from one session to another -->
      <path>/link16/wingman-1</path>
      <path>/link16/wingman-2</path>
      <path>/link16/wingman-3</path>
      <!-- wingman #4 excluded on purpose -->
      <path>/link16/wingman-5</path>
      <path>/link16/wingman-6</path>
      <path>/link16/wingman-7</path>
      <path>/link16/wingman-8</path>
      <path>/link16/wingman-9</path>
      <path>/link16/wingman-10</path>
<!--
      <path>/instrumentation/transponder/inputs/digit[0]</path>
      <path>/instrumentation/transponder/inputs/digit[1]</path>
      <path>/instrumentation/transponder/inputs/digit[2]</path>
      <path>/instrumentation/transponder/inputs/digit[3]</path>
      <path>/instrumentation/tacan/frequencies/selected-channel[1]</path>
      <path>/instrumentation/tacan/frequencies/selected-channel[2]</path>
      <path>/instrumentation/tacan/frequencies/selected-channel[3]</path>
      <path>/instrumentation/tacan/frequencies/selected-channel[4]</path>
-->
    </aircraft-data>

  </sim>

  <mouse>
    <invert-mouse-wheel type="bool">true</invert-mouse-wheel>
  </mouse>

  <controls include="controls.xml" />

  <engines include="engines.xml" />

  <instrumentation include="cnf-instrumentation.xml" />

  <input include="m2000-5-keyboard.xml" />

  <environment include="environment.xml" />

  <systems include="cnf-systems.xml" />

  <consumables include="consumables.xml" />

  <ai include="ai.xml" />

  <autopilot include="cnf-autopilot.xml" />

  <payload include="payload.xml" />

  <systems n="0">
    <hydraulical>
      <circuit1_press alias="/fdm/jsbsim/systems/hydraulics/number1-system-pressure" />
      <circuit2_press alias="/fdm/jsbsim/systems/hydraulics/number2-system-pressure" />
    </hydraulical>
  </systems>

  <fdm n="0">
    <jsbsim n="0">
      <metrics>
        <stores-centre-tank type="double">0</stores-centre-tank>
        <stores-wing-tank-left type="double">0</stores-wing-tank-left>
        <stores-wing-tank-right type="double">0</stores-wing-tank-right>
      </metrics>
      <systems>
        <electrics>
          <ac-left-main-bus>0</ac-left-main-bus>
          <dc-main-bus>0</dc-main-bus>
          <dc-essential-bus1>0</dc-essential-bus1>
        </electrics>
        <hydraulics>
          <selected-system type="int">0</selected-system>
          <electric-pump-normal-pressure>190</electric-pump-normal-pressure>
          <electric-pump-start-request>0</electric-pump-start-request>
          <emerg-electric-pump-power>0</emerg-electric-pump-power>
          <emerg-electric-pump-start-request>0</emerg-electric-pump-start-request>
          <ep-running-6seconds>0</ep-running-6seconds>
          <landing-gear-standby-accumulator-psi>0</landing-gear-standby-accumulator-psi>
          <normal-pressure>280</normal-pressure>
          <number1-system-pump-failed>0</number1-system-pump-failed>
          <number2-system-pump-failed>0</number2-system-pump-failed>
        </hydraulics>
      </systems>
    </jsbsim>
  </fdm>

  <nasal>
    <!-- c172p is part of FGDATA and thus always present -->
    <math_ext>
      <file>Aircraft/c172p/Nasal/generic/math_ext.nas</file>
    </math_ext>
    <logger>
      <file>Aircraft/c172p/Nasal/generic/logger.nas</file>
    </logger>
    <updateloop>
      <file>Aircraft/Generic/updateloop.nas</file>
    </updateloop>
    <ai>
      <file>Aircraft/Mirage-2000/Nasal/AI_list.nas</file>
    </ai>
    <aar>
      <file>Aircraft/Generic/aar.nas</file>
    </aar>
    <doors>
      <file>Aircraft/Mirage-2000/Nasal/doors.nas</file>
    </doors>
    <controls>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5-controls.nas</file>
    </controls>
    <electrics>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5-electrical.nas</file>
    </electrics>
    <vector>
        <file>Aircraft/Mirage-2000/Nasal/vector.nas</file>
    </vector>
    <rcs>
        <file>Aircraft/Mirage-2000/Nasal/RADAR/rcs.nas</file>
    </rcs>
    
    <armament>
        <file>Aircraft/Mirage-2000/Nasal/missile-code.nas</file><!-- must be before station-manager -->
    </armament>
    
    <!--The radar object is created is m2000-5.nas; the Script use this order to load everything.
    So we have to load radar2.nas before m2000.nas -->
    <radar>
      <file>Aircraft/Mirage-2000/Nasal/RADAR/radar2.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/RADAR/target_class.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/RADAR/radarTool.nas</file>
<!--     <file>Aircraft/Mirage-2000/Nasal/RADAR/radarPrototype.nas</file>-->
    </radar>
    
    <!-- First attempt to standardise the weapons system -->
    <stations>
      <file>Aircraft/Mirage-2000/Nasal/station-manager.nas</file><!-- must be before fire-control and pylons -->
    </stations>
    <fc>
      <file>Aircraft/Mirage-2000/Nasal/fire-control.nas</file>
    </fc>
    <pylons>
      <file>Aircraft/Mirage-2000/Nasal/pylons.nas</file>
    </pylons>

    <fuel>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5-fuel.nas</file>
    </fuel>
    <hud>
      <file>Aircraft/Mirage-2000/Nasal/HUD/hud_math.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/HUD/HUD.nas</file>
    </hud>
    <rwr>
      <file>Aircraft/Mirage-2000/Nasal/RADAR/rwr.nas</file>
    </rwr>
    <mirage2000>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5_mfd.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/liveries.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5_flightdirector.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/terrain_follow.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/SAS.nas</file>
      <file>Aircraft/Mirage-2000/Models/Interior/Instruments/transpondeur/transpondeur.nas</file>
      <file>Aircraft/Mirage-2000/Models/Interior/Instruments/center_mfd/ND.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/MFD/MAP.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/MFD/viewTargeting.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/flir.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/zoom-views.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/CANVAS/Canvas-pylons-Dlg.nas</file>
    </mirage2000>
    <m2000_controls>
      <file>Aircraft/Mirage-2000/Nasal/m2000-5-controls.nas</file>
    </m2000_controls>
    <radardist>
      <file>Aircraft/Instruments-3d/radardist/radardist.nas</file>
    </radardist>
    <environment>
      <file>Aircraft/Mirage-2000/Nasal/environment.nas</file>
    </environment>
    <guns>
      <file>Aircraft/Mirage-2000/Nasal/weapons.nas</file>
    </guns>
    <instrumentation>
      <file>Aircraft/Mirage-2000/Nasal/instrumentation.nas</file>
    </instrumentation>
    <m2000_mp>
      <file>Aircraft/Mirage-2000/Nasal/MP.nas</file>
    </m2000_mp>
    <missile>
      <file>Aircraft/Mirage-2000/Nasal/missile_GroundTargeting.nas</file>
      <file>Aircraft/Mirage-2000/Nasal/damage.nas</file>
    </missile>
    <view>
      <file>Aircraft/Mirage-2000/Nasal/MissileView.nas</file>
    </view>
    <blackout>
      <file>Aircraft/Mirage-2000/Nasal/blackout.nas</file>
    </blackout>
    <formation>
      <file>Aircraft/Generic/formation.nas</file>
    </formation>
    <assistance>
      <file>Aircraft/Mirage-2000/Nasal/assistance.nas</file>
    </assistance>
    <light>
      <file>Aircraft/Mirage-2000/Nasal/light-manager.nas</file>
    </light>
    <gci>
      <file>Aircraft/Mirage-2000/Nasal/gci-listener.nas</file>
    </gci>
    <mig28>
      <file>Aircraft/Mirage-2000/Nasal/mig28.nas</file>
    </mig28>
  </nasal>

</PropertyList>
