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

<PropertyList>

  <cannon>
    <model>Aircraft/PZL-P37/Models/Effects/Weapons/guns/bullet/apibullet-tracer.xml</model>
    <speed>3363.0</speed>
    <cd>0.193</cd>
    <weight>0.9369635</weight>
    <eda>0.007609</eda>
    <fuse-range>0</fuse-range>
    <life>30</life>
    <expiry>true</expiry>
    <repeat>true</repeat>
    <delay>0.03</delay>
    <count>400</count> <!-- -1 = Infinte -->
    <wind>false</wind>
    <collision>true</collision>
    <collision-report>sim/ai/aircraft/collision/gun</collision-report>
    <impact>true</impact>
    <impact-report>sim/ai/aircraft/impact/bullet</impact-report>
    <submodel-path>Aircraft/PZL-P37/Models/Effects/Weapons/guns/bullet/bullet-submodel.xml</submodel-path>
    <animation>
      <enable-hot type="bool">false</enable-hot>
      <attach>world</attach>
      <placer>
        <type>point</type>
      </placer>
    </animation>
  </cannon>

  <!-- 1 ensembles de 4 bombes -->
  <bomb>
    <model>Aircraft/PZL-P37/Models/Effects/Weapons/3D/bomb0.xml</model>
    <!-- <trigger>controls/armament/release-all</trigger> -->
    <trigger>sim/multiplay/generic/int[11]</trigger>
    <speed-prop>
      <property>velocities/airspeed-kt</property>
    </speed-prop>
    <repeat>true</repeat>
    <delay>0.4</delay>
    <cd>0.295</cd>
    <weight>500</weight>
    <fuse-range>2.2</fuse-range><!-- meter or feet ? -->
    <eda>0.61629</eda>
    <life>1000</life>
    <buoyancy>0</buoyancy>
    <aero-stabilised>true</aero-stabilised>
    <collision>true</collision>
    <impact>true</impact>
    <impact-reports>ai/models/model-impact</impact-reports>
    <submodel-path>Aircraft/PZL-P37/Models/Effects/Weapons/bomb/bomb-impact.xml</submodel-path>
    <animation>
      <enable-hot type="bool">false</enable-hot>
      <attach>world</attach>
      <placer>
        <type>point</type>
      </placer>
    </animation>
  </bomb>

  <!-- 2 ensembles de 4 bombes soit 8 bombes -->
  <bomb>
    <model>Aircraft/PZL-P37/Models/Effects/Weapons/3D/bomb1.xml</model>
    <!-- <trigger>controls/armament/release-all</trigger> -->
    <trigger>sim/multiplay/generic/int[11]</trigger>
    <speed-prop>
      <property>velocities/airspeed-kt</property>
    </speed-prop>
    <repeat>true</repeat>
    <delay>0.4</delay>
    <cd>0.295</cd>
    <weight>500</weight>
    <fuse-range>2.2</fuse-range><!-- meter or feet ? -->
    <eda>0.61629</eda>
    <life>1000</life>
    <buoyancy>0</buoyancy>
    <aero-stabilised>true</aero-stabilised>
    <collision>true</collision>
    <impact>true</impact>
    <impact-reports>ai/models/model-impact</impact-reports>
    <submodel-path>Aircraft/PZL-P37/Models/Effects/Weapons/bomb/bomb-impact.xml</submodel-path>
    <animation>
      <enable-hot type="bool">false</enable-hot>
      <attach>world</attach>
      <placer>
        <type>point</type>
      </placer>
    </animation>
  </bomb>

  <!-- Guns -->
  <submodel>
    <name>cannon nose</name>
    <model          alias="../../cannon/model"/>
    <!-- <trigger>controls/armament/trigger</trigger> -->
    <trigger>sim/multiplay/generic/int[10]</trigger>
    <speed          alias="../../cannon/speed"/>
    <cd             alias="../../cannon/cd"/>
    <eda            alias="../../cannon/eda"/>
    <fuse-range     alias="../../cannon/fuse-range"/>
    <weight         alias="../../cannon/weight"/>
    <life           alias="../../cannon/life"/>
    <repeat         alias="../../cannon/repeat"/>
    <delay          alias="../../cannon/delay"/>
    <count          alias="../../cannon/count"/>
    <wind           alias="../../cannon/wind"/>
    <expiry         alias="../../cannon/expiry"/>
    <collision      alias="../../cannon/collision"/>
    <impact         alias="../../cannon/impact"/>
    <impact-reports alias="../../cannon/impact-reports"/>
    <submodel-path  alias="../../cannon/submodel-path"/>
    <animation      alias="../../cannon/animation"/>
    <offsets>
      <x-m> -6.45191 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.71488 </z-m>
      <!-- <heading-deg>sim/model/turret[0]/heading</heading-deg> -->
      <heading-deg>sim/multiplay/generic/float[6]</heading-deg>
      <!-- <pitch-deg>sim/model/turret[0]/pitch</pitch-deg> -->
      <pitch-deg>sim/multiplay/generic/float[7]</pitch-deg>
    </offsets>
  </submodel>

  <submodel>
    <name>cannon roof</name>
    <model          alias="../../cannon/model"/>
    <!-- <trigger>controls/armament/trigger1</trigger> -->
    <trigger>sim/multiplay/generic/int[12]</trigger>
    <speed          alias="../../cannon/speed"/>
    <cd             alias="../../cannon/cd"/>
    <eda            alias="../../cannon/eda"/>
    <fuse-range     alias="../../cannon/fuse-range"/>
    <weight         alias="../../cannon/weight"/>
    <life           alias="../../cannon/life"/>
    <repeat         alias="../../cannon/repeat"/>
    <delay          alias="../../cannon/delay"/>
    <count          alias="../../cannon/count"/>
    <wind           alias="../../cannon/wind"/>
    <expiry         alias="../../cannon/expiry"/>
    <collision      alias="../../cannon/collision"/>
    <impact         alias="../../cannon/impact"/>
    <impact-reports alias="../../cannon/impact-reports"/>
    <submodel-path  alias="../../cannon/submodel-path"/>
    <animation      alias="../../cannon/animation"/>
    <offsets>
      <x-m> 1.03987 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 1.59409 </z-m>
      <!-- <heading-deg>sim/model/turret[1]/heading</heading-deg> -->
      <heading-deg>sim/multiplay/generic/float[8]</heading-deg>
      <!-- <pitch-deg>sim/model/turret[1]/pitch</pitch-deg> -->
      <pitch-deg>sim/multiplay/generic/float[9]</pitch-deg>
    </offsets>
  </submodel>

  <submodel>
    <name>cannon tail</name>
    <model          alias="../../cannon/model"/>
    <!-- <trigger>controls/armament/trigger2</trigger> -->
    <trigger>sim/multiplay/generic/int[13]</trigger>
    <speed          alias="../../cannon/speed"/>
    <cd             alias="../../cannon/cd"/>
    <eda            alias="../../cannon/eda"/>
    <fuse-range     alias="../../cannon/fuse-range"/>
    <weight         alias="../../cannon/weight"/>
    <life           alias="../../cannon/life"/>
    <repeat         alias="../../cannon/repeat"/>
    <delay          alias="../../cannon/delay"/>
    <count          alias="../../cannon/count"/>
    <wind           alias="../../cannon/wind"/>
    <expiry         alias="../../cannon/expiry"/>
    <collision      alias="../../cannon/collision"/>
    <impact         alias="../../cannon/impact"/>
    <impact-reports alias="../../cannon/impact-reports"/>
    <submodel-path  alias="../../cannon/submodel-path"/>
    <animation      alias="../../cannon/animation"/>
    <offsets>
      <x-m> 2.12038 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.05930 </z-m>
      <!-- <heading-deg>sim/model/turret[2]/heading</heading-deg> -->
      <heading-deg>sim/multiplay/generic/float[18]</heading-deg>
      <!-- <pitch-deg>sim/model/turret[2]/pitch</pitch-deg> -->
      <pitch-deg>sim/multiplay/generic/float[19]</pitch-deg>
    </offsets>
  </submodel>

  <!-- Bombes -->
  <!-- Center -->
  <submodel>
    <name>heavy-bomb center left</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[3]/count</count> -->
    <count>sim/multiplay/generic/int[9]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m> -0.19000 </y-m>
      <z-m>  0.09000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb center right</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[4]/count</count> -->
    <count>sim/multiplay/generic/int[14]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m>  0.19000 </y-m>
      <z-m>  0.09000 </z-m>
    </offsets>
  </submodel>

  <!-- Left wing -->
  <submodel>
    <name>heavy-bomb left 1</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[5]/count</count> -->
    <count>sim/multiplay/generic/int[15]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m> -0.69000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb left 2</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[6]/count</count> -->
    <count>sim/multiplay/generic/int[16]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m> -1.03000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb left 3</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[7]/count</count> -->
    <count>sim/multiplay/generic/int[17]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m> -1.39000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb left 4</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[8]/count</count> -->
    <count>sim/multiplay/generic/int[18]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m> -1.73000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <!-- Right wing -->
  <submodel>
    <name>heavy-bomb right 1</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[9]/count</count> -->
    <count>sim/multiplay/generic/int[19]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m>  0.69000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb right 2</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[10]/count</count> -->
    <count>sim/multiplay/generic/int[20]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m>  1.03000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb right 3</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[11]/count</count> -->
    <count>sim/multiplay/generic/int[21]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m>  1.39000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>heavy-bomb right 4</name>
    <model           alias="../../bomb/model"/>
    <condition       alias="../../bomb/condition"/>
    <trigger         alias="../../bomb/trigger"/>
    <speed-prop      alias="../../bomb/speed-prop"/>
    <repeat          alias="../../bomb/repeat"/>
    <delay           alias="../../bomb/delay"/>
    <!-- <count>ai/submodels/submodel[12]/count</count> -->
    <count>sim/multiplay/generic/int[22]</count>
    <yaw-offset      alias="../../bomb/yaw-offset"/>
    <pitch-offset    alias="../../bomb/pitch-offset"/>
    <cd              alias="../../bomb/cd"/>
    <weight          alias="../../bomb/weight"/>
    <fuse-range      alias="../../bomb/fuse-range"/>
    <eda             alias="../../bomb/eda"/>
    <life            alias="../../bomb/life"/>
    <buoyancy        alias="../../bomb/buoyancy"/>
    <aero-stabilised alias="../../bomb/aero-stabilised"/>
    <collision       alias="../../bomb/collision"/>
    <impact          alias="../../bomb/impact"/>
    <impact-reports  alias="../../bomb/impact-reports"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -2.02831 </x-m>
      <y-m>  1.73000 </y-m>
      <z-m>  0.30000 </z-m>
    </offsets>
  </submodel>

</PropertyList>
