BulletPower,8
BulletSpeed,7.8f
BlletSpread,2.2f
BlletSpreadDiffusion,3,0,1,0.5,4,0.5
BulletGravity,0.485
Class,1
Recoil,3.2d
Recoil_sneaking,2.2
ReloadTime,50
//RemainingBullet,5
Attacking,6.0f
Zoom,1.0f,2.0f,4.0f
ZoomRender,true
ZoomRenderType,true,true,true
ZoomRenderTypeTxture,false,false,false
Cycle,2
Texture,SGF_sample
GunSound,handmadeguns.spas15,handmadeguns.supu
GunSoundReload,handmadeguns.reload
GunSoundCooking,handmadeguns.cooking
CanObj,true
ObjModel,spas15.mqo
ObjTexture,spas15.png
ModelScala,0.5f
InworldScale,1.8f
bulletFuse,16

MagazineItemCount,1

RemainingBullet,6

Bursts,1,0

//Rates,1.712,1.712

Motion,0.95

attachRestriction,true

//ModelEquipped,-0.7f,0.7f,0.0f
ModelEquipped,-0.7f,0.6f,-0.5f

ModelHigh,0.97f,0.85f,0.85f
ModelWidthX,0.694f,0.694f,0.694f
ModelWidthZ,0.0f,0.0f,0.0f
ModelRotationX,180f,180f,180f
ModelRotationY,45f,45f,45
ModelRotationZ,180f,180f,180f

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

ModelArmRotationR,-1.57f,0f,-1.57f
ModelArmOffsetR,0.4f,0.3f,0.3f
ModelArmRotationL,-0.0f,-2.0f,2.0f
ModelArmOffsetL,0.3f,0.4f,-0.2f

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_NormalMag_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
		AddChildParts,body
			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,            15,0,0,0,15,0,30
			AddReloadMotionKey,15,0,0,0,15,0,30,          40,0,0,0,15,0,30
			AddReloadMotionKey,40,0,0,0,15,0,30,          50,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
				attachpart
				sight
    			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
				reticleAndPlate
    			BackParts
    			AddChildParts,mat5
				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
				scope
    			BackParts
    			AddChildParts,mat9
				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
				grip
    			BackParts
    			AddChildParts,mat8
				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
				lasersight
    			BackParts
    			AddChildParts,mat6
				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
				muzzlepart
    			BackParts
			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,         35,0,0,-1,0,0,0
			
				AddReloadMotionKey,35,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  ,    38,0   ,0  ,0   ,0,0,0
				AddReloadMotionKey,38,0   ,0  ,0   ,0  ,0  ,0  ,    41,-0.3,1.3,0   ,0,30,0
				AddReloadMotionKey,41,-0.3,1.3,0   ,0  ,30 ,0  ,    43,-0.3,1.3,-1  ,0,30,0
				AddReloadMotionKey,43,-0.3,1.3,-1  ,0  ,30 ,0  ,    45,-0.3,1.3,0   ,0,30,0
				AddReloadMotionKey,45,-0.3,1.3,0   ,0  ,30 ,0  ,    50,0   ,0  ,0   ,0,0,0
			BackParts
			
			
			
			
			AddChildParts,Magazine
				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,           5,0,-5,-1,0,0,0
				AddReloadMotionKey,5,false,          10
				AddReloadMotionKey,10,0,-2,-0.5,0,0,0,      35,0,0,0,0,0,0
				AddReloadMotionKey,35,0,0,0,0,0,0,          50,0,0,0,0,0,0
			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
				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,      35,0,0,0,0,0,0
				AddReloadMotionKey,35,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

			AddChildParts,ninety
				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,           5,0,-5,-1,0,0,0
				AddReloadMotionKey,5,false,          10
				AddReloadMotionKey,10,0,-2,-0.5,0,0,0,      35,0,0,0,0,0,0
				AddReloadMotionKey,35,0,0,0,0,0,0,          50,0,0,0,0,0,0
			BackParts

			
			AddChildParts,Bolt
			    	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,           38,0,0,0,0,0,0
			    	AddReloadMotionKey,38,0,0,0,0,0,0,          41,0,0,-1,0,0,0
			    	AddReloadMotionKey,41,0,0,-1,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
			
			    	AddChildParts,CockHandle
			    		AddPartsRotationCenterAndRotationAmount,0,0,2.569,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,90,0
			    	BackParts
			BackParts


ShotGun_Pellet,9
CartridgeType,3

ScopeTexture,ironsight.png,reddot.png,scope.png
RenderCross,false
RightType,1
Magazine,0,HandmadeGuns,spas15mag

Automatic,false

Tabname,HMG_GVCGuns


Name,SPAS-15
guntype,1
Unified_guns,SPAS-15
//SGF,AR12

//addRecipe,SGF_sample,1,abc,def,ghi,265,265,265,280,265,265,280,265,265
