Name FN M240 (Vehicle Mount)
ShortName fnM240
//The ammo this gun uses (shortName)
Ammo 7.62x51mm100Rounds
Ammo 7.62x51mm200Rounds
Ammo 7.62x51mm750Rounds
Ammo 7.62x51mm2600Rounds
Ammo sevenCal
Ammo sevenCalHeavy
Ammo sevenCalTracer
Ammo genericMGAmmo
Icon M240B
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
ItemID 23631
//Reload time in ticks, 1/20ths of a second
ReloadTime 110
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 3
RandomRecoilRange 2.5
RandomRecoilYawRange 2.2
DecreaseRecoil 2.00
DecreaseRecoilYaw 2.7
//Damage in half hearts
Damage 18
//The higher this value, the more the bullets spread
Accuracy 2.5
//Time in ticks between rounds
ShootDelay 2
ShootSound .308MG1
ReloadSound BrowningReload
Mode FullAuto SemiAuto
//Bullet speed, default 3.0
BulletSpeed 20.0
Scope None
Deployable False
DeployedModel None
Model rainfire.M240B
Texture SkinM240B
ModelScale 0.113
//Attachment Settings
AllowAllAttachments true
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments flanMWSilencer flanMWACOG flanMW4xScope flanMWSingleFire svzBipod reddotScope flanBurstFire
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments true
AllowGripAttachments true
NumGenericAttachmentSlots 1
//Modifiers
MoveSpeedModifier 0.65
KnockbackModifier 0.2
//Show Information
Description Vehicle-mounted M240 standard on most modern U.S. tanks._Is not usable by player.
ShowAttachments true
ShowDamage true
ShowAccuracy true
ShowRecoil true
ShowReloadTime true
ShowCrosshair false
ReloadSoundRange 6
GunSoundRange 288
ShapelessRecipe fnM240L

//Casing Ejection
CasingModel rainfire.CasingRifle
CasingTexture SkinCasingRifle

//Muzzle Flashes
FlashModel rainfire.GenericFlash
FlashTexture SkinGenericFlash