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

<PropertyList>

  <model>
    <path>all-pylons.xml</path>
  </model>

  <!-- RM MAS 450 mm Torpedo -->
  <model>
    <name>TorpedoL</name>
    <path>Torpedo.xml</path>
    <offsets>
      <x-m> -4.02720 </x-m>
      <y-m> -0.72243 </y-m>
      <z-m> -1.14270 </z-m>
      <pitch-deg> -2.4 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>TorpedoR</name>
    <path>Torpedo.xml</path>
    <offsets>
      <x-m> -4.02720 </x-m>
      <y-m>  0.72243 </y-m>
      <z-m> -1.14270 </z-m>
      <pitch-deg> -2.4 </pitch-deg>
    </offsets>
  </model>

  <animation>
    <type>select</type>
    <object-name>TorpedoL</object-name>
    <condition>
      <and>
        <!-- <not><property>controls/signal1</property></not> -->
        <not><property>sim/multiplay/generic/int[11]</property></not>
        <!-- <property>sim/model/show-TorpedoL</property> -->
        <property>sim/multiplay/generic/bool[6]</property>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>TorpedoR</object-name>
    <condition>
      <and>
        <!-- <not><property>controls/signal2</property></not> -->
        <not><property>sim/multiplay/generic/int[12]</property></not>
        <!-- <property>sim/model/show-TorpedoR</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
      </and>
    </condition>
  </animation>

  <!-- 250 Kg Internal Bombs -->
  <model>
    <name>Bomb1_250</name>
    <path>Bomb_250.xml</path>
    <offsets>
      <x-m> -1.56440 </x-m>
      <y-m> -0.07254 </y-m>
      <z-m>  0.46928 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb2_250</name>
    <path>Bomb_250.xml</path>
    <offsets>
      <x-m> -1.31340 </x-m>
      <y-m>  0.19771 </y-m>
      <z-m>  0.46928 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb3_250</name>
    <path>Bomb_250.xml</path>
    <offsets>
      <x-m> -1.06440 </x-m>
      <y-m> -0.07254 </y-m>
      <z-m>  0.46928 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb4_250</name>
    <path>Bomb_250.xml</path>
    <offsets>
      <x-m> -0.81440 </x-m>
      <y-m>  0.19771 </y-m>
      <z-m>  0.46928 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb5_250</name>
    <path>Bomb_250.xml</path>
    <offsets>
      <x-m> -0.56440 </x-m>
      <y-m> -0.07254 </y-m>
      <z-m>  0.46928 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <animation>
    <type>select</type>
    <object-name>Bomb1_250</object-name>
    <object-name>Bomb2_250</object-name>
    <object-name>Bomb3_250</object-name>
    <object-name>Bomb4_250</object-name>
    <object-name>Bomb5_250</object-name>
    <condition>
      <!-- <property>sim/model/show-Bomb1_250</property> -->
      <property>sim/multiplay/generic/bool[8]</property>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb1_250</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_250-number</property>
        <value>4</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb2_250</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_250-number</property>
        <value>3</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb3_250</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_250-number</property>
        <value>2</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb4_250</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_250-number</property>
        <value>1</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb5_250</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_250-number</property>
        <value>0</value>
      </greater-than>
    </condition>
  </animation>

  <!-- 500 Kg Internal Bombs -->
  <model>
    <name>Bomb1_500</name>
    <path>Bomb_500.xml</path>
    <offsets>
      <x-m> -1.35550 </x-m>
      <y-m>  0.09937 </y-m>
      <z-m>  0.41313 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb2_500</name>
    <path>Bomb_500.xml</path>
    <offsets>
      <x-m> -0.75498 </x-m>
      <y-m>  0.02344 </y-m>
      <z-m>  0.44313 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <animation>
    <type>select</type>
    <object-name>Bomb1_500</object-name>
    <object-name>Bomb2_500</object-name>
    <condition>
      <!-- <property>sim/model/show-Bomb1_500</property> -->
      <property>sim/multiplay/generic/bool[19]</property>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb1_500</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_500-number</property>
        <value>1</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb2_500</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_500-number</property>
        <value>0</value>
      </greater-than>
    </condition>
  </animation>

  <!-- 100 Kg Internal Bombs -->
  <model>
    <name>Bomb1_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.61030 </x-m>
      <y-m>  0.21717 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb2_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.61030 </x-m>
      <y-m> -0.08099 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb3_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.33768 </x-m>
      <y-m>  0.21717 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb4_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.33768 </x-m>
      <y-m> -0.08099 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb5_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.06506 </x-m>
      <y-m>  0.21717 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb6_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -1.06506 </x-m>
      <y-m> -0.08099 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb7_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -0.79244 </x-m>
      <y-m>  0.21717 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb8_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -0.79244 </x-m>
      <y-m> -0.08099 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb9_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -0.51982 </x-m>
      <y-m>  0.21717 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <model>
    <name>Bomb10_100</name>
    <path>Bomb_100.xml</path>
    <offsets>
      <x-m> -0.51982 </x-m>
      <y-m> -0.08099 </y-m>
      <z-m>  0.21266 </z-m>
      <pitch-deg> -90 </pitch-deg>
    </offsets>
  </model>

  <animation>
    <type>select</type>
    <object-name>Bomb1_100</object-name>
    <object-name>Bomb2_100</object-name>
    <object-name>Bomb3_100</object-name>
    <object-name>Bomb4_100</object-name>
    <object-name>Bomb5_100</object-name>
    <object-name>Bomb6_100</object-name>
    <object-name>Bomb7_100</object-name>
    <object-name>Bomb8_100</object-name>
    <object-name>Bomb9_100</object-name>
    <object-name>Bomb10_100</object-name>
    <condition>
      <!-- <property>sim/model/show-Bomb1_100</property> -->
      <property>sim/multiplay/generic/bool[21]</property>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb1_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>9</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb2_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>8</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb3_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>7</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb4_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>6</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb5_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>5</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb6_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>4</value>
      </greater-than>
    </condition>
  </animation>


  <animation>
    <type>select</type>
    <object-name>Bomb7_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>3</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb8_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>2</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb9_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>1</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Bomb10_100</object-name>
    <condition>
      <greater-than>
        <property>sim/ai/submodels/Bomb_100-number</property>
        <value>0</value>
      </greater-than>
    </condition>
  </animation>

</PropertyList>
