// HMG M4A1 gameplay with unchanged official TaCZ m4a1 presentation assets.
// Source: Official TaCZ / Serene Wave Studio / Timeless Squad. See CREDITS.txt and LICENSE.txt.
BulletPower,8
BulletSpeed,19
BulletGravity,0.485

BlletSpread,0
ADS_Spread_coefficient,0.0F
BlletSpreadDiffusion,5,0,3,0.1,2,0.8
Cycle,1.5

Recoil,2
Recoil_sneaking,1.5
Motion,0.98

ReloadTime,47

RemainingBullet,30

Attacking,3.5f
Zoom,1.0f,1.0f,4.0f

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

Texture,items/M4A1.png
GunSound,handmadeguns.m4a1,handmadeguns.m4a1
GunSoundReload,handmadeguns.reload
CustomFlash,arrow,1
Bursts,1,-1,0
Rates,1.6,1.6,1.6

attachRestriction,true
//todo fix this shit idk what the hell goin on here
//oh nvm that was all on the other model myb oh well you're all getting nuked
//allowattach,reddot
//allowattach,scope
//allowattach,Suppressor
//allowattach,laser
//allowattach,grip
allowattach,attachmenttest
allowattach,Bullet_AP
allowattach,Bullet_AT

attachmentlocation1 = 0, 1.4, 1.65

opticshift1,0,0.087,-0.5

//ModelWidthZ,0.4f,0.4f,0.4f



SoundSpeed,1f

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

MultiMagazine,HandmadeGuns:5.56mm magazine,HandmadeGuns:bullet_lmg_hmg_CMag,HandmadeGuns:5.56mm magazine20,HandmadeGuns:5.56mm magazine90




































GunSoundLV,165,1

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


BedrockModel,m4a1_geo.json
ModelTexture,m4a1.png
Animations,m4a1.animation.json,rifle_default.animation.json
ModelScala,0.5f
InworldScale,1.8f
ModelArm,true
Tabname,HMG_Bedrock_TaCZ

Name,TaCZ M4A1
AR,TaCZOfficial_M4A1
