Name SMG_XM8 Compact Carbine
ShortName smg_xm8compactcarbine
Description Damage x1.0_Crafting possible._5.56mm NATOAmmo_ShootDelay 2
//The ammo this gun uses (shortName)
Ammo 5.56mm_natoammo
Ammo dummyammo
Icon XM8_SMG
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
ItemID 10330
//Reload time in ticks, 1/20ths of a second
ReloadTime 54
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 2.25
RandomRecoilRange 1.25
RandomRecoilYawRange 1.0
DecreaseRecoil 1.00
DecreaseRecoilYaw 1.25
//Damage in half hearts
Damage 1
IgnoreArmorProbability 0.5
IgnoreArmorDamageFactor 1.0
//Modifiers
MoveSpeedModifier 0.95
MeleeDamage 0
//The higher this value, the more the bullets spread
Accuracy 1
//Time in ticks between rounds
ShootDelay 2
ShootSound XM8shoot
DistortSound False
ReloadSound G36Reload
ReloadSoundRange 5
GunSoundRange 400
Mode FullAuto SemiAuto
//Bullet speed, default 3.0
BulletSpeed 10.0
ShowRecoil true
ShowAccuracy true
ShowReloadTime true
Model mos.XM8_SMG
Texture XM8
ModelScale 1.20
//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 1
//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 lmg_xm8automaticrifle