BulletPower,6
BulletSpeed,7.6
BulletGravity,0.485
Class,0
BlletSpread,1F
ADS_Spread_coefficient,0.1
BlletSpreadDiffusion,4,0,4,0.5,4,2
Cycle,1

Recoil,7
Recoil_sneaking,5

ReloadTime,30

RemainingBullet,8

Attacking,2.5f
Zoom,1.0f,1.0f,1.0f

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

Texture,M9
GunSound,handmadeguns.beretta,handmadeguns.supu
GunSoundLV,4,4
GunSoundReload,handmadeguns.reload
CanObj,true
ObjModel,m9.mqo
ObjTexture,m9.png
ModelScala,0.5f
InworldScale,2f
CustomFlash,arrow,1
Bursts,1
//Rates,1

attachRestriction,true
allowattach,Suppressor
//allowattach,reddot
allowattach,right
allowattach,Bullet_AT

ModelEquipped,-0.4f,0.7f,-0.3f
SimpleADSOffsetX,0,0,0
SimpleADSOffsetY,0.49,0.49,0.49
SimpleADSOffsetZ,0.8,1,1
ModelRotationX,180f,180f,180f
ModelRotationY,45f,45f,45
ModelRotationZ,180f,180f,180f
	
ModelArm,true
ModelArmRotationR,-1.57f,0f,-1.57f
ModelArmOffsetR,0.38F,0.32F,0.46F
ModelArmRotationL,-0.0f,-2.3f,2.0f
ModelArmOffsetL,0.1f,0.6F,0.1F

SprintingRotation,-30,0f,0f
SprintingPoint,0.0f,-0.4f,0.1f

SoundSpeed,1.5f

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

//Magazine,0,HandmadeGuns,bullet_hg_hmgber

MultiMagazine,HandmadeGuns:bullet_hg_hmgber,HandmadeGuns:bullet_hg_hmgber15,HandmadeGuns:bullet_hg_hmgber17,HandmadeGuns:bullet_hg_hmgber18,HandmadeGuns:bullet_hg_hmgber20,HandmadeGuns:bullet_hg_hmgber30,HandmadeGuns:bullet_hg_hmgber32,HandmadeGuns:bullet_hg_hmgber35,HandmadeGuns:bullet_hg_hmgber50

MagazineSG,0,HandmadeGuns,bullet_shell_hmg
MagazineGL,0,HandmadeGuns,bullet_rr_hmg

MuzzleJump,-4
AddParts,mat1
    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

    AddReloadMotionKey,0,0,0,0,0,0,0,             5,0,0,0,0,0,0
    AddReloadMotionKey,5,0,0,0,0,0,0,             10,0,0,0,-15,0,45
    AddReloadMotionKey,10,0,0,0,-15,0,45,            25,0,0,0,-15,0,45
    AddReloadMotionKey,25,0,0,0,-15,0,45,           30,0,0,0,0,0,0

    AddChildParts,Larm
    	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

    	AddReloadMotionKey,0,0,0,0,0,0,0,            5,0,0,0,0,0,0
    	AddReloadMotionKey,5,0,0,0,0,0,0,            10,0,-2,-1,0,0,0
    	AddReloadMotionKey,10,0,-2,-1,0,0,0,            15,0,-0.5,0,0,0,0

    	AddReloadMotionKey,15,0,-0.5,0,0,0,0,           17,0,-0.5,0,0,0,0
    	AddReloadMotionKey,17,0,-0.5,0,0,0,0,           20,0,0.75,-0.5,0,0,0
    	AddReloadMotionKey,20,0,0.75,-0.5,0,0,0,           22,0,0.75,-0.9,0,0,0
    	AddReloadMotionKey,22,0,0.75,-0.9,0,0,0,           24,0,0.75,-0.5,0,0,0
    	AddReloadMotionKey,24,0,0.75,-0.5,0,0,0,           30,0,0,0,0,0,0
    BackParts
    AddChildParts,Rarm
    	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

    	AddReloadMotionKey,0,0,0,0,0,0,0,            5,0,0,0,0,0,0
    	AddReloadMotionKey,5,0,0,0,0,0,0,            25,0,0,0,0,0,0
    	AddReloadMotionKey,25,0,0,0,0,0,0,           30,0,0,0,0,0,0
    BackParts

    AddChildParts,suppressor
	RenderOnNormal
	SetAsNormalParts
	attachpart
	muzzlepart
    BackParts

    AddChildParts,mat7
	RenderOnNormal
	SetAsNormalParts
	attachpart
	light
    BackParts


    AddChildParts,mat3
        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
	NeedDraw_Current_Magazine_ID_List,true,true,false,false,false,false,false,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,seventeen
        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
	NeedDraw_Current_Magazine_ID_List,false,false,true,false,false,false,false,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,eighteen
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,true,false,false,false,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,twenty
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,false,true,false,false,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,thirty
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,false,false,true,false,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,thirtytwo
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,false,false,false,true,false,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,thirtyfive
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,false,false,false,false,true,false
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,fifty
        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
	NeedDraw_Current_Magazine_ID_List,false,false,false,false,false,false,false,false,true
        AddReloadMotionKey,0,0,0,0,0,0,0,           5,0,-5,-1,0,0,0
        AddReloadMotionKey,5,false,          10
        AddReloadMotionKey,10,0,-2,-0.5,0,0,0,          15,0,0,0,0,0,0
        AddReloadMotionKey,25,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts

    AddChildParts,mat2
        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
        AddRecoilMotionKey,0,0,0,0,0,0,0,           5,0,0,-0.4,0,0,0
        AddRecoilMotionKey,5,0,0,-0.40,0,0,0,       10,0,0,0,0,0,0
        AddRecoilMotionKey,10,0,0,-0.40,0,0,0,       12,0,0,0,0,0,0

        AddReloadMotionKey,0,0,0,0,0,0,0,        1,0,0,-0.4,0,0,0
        AddReloadMotionKey,1,0,0,-0.4,0,0,0,        20,0,0,-0.4,0,0,0
        AddReloadMotionKey,20,0,0,-0.4,0,0,0,       22,0,0,-0.4,0,0,0
        AddReloadMotionKey,22,0,0,-0.4,0,0,0,       24,0,0,0,0,0,0
        AddReloadMotionKey,24,0,0,0,0,0,0,          30,0,0,0,0,0,0
    BackParts
Tabname,HMG_GVCGuns
Name,Beretta M9
HG,Beretta M9

//addRecipe,AR_sample,1,abc,0ef,000,265,265,265,280,265,280,280,280,280
