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

<PropertyList>

  <cannon>
     <model>Aircraft/Aichi-M6A/Models/Effects/Weapons/guns/12mm/apibullet-tracer.xml</model>
     <!-- <trigger>controls/armament/trigger</trigger> -->
     <trigger>sim/multiplay/generic/int[10]</trigger>
     <speed>2755.9</speed>
    <repeat>true</repeat>
    <delay>0.41</delay> <!--doubling the delay/halving the rate to avoid killing FG framerate-->
    <count>-1</count>
    <yaw-offset>0</yaw-offset>
    <pitch-offset>0</pitch-offset>
    <life>40</life>
    <wind>false</wind>
    <weight>0.286600941</weight>
    <cd>0.193</cd>
    <eda>0.00338158219</eda>
    <fuse-range>0</fuse-range>
    <collision>true</collision>
    <collision-report>sim/ai/aircraft/collision/gun</collision-report>
    <expiry>true</expiry>
    <impact>true</impact>
    <impact-report>sim/ai/aircraft/impact/bullet</impact-report>
    <impact-reports>sim/ai/aircraft/collision/cannon</impact-reports>
    <submodel-path>Aircraft/Aichi-M6A/Models/Effects/Weapons/guns/12mm/submodel.xml</submodel-path>
  </cannon>

  <bomb>
    <model>Aircraft/Aichi-M6A/Models/Effects/Weapons/3D/bomb.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.2</delay>
    <count>1</count>
    <yaw-offset>0.0</yaw-offset>
    <pitch-offset>0.0</pitch-offset>
    <cd>0.295</cd>
    <weight>230</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>
    <expiry>true</expiry>
    <impact>true</impact>
    <impact-reports>ai/models/model-impact</impact-reports>
    <submodel-path>Aircraft/Aichi-M6A/Models/Effects/Weapons/bomb/bomb-impact.xml</submodel-path>
    <animation>
      <enable-hot type="bool">false</enable-hot>
    </animation>
  </bomb>

  <!-- gun -->
  <submodel>
    <name>Nose gun</name>
    <model            alias="../../cannon/model"/>
    <trigger          alias="../../cannon/trigger"/>
    <speed            alias="../../cannon/speed"/>
    <repeat           alias="../../cannon/repeat"/>
    <delay            alias="../../cannon/delay"/>
    <count            alias="../../cannon/count"/>
    <life             alias="../../cannon/life"/>
    <wind             alias="../../cannon/wind"/>
    <weight           alias="../../cannon/weight"/>
    <cd               alias="../../cannon/cd"/>
    <eda              alias="../../cannon/eda"/>
    <fuse-range       alias="../../cannon/fuse-range"/>
    <collision        alias="../../cannon/collision"/>
    <collision-report alias="../../cannon/collision-report"/>
    <expiry           alias="../../cannon/expiry"/>
    <impact           alias="../../cannon/impact"/>
    <impact-report    alias="../../cannon/impact-report"/>
    <submodel-path    alias="../../cannon/submodel-path"/>
    <yaw-offset       alias="../../cannon/yaw-offset"/>
    <pitch-offset     alias="../../cannon/pitch-offset"/>
    <offsets>
      <x-m> -4.90074 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.22662 </z-m>
    </offsets>
  </submodel>

  <submodel>
    <name>bomb</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           alias="../../bomb/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"/>
    <expiry          alias="../../bomb/expiry"/>
    <impact          alias="../../bomb/impact"/>
    <impact-report   alias="../../bomb/impact-report"/>
    <submodel-path   alias="../../bomb/submodel-path"/>
    <animation       alias="../../bomb/animation"/>
    <offsets>
      <x-m> -1.565 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.463 </z-m>
    </offsets>
  </submodel>

</PropertyList>
