class Braf_MD97LC_GL_base_F: Rifle_Base_F
{
	author="BRAF Team";
	_generalMacro="Braf_MD97LC_GL_base_F";
	scope=0;
	displayName="MD97GL Base";
	magazines[]=
	{
		"braf_30Rnd_556x45",
		"braf_20Rnd_556x45",
		"braf_30Rnd_556x45_red",
		"braf_30Rnd_556x45_green",
		"braf_30Rnd_556x45_yellow",
		"braf_30Rnd_556x45_Blank",
		"30Rnd_556x45_Stanag",
		"30Rnd_556x45_Stanag_green",
		"30Rnd_556x45_Stanag_red",
		"30Rnd_556x45_Stanag_Tracer_Red",
		"30Rnd_556x45_Stanag_Tracer_Green",
		"30Rnd_556x45_Stanag_Tracer_Yellow"
	};
	magazineWell[]=
	{
		"BRAF_Stanag_556",
		"STANAG_556x45",
		"STANAG_556x45_Large"
	};
	reloadAction="braf_GestureReloadFAP";
	recoil="recoil_dmr_03";
	maxZeroing=1600;
	handAnim[]=
	{
		"OFP2_ManSkeleton",
		"\braf\braf_weapons_anim\animations\556m_IA2\hand_m16a4_m203.rtm"
	};
	overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
	discreteDistanceInitIndex=2;
	discreteDistance[]={100,300};
	discreteDistanceCameraPoint[]=
	{
		"eye"
	};
	cameraDir="eye_look";
	cursor="smg";
	class Library
	{
		libTextDesc="IMBEL MD97 Assault Rifle";
	};
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		class MuzzleSlot: MuzzleSlot
		{
			linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
			compatibleItems[]=
			{
				"muzzle_snds_M"
			};
			iconPosition[]={0.12,0.43099999};
			iconScale=0.15000001;
		};
		class CowsSlot: asdg_OpticRail1913_short
		{
			iconPosition[]={0.5,0.36000001};
			iconScale=0.15000001;
		};
		class PointerSlot: asdg_FrontSideRail
		{
			iconPosition[]={0.33000001,0.40000001};
			iconScale=0.2;
		};
		class UnderBarrelSlot
		{
		};
	};
	muzzles[]=
	{
		"this",
		"braf_M203"
	};
	class braf_M203: UGL_F
	{
		displayName="Granade Launcher";
		descriptionShort="Granade Launcher";
		useModelOptics=0;
		useExternalOptic=0;
		reloadAction="GestureReloadMk20UGL";
		reloadMagazineSound[]=
		{
			"A3\Sounds_F\arsenal\weapons\Rifles\Mk20\MK20_UGL_reload",
			0.79432797,
			1,
			10
		};
		magazines[]=
		{
			"1Rnd_HE_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"1Rnd_SmokeGreen_Grenade_shell",
			"1Rnd_SmokeYellow_Grenade_shell",
			"1Rnd_SmokePurple_Grenade_shell",
			"1Rnd_SmokeBlue_Grenade_shell",
			"1Rnd_SmokeOrange_Grenade_shell"
		};
		discreteDistanceCameraPoint[]=
		{
			"OP_eye",
			"OP_eye2",
			"OP_eye3",
			"OP_eye4",
			"OP_eye5"
		};
		discreteDistance[]={50,100,150,200,250};
		discreteDistanceInitIndex=1;
		magazineReloadSwitchPhase=0.49000001;
		maxZeroing=500;
		cameraDir="OP_look";
	};
	changeFiremodeSound[]=
	{
		"braf\braf_weapons_sound\weapons\weap_fireselctor.ogg",
		5,
		1,
		5
	};
	drySound[]=
	{
		"braf\braf_weapons_sound\weapons\weap_trigger_empty.ogg",
		3,
		1,
		10
	};
	reloadMagazineSound[]=
	{
		"braf\braf_weapons_sound\weapons\IA2\IA2_reload.ogg",
		1,
		1,
		10
	};
	modes[]=
	{
		"Single",
		"FullAuto",
		"single_close",
		"single_medium",
		"single_far",
		"fullauto_medium"
	};
	bullet1[]=
	{
		"A3\sounds_f\weapons\shells\5_56\metal_556_01",
		0.63095737,
		1,
		15
	};
	bullet2[]=
	{
		"A3\sounds_f\weapons\shells\5_56\metal_556_02",
		0.63095737,
		1,
		15
	};
	bullet3[]=
	{
		"A3\sounds_f\weapons\shells\5_56\metal_556_03",
		0.63095737,
		1,
		15
	};
	bullet4[]=
	{
		"A3\sounds_f\weapons\shells\5_56\metal_556_04",
		0.63095737,
		1,
		15
	};
	bullet5[]=
	{
		"A3\sounds_f\weapons\shells\5_56\dirt_556_01",
		0.63095737,
		1,
		15
	};
	bullet6[]=
	{
		"A3\sounds_f\weapons\shells\5_56\dirt_556_02",
		0.63095737,
		1,
		15
	};
	bullet7[]=
	{
		"A3\sounds_f\weapons\shells\5_56\dirt_556_03",
		0.63095737,
		1,
		15
	};
	bullet8[]=
	{
		"A3\sounds_f\weapons\shells\5_56\dirt_556_04",
		0.63095737,
		1,
		15
	};
	bullet9[]=
	{
		"A3\sounds_f\weapons\shells\5_56\grass_556_01",
		0.63095737,
		1,
		15
	};
	bullet10[]=
	{
		"A3\sounds_f\weapons\shells\5_56\grass_556_02",
		0.63095737,
		1,
		15
	};
	bullet11[]=
	{
		"A3\sounds_f\weapons\shells\5_56\grass_556_03",
		0.63095737,
		1,
		15
	};
	bullet12[]=
	{
		"A3\sounds_f\weapons\shells\5_56\grass_556_04",
		0.63095737,
		1,
		15
	};
	soundBullet[]=
	{
		"bullet1",
		0.082999997,
		"bullet2",
		0.082999997,
		"bullet3",
		0.082999997,
		"bullet4",
		0.082999997,
		"bullet5",
		0.082999997,
		"bullet6",
		0.082999997,
		"bullet7",
		0.082999997,
		"bullet8",
		0.082999997,
		"bullet9",
		0.082999997,
		"bullet10",
		0.082999997,
		"bullet11",
		0.082999997,
		"bullet12",
		0.082999997
	};
	class Single: Mode_SemiAuto
	{
		class BaseSoundModeType;
		class StandardSound: BaseSoundModeType
		{
			soundSetShot[]=
			{
				"TRG20_Shot_SoundSet",
				"TRG20_Tail_SoundSet",
				"TRG20_InteriorTail_SoundSet"
			};
		};
		class SilencedSound: BaseSoundModeType
		{
			SoundSetShot[]=
			{
				"TRG20_silencerShot_SoundSet",
				"TRG20_silencerTail_SoundSet",
				"TRG20_silencerInteriorTail_SoundSet"
			};
		};
		reloadTime=0.1;
		dispersion=0.00057999999;
		initSpeed=800;
		recoil="recoil_single_ebr";
		recoilProne="recoil_single_prone_ebr";
		minRange=2;
		minRangeProbab=0.30000001;
		midRange=350;
		midRangeProbab=0.69999999;
		maxRange=500;
		maxRangeProbab=0.050000001;
	};
	class FullAuto: Mode_FullAuto
	{
		class BaseSoundModeType;
		class StandardSound: BaseSoundModeType
		{
			soundSetShot[]=
			{
				"TRG20_Shot_SoundSet",
				"TRG20_Tail_SoundSet",
				"TRG20_InteriorTail_SoundSet"
			};
		};
		class SilencedSound: BaseSoundModeType
		{
			SoundSetShot[]=
			{
				"TRG20_silencerShot_SoundSet",
				"TRG20_silencerTail_SoundSet",
				"TRG20_silencerInteriorTail_SoundSet"
			};
		};
		reloadTime=0.107;
		dispersion=0.00057999999;
		recoil="recoil_auto_ebr";
		recoilProne="recoil_auto_prone_ebr";
		minRange=0;
		minRangeProbab=0.89999998;
		midRange=15;
		midRangeProbab=0.69999999;
		maxRange=30;
		maxRangeProbab=0.050000001;
		aiRateOfFire=1e-006;
	};
	class single_close: Single
	{
		//requiredOpticType=1;
		showToPlayer=0;
		minRange=2;
		minRangeProbab=0.050000001;
		midRange=300;
		midRangeProbab=0.80000001;
		maxRange=500;
		maxRangeProbab=0.0099999998;
		aiRateOfFire=2;
		aiRateOfFireDistance=300;
	};
	class single_medium: single_close
	{
		minRange=300;
		minRangeProbab=0.050000001;
		midRange=500;
		midRangeProbab=0.69999999;
		maxRange=700;
		maxRangeProbab=0.050000001;
		aiRateOfFire=2;
		aiRateOfFireDistance=500;
	};
	class single_far: single_medium
	{
		//requiredOpticType=2;
		minRange=300;
		minRangeProbab=0.050000001;
		midRange=700;
		midRangeProbab=0.5;
		maxRange=2000;
		maxRangeProbab=0.050000001;
		aiRateOfFire=4;
		aiRateOfFireDistance=600;
	};
	class fullauto_medium: FullAuto
	{
		showToPlayer=0;
		burst=3;
		minRange=2;
		minRangeProbab=0.5;
		midRange=50;
		midRangeProbab=0.69999999;
		maxRange=100;
		maxRangeProbab=0.050000001;
		aiRateOfFire=2;
	};
	aiDispersionCoefY=3;
	aiDispersionCoefX=2;
};
class braf_MD97LC_GL: Braf_MD97LC_GL_base_F
{
	author="BRAF Team";
	_generalMacro="braf_MD97LC_GL";
	scope=2;
	model="\braf\braf_weapons_assault_rifles\556mm_MD97_GL\MD97GL.p3d";
	dexterity=1.6799999;
	displayName="IMBEL MD97LG 5.56mm";
	picture="\braf\braf_weapons_assault_rifles\556mm_MD97_GL\data\md97lg_ui.paa";
	UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
	hiddenSelections[]=
	{
		"Camo"
	};
	hiddenSelectionsTextures[]=
	{
		"\braf\braf_weapons_assault_rifles\556mm_MD97_fuzil\data\MD97LC_CO.paa"
	};
	descriptionShort="IMBEL MD97 Assault Rifle";
	inertia=0.80000001;
	aimTransitionSpeed=0.69999999;
	initSpeedinitSpeed=800;
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		mass=95.901047;
	};
	ace_overheating_mrbs=2000;
	ace_overheating_slowdownFactor=1;
	ace_overheating_allowSwapBarrel=1;
	ACE_barrelLength=440;
	ACE_twistDirection=1;
	ace_railHeightAboveBore=3.5;
	ACE_barrelTwist=305;
	ACE_Overheating_Dispersion=0.75;
	ACE_clearJamAction="braf_GestureClear_barrel_FAL";
	class ItemInfo
	{
		priority=1;
	};
};
class braf_MD97LC_GL_Dot: braf_MD97LC_GL
{
	author="BRAF Team";
	_generalMacro="braf_MD97LC_GL_Dot";
	class LinkedItems
	{
		class LinkedItemsOptic
		{
			slot="CowsSlot";
			item="braf_Dot";
		};
		class LinkedItemsAcc
		{
			slot="PointerSlot";
			item="acc_flashlight";
		};
	};
};
