Jump to content
Sign in to follow this  
Scheintot887

M242 Dispersion

Recommended Posts

Hey guys.

How I change the dispersion of the M242 Bushmaster?

class CfgWeapons {



   class CannonCore;

   class M197: CannonCore {
   	class manual: CannonCore {
	dispersion = 1.11111;



};
   };

};

This works for the Cobra but not for the M242 Bushmaster.

How it work for the Bushmaster?

EDIT:

Ok, forget it. It works with:

class CfgWeapons {

class CannonCore;

class M242 : CannonCore {

               scope=1;
               displayName="M242 1 Round";
               nameSound="cannon";
               cursor="Vehicle_W_MG";
               cursorAim="\ca\Weapons\Data\clear_empty";
               cursorSize=1;
               burst=5;
               reloadTime=0.02;
               autoFire=1;
               modes[]={"HighROF","close","short","medium","far"};
               shotFromTurret=1;
               canLock=2;
               aiRateOfFire=1;
               aiRateOfFireDistance=1000;
               magazines[]={"210Rnd_25mm_M242_HEI","210Rnd_25mm_M242_APDS"};
               class LowROF : CannonCore {

                       displayName="M242 (100 rpm)";
                       reloadTime=0.6;
                       soundContinuous=0;
                       flash="gunfire";
                       flashSize=0.1;
                       recoil="Empty";
                       aiDispersionCoefX=6;
                       aiDispersionCoefY=6;
                       ffMagnitude=0.5;
                       ffFrequency=11;
                       ffCount=6;
                       minRange=1;
                       minRangeProbab=0.04;
                       midRange=2;
                       midRangeProbab=0.06;
                       maxRange=3;
                       maxRangeProbab=0.004;
                       dispersion=0.0060;
                       };
               };
       };
};

But how I add a mode? Singleshot, Burst Shot or something like that to the Bushmaster? Just want to know it.

Edited by Scheintot887

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×