Ok this is what you probably did wrong...
class CfgAmmo
{
class default {};
class BulletSingle:default {};
class DRG_SA80mag:BulletSingle
thats the same classname as your magazine, that could be causing some of the errors. Also, you put ammo= in the weapon classname, but it goes in the mag classname. And also:
class DRG_SA80GL:GrenadeLauncher
{
scopeWeapon=public;
scopeMagazine=public;
displayName="SA80+Grenade Launcher";
model="\DRG_SA80\DRG_SA80.p3d";
modelOptics="optika_m16";
picture="";
optics=true;
opticsZoomMin=0.35;
opticsZoomMax=0.35;
muzzles[]={"SA80Muzzle","SA80GLMuzzle"};
class SA80Muzzle:DRG_SA80
{
magazines[]={"DRG_SA80mag"};
};
class SA80GLMuzzle:DRG_SA80GL
{
displayName="SA80 Grenade Launcher";
optics=1;
modelOptics="optika_m16_granatomet";
opticsZoomMin=0.7;
opticsZoomMax=0.7;
sound[]={"weaponsM16GrenadeLaunch",0.000316,1};
magazines[]={"SA80GLmag","Flare","FlareGreen","FlareRed","FlareYellow"};
};
};
*Should be based from GrenadeLauncher
*Use M16GrenadeLauncher (not exactly sure of name) because GrenadeLauncher is ONLY a grenade launcher, and does not have all the proper atributes
There could be more but I didnt see them, and not to sound offensive in any way, but that config is real mess, maybe you should find some tuts, or do what I do, look in the comented config files. Or if the config files are too confusing (because they use the same classnames and stringtables and etc.) unpbo some addons and see how other people do it....