Home   Help Search Login Register  

Author Topic: Vary Rate Of Fire on MG  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

Offline RM Snipe

  • Members
  • *
  • RM kicks butt!
Vary Rate Of Fire on MG
« on: 22 Aug 2004, 14:48:30 »
Hi All,

How do I slow the rate of fire on a MG,I have been playing around all day trying to figure it out ????????
I have tried changing values in reloadTime,aiRateOfFire,aiRateOfFireDistance etc..??       below is cfgweapon section of cpp.


class cfgweapon
{
                class MGun: Default{};
   class MachineGun7_6: MGun{};
   class mg50: MachineGun7_6
   {
      ammo="Bullet7_6W";
      count=1000;
      initSpeed=1000;
      reloadTime=0.10000;
      sound[]={"\xyz_mg50\Bang.wav",db10,1};
      soundContinuous=0;
      flash=gunfire;
      flashSize=0.9;
      dispersion=0.002500;
      maxLeadSpeed=300;
      aiDispersionCoefX=5;
      aiDispersionCoefY=2;
      ffMagnitude=0.5;
      ffFrequency=11;
      ffCount=6;
      recoil=mgunBurst3;
      aiRateOfFire=0.5;
      aiRateOfFireDistance=1000;
      autoFire = true;
      optics = true;
      muzzlePos="usti hlavne";
      muzzleEnd="konec hlavne";
      
   };
 };

Thanks RM Snipe....

Nulear_Man

  • Guest
Re:Vary Rate Of Fire on MG
« Reply #1 on: 22 Aug 2004, 15:57:59 »
reloadTime=0.10000
the Lower the reloadTime, the faster the Rate of fire
Ps its in secs

Offline RM Snipe

  • Members
  • *
  • RM kicks butt!
Re:Vary Rate Of Fire on MG
« Reply #2 on: 22 Aug 2004, 17:32:35 »
I tried that but seems to have no effect on fire rate..????????