BulletPower,8
BulletSpeed,18
BulletGravity,0.485

BlletSpread,0.3F
ADS_Spread_coefficient,0.1
BlletSpreadDiffusion,6,0,1.5,0.1,2,0.7
Cycle,1.5

Motion,0.75

Recoil,3
Recoil_sneaking,2.5

ReloadTime,100

RemainingBullet,100

Attacking,6.0f
Zoom,1.0f,1.0f,4.0f

ZoomRender,true
ZoomRenderType,true,true,false
ZoomRenderTypeTxture,false,false,true

Texture,M249
GunSound,handmadeguns.m249,handmadeguns.supu
GunSoundReload,handmadeguns.reload
CanObj,true
ObjModel,m249.mqo
ObjTexture,m249.png
ModelScala,0.5f
InworldScale,1.8f
CustomFlash,arrow,1
Bursts,-1,-1,-1,-1
Rates,1.411,1.262,1.043,1.62

attachRestriction,true
//allowattach,reddot
//allowattach,scope
//todo acog

Canfix,true
FixAsEntity,true
OnEntity_PlayerPosOffset,0,0,3

//ModelEquipped,-0.7f,0.7f,0.0f
ModelEquipped,-0.5f,0.5f,-0.7f
SimpleADSOffsetX,0,0,0
SimpleADSOffsetY,1.075,1.075,1.075
SimpleADSOffsetZ,0.6,0.6,0.6
ModelRotationX,180f,180f,180f
ModelRotationY,45f,45f,45
ModelRotationZ,180f,180f,180f

OnEntity_PlayerPosOffset,0,0,3

OnEntity_Yoffset,0.195
OnEntity_RotationPitchPoint,0,-0.195,0.46
OnEntity_BarrelPoint,0,0.145,0.6

ModelArm,true
ModelArmRotationR,-1.57f,0f,-1.57f
//ModelArmOffsetR,0.4f,0.3f,0.5f
//ModelArmRotationL,-0.0f,-2.3f,2.0f
//ModelArmOffsetL,0.1f,0.3f,-1.2f

ModelArmOffsetR,0.4f,0.1f,0.2f
ModelArmRotationL,-0.0f,-2.3f,2.0f
ModelArmOffsetL,0.5f,0.4f,-0.3f

//SprintingPoint,0.5f,0.0f,0.5f
SprintingPoint,0.5f,-0.2f,0.3f
SprintingRotation,20f,60f,0f

SoundSpeed,1.2f

ScopeTexture,null.png,null.png,scope.png
RenderCross,false

//Magazine,0,HandmadeGuns,bullet_lmg_hmg_5_56
MultiMagazine,HandmadeGuns:bullet_lmg_hmg_5_56,HandmadeGuns:5.56mm magazine
MagazineSG,0,HandmadeGuns,bullet_shell_hmg
MagazineGL,0,HandmadeGuns,bullet_rr_hmg


AddParts,Base_Sys
	AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
	RenderOnNormal
	AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
	AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
	AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
	AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	AddYawInfoKey,-360,0,0,0,0,-360,0		,360,0,0,0,0,360,0

//AddChildParts,SYS_CMAG_Branch
//		AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
//		AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
//		RenderOnNormal
//		AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
//		AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
//		AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
//		AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
//		NeedDraw_Current_Magazine_ID_List,false,true


	AddChildParts,mat1
		AddPartsRotationCenterAndRotationAmount,0,-1.95,4.60,0,0,0
		RenderOnNormal
		AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
		AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
		AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
		AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
		AddPitchInfoKey,-360,0,0,0,-360,0,0        ,360,0,0,0,360,0,0
	
		AddReloadMotionKey,0 ,0,0,0,0,0,0,			5 ,0,0,0,0,0,0
		AddReloadMotionKey,5 ,0,0,0,0,0,0,			15,0,0,0,0,0,-10
		AddReloadMotionKey,15,0,0,0,0,0,-10,		  40,0,0,0,0,0,-10
		AddReloadMotionKey,40,0,0,0,0,0,-10,		  80,0,0,0,0,0,-10
		AddReloadMotionKey,80,0,0,0,0,0,-10,		  84,0,0,0,0,0,0
		AddReloadMotionKey,84,0,0,0,0,0,0,		   95,0,0,0,0,0,0
		AddReloadMotionKey,95,0,0,0,0,0,0,		   100,0,0,0,0,0,0


	
		AddChildParts,Larm
			AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
			RenderOnNormal
			AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	
			AddReloadMotionKey,0,0,0,0,0,0,0,			5,0,1,-5,0,0,0
			AddReloadMotionKey,5,0,1,-5,0,0,0,			15,0,5,0,0,0,0
	
			AddReloadMotionKey,15,0,5,0,0,0,0,		 30,1,-2.5,-3,0,0,0
	
			AddReloadMotionKey,30,1,-2.5,-3,	0,0,0,	40,1,-0.5,-3,	0,0,0
	
			AddReloadMotionKey,40,1,-0.5,-3,	0,0,0,	42,1,0.5,-3,	0,0,0
			AddReloadMotionKey,42,1,0.5,-3,	0,0,0,		52,0.4,1.5,-3,	0,0,0
			AddReloadMotionKey,52,0.4,1.5,-3,	0,0,0,	60,0.4,1.3,-3,	0,0,90
	
			AddReloadMotionKey,60,0.4,1,-3,	0,0,90,		65,0,5,0,0,0,0
			AddReloadMotionKey,65,0,5,0,0,0,0,	  	80,0,1,-5,0,0,0
			AddReloadMotionKey,80,0,1,-5,0,0,0,	  	84,0,0,0,0,0,0
	
			AddReloadMotionKey,84,0,0,0,0,0,0,	  100,0,0,0,0,0,0
		BackParts
		AddChildParts,Rarm
			AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
			RenderOnNormal
			AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	
			AddReloadMotionKey,0,0,0,0,0,0,0,			84,0,0,0,0,0,0
			AddReloadMotionKey,84,0,0,0,0,0,0,		   88,-0.5,0.75,2,0,0,0
			AddReloadMotionKey,88,-0.5,0.75,2,0,0,0,	 91,-0.5,0.75,1.4,0,0,0
			AddReloadMotionKey,91,-0.5,0.75,1.4,0,0,0,   95,-0.5,0.75,2,0,0,0
			AddReloadMotionKey,95,-0.5,0.75,2,0,0,0,	 98,0,0,0,0,0,0
			AddReloadMotionKey,98,0,0,0,0,0,0,		   100,0,0,0,0,0,0
		BackParts

	//	AddChildParts,Cmag
	//		AddPartsRotationCenterAndRotationAmount,0,0,0.0,0,0,0
	//		RenderOnNormal
	//		AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
	//		AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
	//		AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
	//		AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	//			
	//		AddReloadMotionKey,0,0,0,0,0,0,0,           10,0,-5,-1,0,0,0
	//		AddReloadMotionKey,10,false,          30
	//		AddReloadMotionKey,30,0,-2,-0.5,0,0,0,      60,0,0,0,0,0,0
	//		AddReloadMotionKey,60,0,0,0,0,0,0,          75,0,0,0,0,0,0
	//	BackParts
	
	AddChildParts,obj1
			SetAsNormalParts
			AddReloadMotionKey,0,0,0,0,0,0,0,		   5,0,-5,-1,0,0,0
			AddReloadMotionKey,5,false,		  10
			AddReloadMotionKey,30,0,-2,-0.5,0,0,0,	  40,0,0,0,0,0,0
			AddReloadMotionKey,40,0,0,0,0,0,0,		  75,0,0,0,0,0,0
			NeedDraw_Current_Magazine_ID_List,false,true
	BackParts

	AddChildParts,556ejector
				AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
				RenderOnNormal
				AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	BackParts

	AddChildParts,249stock
				AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
				RenderOnNormal
				AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	BackParts

	AddChildParts,249barrel
				AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
				RenderOnNormal
				AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	BackParts

		AddChildParts,mat22
			AddPartsRotationCenterAndRotationAmount,0,1.700,2.100,0,0,0
			RenderOnNormal
			AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
	
			AddReloadMotionKey,0,0,0,0,0,0,0,			5,0,0,0,0,0,0
			AddReloadMotionKey,5,0,0,0,0,0,0,			15,0,0,0,90,0,0
			AddReloadMotionKey,12,0,0,0,90,0,0,			65,0,0,0,90,0,0
			AddReloadMotionKey,65,0,0,0,90,0,0,			80,0,0,0,0,0,0
			AddReloadMotionKey,80,0,0,0,0,0,0,			100,0,0,0,0,0,0
	
			AddChildParts,mat20
				AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
				RenderOnNormal
				AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
			BackParts
		BackParts
		AddChildParts,mat3
			AddPartsRotationCenterAndRotationAmount,0.3425,2.150,0.0,0,0,0
			RenderOnNormal
			AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
			NeedDraw_Current_Magazine_ID_List,true,false
			AddReloadMotionKey,0,0,0,0,0,0,0,		   5,0,-5,-1,0,0,-180
			AddReloadMotionKey,5,false,		  	30
			AddReloadMotionKey,30,0,-2,0,0,0,0,		40,0,0,0,0,0,0
			AddReloadMotionKey,40,0,0,0,0,0,0,	  	100,0,0,0,0,0,0
	
			AddChildParts,mat31
				AddPartsRotationCenterAndRotationAmount,0.2000,1.300,0,0,0,0
				RenderOnNormal
				AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
				AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
				AddReloadMotionKey,0,false,			30
				AddReloadMotionKey,30,0,0,0,0,0,-90,	42,0,0,0,0,0,-90
				AddReloadMotionKey,42,0,0,0,0,0,-90,	55,0,0,0,0,0,-5
				AddReloadMotionKey,55,0,0,0,0,0,-5,	60,0,0,0,0,0,0
				AddReloadMotionKey,60,0,0,0,0,0,0,	100,0,0,0,0,0,0
			BackParts
		BackParts

		AddChildParts,mat21
			AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
			RenderOnNormal
			AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnRecoilOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnCockOffsetAndRotation,0,0,0,0,0,0
			AddPartsOnReloadOffsetAndRotation,0,0,0,0,0,0
		BackParts


BulletNameALL,byfrou01_PinkTracer
Tabname,HMG_GVCGuns
Name,FN M249 (Minimi)
LMG,FN M249 (Minimi)
