Name LMG_XM8 Automatic Rifle
ShortName lmg_xm8automaticrifle
Description Damage x1.0_Crafting possible._5.56mm 100RoundNATOAmmo_5.56mm NATOAmmo_ShootDelay 2
//The ammo this gun uses (shortName)
Ammo 5.56mm_100roundnatoammo
Ammo 5.56mm_natoammo
Ammo dummyammo
Icon MGXM8
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
ItemID 10340
//Reload time in ticks, 1/20ths of a second
ReloadTime 90
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 2.25
RandomRecoilRange 1.00
RandomRecoilYawRange 1.5075
DecreaseRecoil 0.60
DecreaseRecoilYaw 2.25
//Number of bullet entities to create, useful for shotguns, defaults to 1
NumBullets 1
//Damage in half hearts
Damage 1
IgnoreArmorProbability 0.5
IgnoreArmorDamageFactor 1.0
//Modifiers
MoveSpeedModifier 0.80
MeleeDamage 0
//The higher this value, the more the bullets spread
Accuracy 1
//Time in ticks between rounds
ShootDelay 2
DistortSound False
ShootSound MGXM8shoot
ReloadSound MGXM8reload
ReloadSoundRange 5
GunSoundRange 400
Mode FullAuto SemiAuto
BulletSpeed 14.0
ShowRecoil true
ShowAccuracy true
ShowReloadTime true
Model mos.XM8_LMG
Texture XM8
ModelScale 1.2
//Attachment Settings
AllowAllAttachments false
//List here all the attachments allowed on this gun by shortName and separated by spaces
//AllowAttachments
AllowBarrelAttachments false
AllowScopeAttachments false
AllowStockAttachments false
AllowGripAttachments false
NumGenericAttachmentSlots 0
//Default scope settings. Usually for aiming down sights. In which case, use FOVZoomLevel, not ZoomLevel
Scope XM8scope
ZoomLevel 2.00
FOVZoomLevel 1.00
Deployable False
DeployedModel None
RecipeOutput 1
ShapelessRecipe ar_xm8sharpshooter