FROM:    ANTHONY SHIMIZU   (PWFK85A)
SUBJECT: SWOTL GROUP

     This is a repost of a previous note of what I have
on placing the Weapons string.  The total numbers of all the
weapons in each rack are held at addresses (All addresses
will be standard hex positions, not Debug) $e4, $e5, & $e6.
The actual positioning of the weapons are held at addresses
$df, $e0, $e1.  Example--->
P51d weapon racks

     Center             Inner            Outer
   |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
 2 |  None         | 4   None        | 8  None  |
 3 | 1-2000 bmb    | 5  2-75 Drop    |          |
   |               | 6  2-1000 bmb   |          |
   |               | 7  Rockets      |          |
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Total:  two              four            one
                                                       >>>
     Here's what my hex-editor reveals at the following
addresses for the P51d.Spc.
  $Df  02, 04, 08
  $E4  02, 04, 01

     As you can tell the totals of each rack are held at
$e4.   Now, on the left side of the column are numbers that
pertain to the weapon's positioning and the FIRST numbers
in each column corresponds with what is shown at address
$Df.  This means that the weapons strings for the Center
rack starts at .SPC address $108 - $118, for the Inner >>>
rack it's $128 - $158, and for the Outer rack it's just
$168.   Let me draw another chart with different weapons so
you can compare both.
        Center             Inner          Outer
    |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    |02  None         |05  None     |09   None     |
    |    1-200 Drop   |    1-20 mm  |     2-75 Drop|
    |    1 2000 bmb   |    Rockets  |     Rockets  |
    |                 |    .50 Mg(4)|              |
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Total:    Three            Four            Three
     If the above chart were plotted in an .SPC file, the
addresses at $Df and $E4 will show:
     $DF  02 05 09
     $E4  03 04 03

     Note: You can never have more that 10 weapon selections
in all the racks; NO ATTACHMENT counts as one weapon as
well.   Addresses $e8 and $f8 in a fighter .SPC file are
reserved for the standard weapons.
     If you need more clarification, just let me know.
                                               --Anthony

