ammo – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

I remember this function sometimes behaving in bit unexpected ways if weapon accepted more than one magazine type, like many AK47 variant addons, which often include original "AK47" mag type in too magazines[] config. Another example would be tanks which have both "HE" and "AP" magazines loaded in main gun weapon.

--Feersum 11:05, 25 July 2006 (CEST)----


Correct. The magazin string has to be the muzzle name of the weapon. Weapons which shoot only one type of ammo usually use the same muzzle and weapon name, weapons which shoot different types of ammo don't. Example: For the M16 you have to take "M16". For the M16 w/ M203 you have to take "M16Muzzle" or "M203Muzzle". --raedor 11:13, 25 July 2006 (CEST)

Ok, try to find time to test this and then add note about this to actual article. --Feersum 17:09, 25 July 2006 (CEST)

That'd be good, thanks. You can use the EH fired to get a weapon's muzzle name(s) if you don't want to check it in the config (maybe an example for that in the article?). --raedor 18:40, 25 July 2006 (CEST)