class Braf_md97lc_base_F: Rifle_Base_F
{
	author="BRAF Team";
	_generalMacro="Braf_md97lc_base_F";
	scope=0;
	displayName="ia2 Base";
	magazines[]=
	{
		"braf_30Rnd_556x45",
		"braf_20Rnd_556x45",
		"braf_30Rnd_556x45_red",
		"braf_30Rnd_556x45_green",
		"braf_30Rnd_556x45_yellow",
		"braf_30Rnd_556x45_Blank"
	};
	magazineWell[]=
	{
		"BRAF_Stanag_556",
		"STANAG_556x45",
		"STANAG_556x45_Large"
	};
	reloadAction="braf_GestureReloadFAP";
	maxZeroing=1600;
	magazineReloadSwitchPhase=0.47999999;
	htMin=8;
	htMax=920;
	inertia=0.5;
	aimTransitionSpeed=1.1;
	dexterity=1.5;
	initSpeed=800;
	recoil="recoil_spar";
	cursor="smg";
	handAnim[]=
	{
		"OFP2_ManSkeleton",
		"\braf\braf_weapons_anim\animations\762mm_FN_FAL\fal_handanim.rtm"
	};
	overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
	discreteDistanceInitIndex=2;
	discreteDistance[]={100,300};
	discreteDistanceCameraPoint[]=
	{
		"eye"
	};
	cameraDir="eye_look";
	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: asdg_UnderSlot
		{
			iconPosition[]={0.30000001,0.80000001};
			iconScale=0.30000001;
		};
	};
	distanceZoomMin=300;
	distanceZoomMax=300;
	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=940;
		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: Braf_md97lc_base_F
{
	author="BRAF Team";
	_generalMacro="braf_MD97LC";
	scope=2;
	model="\braf\braf_weapons_assault_rifles\556mm_MD97_fuzil\MD97LC.p3d";
	displayName="IMBEL MD97LC 5.56mm";
	picture="\braf\braf_weapons_assault_rifles\556mm_MD97_fuzil\data\md97lc_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.60000002;
	aimTransitionSpeed=0.89999998;
	initSpeed=940;
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		mass=50;
	};
	ace_overheating_mrbs=2000;
	ace_overheating_slowdownFactor=1;
	ace_overheating_allowSwapBarrel=1;
	ace_overheating_dispersion=0.75;
	ACE_clearJamAction="braf_GestureClear_barrel_FAL";
	class ItemInfo
	{
		priority=1;
	};
};
class braf_MD97LC_SF: braf_MD97LC
{
	author="BRAF Team";
	_generalMacro="braf_MD97LC_SF";
	class LinkedItems
	{
		class LinkedItemsOptic
		{
			slot="CowsSlot";
			item="optic_Holosight_blk_F";
		};
		class LinkedItemsAcc
		{
			slot="PointerSlot";
			item="acc_pointer_IR";
		};
		class LinkedItemsMuzzle
		{
			slot="MuzzleSlot";
			item="muzzle_snds_M";
		};
	};
};
