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

<PropertyList>

  <name>S.M.79 Loads</name>
  <layout>vbox</layout>
  <modal>false</modal>
  <draggable>true</draggable>
  <resizable>false</resizable>

  <group>

    <layout>hbox</layout>

    <empty>
      <stretch>false</stretch>
    </empty>
    <text>
      <label>S.M.79 Loads</label>
    </text>
    <empty><stretch>true</stretch></empty>

    <button>
      <legend/>
      <key>Esc</key>
      <pref-width>16</pref-width>
      <pref-height>16</pref-height>
      <binding>
        <command>nasal</command>
        <script>config.load_dialog1.toggle()</script>
      </binding>
    </button>

  </group>

  <hrule/>

  <group>

    <text>
      <label>Machine Guns</label>
    </text>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>Front 7,7 mm Gun</label>
      <!-- <property>sim/model/show-FrontGun</property> -->
      <property>sim/multiplay/generic/bool[1]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-FrontGun</property> -->
        <property>sim/multiplay/generic/bool[1]</property>
      </binding>
      <binding>
        <command>nasal</command>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

  </group>

  <hrule/>

  <group>

    <text>
      <label>Internal Payload</label>
    </text>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>2x 500 Kg Bombs</label>
      <!-- <property>sim/model/show-Bomb1_500</property> -->
      <property>sim/multiplay/generic/bool[19]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb1_500</property> -->
        <property>sim/multiplay/generic/bool[19]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb2_500</property> -->
        <property>sim/multiplay/generic/bool[20]</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_250</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_250</property> -->
        <property>sim/multiplay/generic/bool[9]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_250</property> -->
        <property>sim/multiplay/generic/bool[10]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_250</property> -->
        <property>sim/multiplay/generic/bool[17]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_250</property> -->
        <property>sim/multiplay/generic/bool[18]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_100</property> -->
        <property>sim/multiplay/generic/bool[21]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_100</property> -->
        <property>sim/multiplay/generic/bool[22]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_100</property> -->
        <property>sim/multiplay/generic/bool[23]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_100</property> -->
        <property>sim/multiplay/generic/bool[24]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_100</property> -->
        <property>sim/multiplay/generic/bool[25]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb6_100</property> -->
        <property>sim/multiplay/generic/bool[26]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb7_100</property> -->
        <property>sim/multiplay/generic/bool[27]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb8_100</property> -->
        <property>sim/multiplay/generic/bool[28]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb9_100</property> -->
        <property>sim/multiplay/generic/bool[29]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb10_100</property> -->
        <property>sim/multiplay/generic/bool[30]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-TorpedoR</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>controls/signal2</property> -->
        <property>sim/multiplay/generic/int[12]</property>
        <value>0</value>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>5x 250 Kg Bombs</label>
      <!-- <property>sim/model/show-Bomb1_250</property> -->
      <property>sim/multiplay/generic/bool[8]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb1_250</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb2_250</property> -->
        <property>sim/multiplay/generic/bool[9]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb3_250</property> -->
        <property>sim/multiplay/generic/bool[10]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb4_250</property> -->
        <property>sim/multiplay/generic/bool[17]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb5_250</property> -->
        <property>sim/multiplay/generic/bool[18]</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_100</property> -->
        <property>sim/multiplay/generic/bool[21]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_100</property> -->
        <property>sim/multiplay/generic/bool[22]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_100</property> -->
        <property>sim/multiplay/generic/bool[23]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_100</property> -->
        <property>sim/multiplay/generic/bool[24]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_100</property> -->
        <property>sim/multiplay/generic/bool[25]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb6_100</property> -->
        <property>sim/multiplay/generic/bool[26]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb7_100</property> -->
        <property>sim/multiplay/generic/bool[27]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb8_100</property> -->
        <property>sim/multiplay/generic/bool[28]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb9_100</property> -->
        <property>sim/multiplay/generic/bool[29]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb10_100</property> -->
        <property>sim/multiplay/generic/bool[30]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_500</property> -->
        <property>sim/multiplay/generic/bool[19]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_500</property> -->
        <property>sim/multiplay/generic/bool[20]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-TorpedoR</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>controls/signal2</property> -->
        <property>sim/multiplay/generic/int[12]</property>
        <value>0</value>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>10x 100 Kg Bombs</label>
      <!-- <property>sim/model/show-Bomb1_100</property> -->
      <property>sim/multiplay/generic/bool[21]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb1_100</property> -->
        <property>sim/multiplay/generic/bool[21]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb2_100</property> -->
        <property>sim/multiplay/generic/bool[22]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb3_100</property> -->
        <property>sim/multiplay/generic/bool[23]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb4_100</property> -->
        <property>sim/multiplay/generic/bool[24]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb5_100</property> -->
        <property>sim/multiplay/generic/bool[25]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb6_100</property> -->
        <property>sim/multiplay/generic/bool[26]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb7_100</property> -->
        <property>sim/multiplay/generic/bool[27]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb8_100</property> -->
        <property>sim/multiplay/generic/bool[28]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb9_100</property> -->
        <property>sim/multiplay/generic/bool[29]</property>
      </binding>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-Bomb10_100</property> -->
        <property>sim/multiplay/generic/bool[30]</property>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_250</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_250</property> -->
        <property>sim/multiplay/generic/bool[9]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_250</property> -->
        <property>sim/multiplay/generic/bool[10]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_250</property> -->
        <property>sim/multiplay/generic/bool[17]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_250</property> -->
        <property>sim/multiplay/generic/bool[18]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_500</property> -->
        <property>sim/multiplay/generic/bool[19]</property>
        <value>fasle</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_500</property> -->
        <property>sim/multiplay/generic/bool[20]</property>
        <value>fasle</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-TorpedoR</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>controls/signal2</property> -->
        <property>sim/multiplay/generic/int[12]</property>
        <value>0</value>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

  </group>

  <hrule/>

  <group>

    <text>
      <label>External Payload</label>
    </text>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>Torpedo Left</label>
      <!-- <property>sim/model/show-TorpedoL</property> -->
      <property>sim/multiplay/generic/bool[6]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-TorpedoL</property> -->
        <property>sim/multiplay/generic/bool[6]</property>
        <value>1</value>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

    <layout>vbox</layout>
    <padding>6</padding>
    <checkbox>
      <halign>left</halign>
      <label>Torpedo Right</label>
      <!-- <property>sim/model/show-TorpedoR</property> -->
      <property>sim/multiplay/generic/bool[7]</property>
      <live>true</live>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-TorpedoR</property> -->
        <property>sim/multiplay/generic/bool[7]</property>
        <value>true</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_500</property> -->
        <property>sim/multiplay/generic/bool[19]</property>
        <value>fasle</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_500</property> -->
        <property>sim/multiplay/generic/bool[20]</property>
        <value>fasle</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_250</property> -->
        <property>sim/multiplay/generic/bool[8]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_250</property> -->
        <property>sim/multiplay/generic/bool[9]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_250</property> -->
        <property>sim/multiplay/generic/bool[10]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_250</property> -->
        <property>sim/multiplay/generic/bool[17]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_250</property> -->
        <property>sim/multiplay/generic/bool[18]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb1_100</property> -->
        <property>sim/multiplay/generic/bool[21]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb2_100</property> -->
        <property>sim/multiplay/generic/bool[22]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb3_100</property> -->
        <property>sim/multiplay/generic/bool[23]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb4_100</property> -->
        <property>sim/multiplay/generic/bool[24]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb5_100</property> -->
        <property>sim/multiplay/generic/bool[25]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb6_100</property> -->
        <property>sim/multiplay/generic/bool[26]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb7_100</property> -->
        <property>sim/multiplay/generic/bool[27]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb8_100</property> -->
        <property>sim/multiplay/generic/bool[28]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb9_100</property> -->
        <property>sim/multiplay/generic/bool[29]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>sim/model/show-Bomb10_100</property> -->
        <property>sim/multiplay/generic/bool[30]</property>
        <value>false</value>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </checkbox>

  </group>

  <hrule/>

  <group>

    <layout>vbox</layout>
    <button>
      <row>0</row>
      <legend>RELOAD WEAPONS</legend>
      <binding>
        <command>property-assign</command>
        <!-- <property>controls/signal1</property> -->
        <property>sim/multiplay/generic/int[11]</property>
        <value>0</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <!-- <property>controls/signal2</property> -->
        <property>sim/multiplay/generic/int[12]</property>
        <value>0</value>
      </binding>
      <binding>
        <command>nasal</command>
        <script>turrets.reload_guns();</script>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </button>

  </group>

</PropertyList>
