Aircraft Mod 2 - Armament

Armament

The .dat file contains the settings for armament. The following is taken directly from the .dat file of the Mig-21. The default file specifies two AAM slots and two BOMB slots, then adding two air to air missiles and two bombs.

Taken from the .dat file:

REM Slots must come before Inits.

AAMSLOT_ 1.72m -0.32m -1.15m

AAMSLOT_ -1.72m -0.32m -1.15m

BOMBSLOT 0.99m -0.32m 0.31m

BOMBSLOT -0.99m -0.32m 0.31m


INITIGUN 3000 #INITIAL GUN

INITIAAM 2 #INITIAL AAM

INITBOMB 2 #INITIAL AGM

What does this all mean? First of all, the items containing the word 'SLOT' should come before the items containing "INIT".

AAMSLOT means air-to-air missile slots (short range, possibly) and BOMBSLOT species bomb pylons.

This is because the first section specifies the armament slots or pylons and their position on the aircraft. The type of slot matters as well, apparently. For air to air combat the bombs should be removed, placing a 'REM' remark comment before the item neatly takes care of this, while leaving the file available for reversal of the edit. The INITGUN item specifies the number of rounds of ammunition. Adding slots and and weapons can be performed by editing this file, although I have not tested this yet. The REM statements at the start of the line render the setting ineffective. Note that many aircraft only have 200 rounds of ammunition for their guns.

REM Slots must come before Inits.

AAMSLOT_ 1.72m -0.32m -1.15m

AAMSLOT_ -1.72m -0.32m -1.15m

REM BOMBSLOT 0.99m -0.32m 0.31m

REM BOMBSLOT -0.99m -0.32m 0.31m


INITIGUN 3000 #INITIAL GUN (Usually 200-300)

INITIAAM 2 #INITIAL AAM

REM INITBOMB 2 #INITIAL AGM

It is possible to add two AAM s instead of bombs, however many Mig 21s were only capable of carrying two missiles.

Note that many aircraft only carry 200-500 rounds of ammunition, so this has to be adjusted.

For more on .dat files see here, the YSHQ entry on .dat files.

The Mig 21 model now with only two under wing stores: Air to Air missiles