Name M21
ShortName m21
//The ammo this gun uses (shortName)
Ammo m21Ammo
//Ammo dragunovAmmo
//Ammo l96Ammo
Icon M21
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
//Reload time in ticks, 1/20ths of a second
ReloadTime 70
SwitchDelay 18
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil vertical=11 horizontal=9 recovery=1 recoveryScope=1 fall=0.9 increase=2 sneak=1 speed=1
//Damage in half hearts
Damage 16.5
//The higher this value, the more the bullets spread
Accuracy 1.2
//Time in ticks between rounds
ShootDelay 14
ShootSound sound_m21
ReloadSound BARReload
Mode SemiAuto
//Bullet speed, default 3.0
BulletSpeed 10.0
//Default Scope Settings
Scope mwm21
ZoomLevel 6.0
FOVZoomLevel 1.0
//Deployable Settings
Deployable False
DeployedModel None
//Model Settings
Model mw.M21
Texture M21
//Attachment Settings
AllowAllAttachments false
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments flanMW8xScope compensator flanMWSilencer flanMWLongBarrel flanMWRedDot flanMWACOG flanMW4xScope 3xScope psoScope flanMWSingleFire flanMWBurstFire flanMWAutoFire apBulletsUpgrade
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments false
AllowGripAttachments false
NumGenericAttachmentSlots 1
//Paintjob Settings
//Format is "Paintjob iconName textureName requiredDyeAmount requiredDyeColour" Multiple colours may be listed in order, seperated by a space
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
Paintjob M21_Red M21_Red red 2
Paintjob M21_Jungle M21_Jungle green 2
Paintjob M21_RoyalGreen M21_RoyalGreen lime 2
//Description - note the ammo type