class Braf_Vhmg_M2_veh: HMG_M2
{
	displayName="M2 Browning .50 Cal";
	author="BRAF Team";
	magazineReloadTime=10;
	modes[]=
	{
		"manual",
		"close",
		"short",
		"medium",
		"far"
	};
	magazines[]=
	{
		"Braf_100Rnd_127x99_M"
	};
	drySound[]=
	{
		"A3\Sounds_F\arsenal\weapons_vehicles\HMG_050\HMG050_dry",
		1,
		1,
		10
	};
	reloadMagazineSound[]=
	{
		"\braf\braf_static\M2\data\reload-belt-1",
		1,
		1,
		10
	};
	//class manual: MGun
	class manual: MGun
	{
		dispersion=0.00095999998;
		reloadTime=0.12;
		sounds[]=
		{
			"StandardSound"
		};
		class StandardSound
		{
			soundsetshot[]=
			{
				"braf_50_Shot_SoundSet",
				"braf_50_tail_SoundSet"
			};
		};
		soundContinuous=0;
		soundBurst=0;
	};
	class close: manual
	{
		showToPlayer=0;
		soundBurst=0;
		burst=10;
		aiRateOfFire=0.5;
		aiRateOfFireDistance=50;
		minRange=0;
		minRangeProbab=0.050000001;
		midRange=20;
		midRangeProbab=0.57999998;
		maxRange=100;
		maxRangeProbab=0.039999999;
	};
	class short: close
	{
		burst=8;
		aiRateOfFire=2;
		aiRateOfFireDistance=300;
		minRange=50;
		minRangeProbab=0.050000001;
		midRange=150;
		midRangeProbab=0.57999998;
		maxRange=300;
		maxRangeProbab=0.039999999;
	};
	class medium: close
	{
		burst=4;
		aiRateOfFire=3;
		aiRateOfFireDistance=600;
		minRange=200;
		minRangeProbab=0.050000001;
		midRange=500;
		midRangeProbab=0.57999998;
		maxRange=800;
		maxRangeProbab=0.039999999;
	};
	class far: close
	{
		burst=5;
		aiRateOfFire=5;
		aiRateOfFireDistance=1000;
		minRange=600;
		minRangeProbab=0.050000001;
		midRange=800;
		midRangeProbab=0.40000001;
		maxRange=1200;
		maxRangeProbab=0.0099999998;
	};
	class GunParticles
	{
		class FirstEffect
		{
			positionName="usti hlavne";
			directionName="konec hlavne";
			effectName="MachineGunCloud";
		};
		class SecondEffect
		{
			positionName="nabojnicestart";
			directionName="nabojniceend";
			effectName="MachineGunCartridge2";
		};
		class ThirdEffect
		{
			positionName="case_eject_pos";
			directionName="case_eject_dir";
			effectName="MachineGunEject";
		};
	};
};
class Braf_Vhmg_M2_static: Braf_Vhmg_M2_veh
{
	displayName="M2 Browning .50 Cal";
	author="BRAF Team";
	class GunParticles
	{
		class effect1
		{
			positionName="usti hlavne";
			directionName="konec hlavne";
			effectName="MachineGunCloud";
		};
		class effect2
		{
			positionName="case_eject_pos";
			directionName="case_eject_dir";
			effectName="MachineGunEject";
		};
		class effect3
		{
			positionName="nabojnicestart";
			directionName="nabojniceend";
			effectName="MachineGunCartridge2";
		};
	};
};