Payload Creation

The CFS2 Dp Payload sections seem to work in the following fashion :-

[PAYLOAD.#]
mount.#=<weapon_name>,<number_of_weapons>,<other_mount_to_fire>

The number_of_weapons will usually be 1 but sometimes (like for Bombs
carried internally) this may be 2 or more. If so then it will act like
"ammunition". You can fire this "weapon" that number of times.

The other_mount_to_fire is -1 if the weapon fires alone (or for pure "mounts"
that don`t actually fire anything) otherwise it is the number of the
companion mount

Examples :-

[PAYLOAD.6]
mount.6=wep_pylon_us_rocket, 1, -1     ;just a mount
mount.7=wep_us_5_rocket_navy, 1, 9     ;single weapon - fired with mount.9
mount.8=wep_pylon_us_rocket, 1, -1
mount.9=wep_us_5_rocket_navy, 1, -1    ;single weapon - also fires mount.7
mount.10=wep_pylon_us_rocket, 1, -1
mount.11=wep_us_5_rocket_navy, 1, 13   ;single weapon - fired with mount.13
mount.12=wep_pylon_us_rocket, 1, -1
mount.13=wep_us_5_rocket_navy, 1, -1   ;single weapon - also fires mount.11
mount.14=wep_pylon_us_rocket, 1, -1
mount.15=wep_us_5_rocket_navy, 1, 17
mount.16=wep_pylon_us_rocket, 1, -1
mount.17=wep_us_5_rocket_navy, 1, -1
mount.18=wep_pylon_us_rocket, 1, -1
mount.19=wep_us_5_rocket_navy, 1, 21
mount.20=wep_pylon_us_rocket, 1, -1
mount.21=wep_us_5_rocket_navy, 1, -1

[PAYLOAD.7]
mount.6=wep_pod_rocket, 1, -1            ;just a mount
mount.7=wep_multi_rocket_25, 25, 9       ;25 rockets linked to mount.9
mount.8=wep_pod_rocket, 1, -1
mount.9=wep_multi_rocket_25, 25, -1      ;this will fire with mount.7
mount.0=wep_pylon_ja_wing, 1, -1
mount.1=wep_napalm, 1, -1                ;single weapon. Fires on its own

The number of mounts you can use in a Dp seems to be limited to 22 (mount.0
to mount.21)

Payloads will only function correctly if the Aircraft Dp file contains
appropriate "dummy" gunstations and guns for the given weapon type

gunstation.4=2,-1,4,0.00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0  ;Rockets
gunstation.5=3,21,8,0.00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0  ;Bombs
gunstation.6=5,62,32,0.00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;Torpedos

Each gunstation will have a corresponding gun.x entry further down the dp.
The values in this entry set the maximum of a particular weapon type that
can be carried. Often the "Bomb" gunstation will have a gun setting like:

[Guns.5]
gun.0=3,0,0,0,0,0,0,0

and this means that the aircraft will not carry more than 3 bombs. This
number can safely be altered to a number greater than the maximum number
of bombs you will ever put in a payload. 
