class Mode_SemiAuto
{
	multiplier = 1;
	burst = 1;
	displayName = "SemiAuto";
	dispersion = 0.0002;
	sound[] = {"", db20, 1};
	soundContinuous = 0;
	soundBurst = 1;
	reloadTime = 0.1;
	ffCount = 1;
	ffMagnitude = 0.5;
	ffFrequency = 11;
	flash = "gunfire";
	flashSize = 0.1;
	recoil = "Empty";
	recoilProne = "Empty";
	autoFire = false;
	aiRateOfFire = 0.5;	// delay between shots at given distance
	aiRateOfFireDistance = 500;
	useAction = false;
	useActionTitle = "";
	showToPlayer = true;
	minRange =  30;	minRangeProbab = 0.1;
	midRange = 300;	midRangeProbab = 0.58;
	maxRange = 600;	maxRangeProbab = 0.04;
};
class Mode_Burst : Mode_SemiAuto
{
	displayName = "Burst";
	sound[] = {"", db20, 1};
	soundBurst = 0;
	burst = 3;
	dispersion = 0.0005;

	minRange =  10;	minRangeProbab = 0.1;
	midRange =  60;	midRangeProbab = 0.58;
	maxRange = 150;	maxRangeProbab = 0.04;
};
class Mode_FullAuto : Mode_SemiAuto
{
	displayName = "FullAuto";
	sound[] = {"", db20, 1};
	reloadTime = 0.08;
	autoFire = true;
	dispersion = 0.0005;

	minRange =   1;	minRangeProbab = 0.1;
	midRange =  30;	midRangeProbab = 0.58;
	maxRange =  80;	maxRangeProbab = 0.04;
};

		class KDE_SemiAuto : Mode_SemiAuto
		{
			displayName		="SemiAuto";
			sound[]			={\JSDF_W\AAG_KD\35mmKD.wss,db35,1};
			reloadTime		= 0.3;
			minRange=   2;minRangeProbab=0.10;
			midRange=3000;midRangeProbab=0.7;
			maxRange=4000;maxRangeProbab=0.04;
		};
		class KDE_3Burst : Mode_Burst
		{
			displayName		="Burst";
			sound[]			={\JSDF_W\AAG_KD\35mmKD.wss,db35,1};
			reloadTime		= 0.3;
			dispersion		=0.0015;
			minRange=  2;minRangeProbab=0.10;
			midRange=1500;midRangeProbab=0.7;
			maxRange=2800;maxRangeProbab=0.04;
		};
		class KDE_FullAuto : Mode_FullAuto
		{
			displayName		="FullAuto";
			sound[]			={\JSDF_W\AAG_KD\35mmKD.wss,db35,1};
			reloadTime		= 0.3;
			ffCount			= 17;
			dispersion		= 0.0015;
			minRange=   2;minRangeProbab=0.10;
			midRange= 250;midRangeProbab=0.7;
			maxRange=1500;maxRangeProbab=0.05;
		};
