BulletPower,31
BulletSpeed,17
BulletGravity,0.485

BlletSpread,0.0f
ADS_Spread_coefficient,3.0
BlletSpreadDiffusion,12,0,1.8,0.2,4,1,0.6

Canfix,true
NeedFix,false
FixAsEntity,true
OnEntity_BarrelPoint,0,0.17047,1.23809
OnEntity_RotationPitchPoint,0,-0.31524,-0.01838
OnEntity_RotationYawPoint,0,-0.31524,-0.01838
OnEntity_Yoffset,0.18
OnEntity_PlayerPosOffset,0,-0.4,1.4
//Turretanglelimit,30,-12,45,-45

//ThirdModelEquipped,0,0.2,-0.4

UnderBarrelWeapon,0

Cycle,2

Motion,0.35

Recoil,30
Recoil_sneaking,7.5

ReloadTime,65

RemainingBullet,10

Attacking,5.0f
Zoom,8.0F,8.0F,16.0f

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

Texture,M82A3
GunSound,handmadeguns.barret,handmadeguns.supu
GunSoundReload,handmadeguns.reload
CanObj,true
ObjModel,m82a3.mqo
ObjTexture,m82a3.png
ModelScala,0.5f
InworldScale,1.8f
CustomFlash,arrow,1
Bursts,1
//Rates,1
attachRestriction,true
//allowattach,Bullet_Frag
//allowattach,Bullet_AP
allowattach,scope

ModelEquipped,-0.7f,0.35f,-0.8f
ModelHigh,0.99F,0.99F,0.99F
//ModelWidthX,0.6945f,0.6945f,0.6945f
//ModelWidthZ,0.5f,0.5f,0.5f
ModelRotationX,180f,180f,180f
ModelRotationY,45f,45f,45
ModelRotationZ,180f,180f,180f

ModelArm,true
ModelArmRotationR,-1.57f,0f,-1.57f
ModelArmOffsetR,0.4f,0.25f,0.33f
ModelArmRotationL,-0.0f,-1.85f,2.0f
ModelArmOffsetL,0.4f,0.25f,-0.5f

SprintingPoint,0.5f,0.0f,0.5f
SprintingRotation,20f,60f,0f

SoundSpeed,1

ScopeTexture,scope_m82a3.png,scope_m82a3.png,scope_m82a3_16.png
RenderCross,false

//Magazine,0,HandmadeGuns,12.7mm Magazine
MultiMagazine,HandmadeGuns:12.7mm Magazine,HandmadeGuns:12.7mm Magazine HE,HandmadeGuns:12.7mm Magazine5
MagazineSG,0,HandmadeGuns,bullet_shell_hmg
MagazineGL,0,HandmadeGuns,bullet_rr_hmg

AddParts,mat1
    AddYawInfoKey,-360,0,0,0,0,-360,0		,360,0,0,0,0,360,0
    AddPitchInfoKey,-40,0,0,0,-40,0,0 , 360,0,0,0,360,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,            15,0,0,0,15,0,30
    AddReloadMotionKey,15,0,0,0,15,0,30,          30,0,0,0,15,0,30
    AddReloadMotionKey,30,0,0,0,15,0,30,          35,0,0,0,15,0,0
    AddReloadMotionKey,35,0,0,0,15,0,0,           45,0,0,0,15,0,0
    AddReloadMotionKey,45,0,0,0,15,0,0,           50,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,         30,0,0,-1,0,0,0

    	AddReloadMotionKey,30,0  ,0   ,-1  ,0,0, 0,    38,0,0,0,0,0,0
    	AddReloadMotionKey,38,0,0,0,0,0,0,      50,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,            34,0,0,0,0,0,0
    	AddReloadMotionKey,34,0,0,0,0,0,0,           38,-0.5,0.75,2,0,0,0
    	AddReloadMotionKey,38,-0.5,0.75,2,0,0,0,     41,-0.5,0.75,1.4,0,0,0
    	AddReloadMotionKey,41,-0.5,0.75,1.4,0,0,0,   45,-0.5,0.75,2,0,0,0
    	AddReloadMotionKey,45,-0.5,0.75,2,0,0,0,     48,0,0,0,0,0,0
    	AddReloadMotionKey,48,0,0,0,0,0,0,           50,0,0,0,0,0,0
    BackParts
    AddChildParts,mat4
    	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
        attachpart
        dot
    BackParts
    AddChildParts,mat4_re
    	AddPartsRotationCenterAndRotationAmount,0,0,0,0,0,0
    	AddPartsOnADSOffsetAndRotation,0,0,0,0,0,0
        attachpart
        dot
    BackParts
    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
    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
    AddChildParts,SYS_BAYONETBASE
        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
        attachpart
        swordbase
    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
        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,      30,0,0,0,0,0,0
        AddReloadMotionKey,30,0,0,0,0,0,0,          50,0,0,0,0,0,0
    BackParts

    AddChildParts,five
        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
        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,      30,0,0,0,0,0,0
        AddReloadMotionKey,30,0,0,0,0,0,0,          50,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.6,0,0,0
        AddRecoilMotionKey,5,0,0,-0.6,0,0,0,        10,0,0,0,0,0,0

        AddReloadMotionKey,0,0,0,0,0,0,0,           38,0,0,0,0,0,0
        AddReloadMotionKey,38,0,0,0,0,0,0,          41,0,0,-0.6,0,0,0
        AddReloadMotionKey,41,0,0,-0.6,0,0,0,       45,0,0,0,0,0,0
        AddReloadMotionKey,45,0,0,0,0,0,0,          50,0,0,0,0,0,0
    BackParts

BulletNameALL,longbullet
BulletNameCart,longcart
Tabname,HMG_GVCGuns
Name,Barrett M82
SR,Barrett M82
