Ammotype is the index number of the weapon that the weapon draws ammo from, or the ID of the ship that a fighter bay launches.
Thus, for example, the Hail and Storm chainguns:
Outfits:
Hail chaingun (169) Modtype1: 1 (weapon), Modval1: 155
Chaingun Ammo (170) Modtype1: 3 (ammo), Modval1: 155
Storm chaingun (215) Modtype1: 1 (weapon), Modval1: 161
So far, this makes sense, right?
Weapons:
Hail chaingun (155) Ammotype: 27
Storm chaingun (161) Ammotype: 27
Why 27? Ammotype uses the index number, while most everything else uses the ID#. The index number and ID number mean the same thing, only the latter starts at 128, while the former starts at 0. (Index #s are what are used internally by EVN, supposadly). So, to get the Index number to put into the ammo type, we take the ID of the weapon we want to use ammo from, and subtract 128. Since we want the Hail Chaingun (155) to use it's own ammo, we set it's Ammotype field to (155-128=27).
Since the Storm chaingun should use hail chaingun ammo, we set it's ammotype to 27 as well.
Now, note that there is no reason why the developers couldnt have given Chaingun Ammo a Modval1 of 161 so it pointed to the Storm Chaingun instead of the Hail Chaingun, and given the two chainguns an ammotype of (161-128=33).
And if anyone thinks this is complicated, it is.
Fighter bays are much friendlier: The ammotype is simply the ID# of the fighter it launches, while the ammunition outfit points to the ID of the weapon just like normal ammo.
Good luck
-Az
------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)