Name M16A4
ShortName m16a4
//The ammo this gun uses (shortName)
Ammo m16a4Ammo
Ammo acrAmmo
Ammo mtarAmmo
Ammo g36Ammo
Ammo augAmmo
Ammo m4CarbineAmmo
Ammo betaCMag
Icon M16A4
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
//Reload time in ticks, 1/20ths of a second
ReloadTime 40
SwitchDelay 11
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 2 horizontal=2 recovery=1 recoveryScope=1 fall=1 increase=1 sneak=1 speed=1
//Damage in half hearts
Damage 6.5
//The higher this value, the more the bullets spread
Accuracy 3
//Time in ticks between rounds
ShootDelay 2
ShootSound sound_m16a4
ReloadSound MP44Reload
Mode FullAuto
//Bullet speed, default 3.0
BulletSpeed 10.0
//Default scope settings. Usually for aiming down sights. In which case, use FOVZoomLevel, not ZoomLevel
Scope None
ZoomLevel 1.0
FOVZoomLevel 1.25
//Deployable Settings
Deployable False
DeployedModel None
//Model settings
Model mw.M16A4
Texture M16A4
//Attachment Settings
AllowAllAttachments false
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments compensator flanMWSilencer flanMWLongBarrel flanMWRedDot flanMWACOG flanMW4xScope 3xScope psoScope flanMWForegrip flanMWFlashlight flanMWSingleFire flanMWBurstFire flanMWAutoFire apBulletsUpgrade
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments false
AllowGripAttachments true
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 M16A4_Orange M16A4_Orange orange 1 white 1
Paintjob M16A4_Green M16A4_Green green 2
Paintjob M16A4_Howl M16A4_Howl orange 1 red 2
Paintjob M16A4_Breeze M16A4_Breeze blue 2
//Description - note the ammo type
defaultSight ironSight1