Name Thompson M1A1
ShortName chicagoTypewriter
//The ammo this gun uses (shortName)
Ammo chicagoTypewriter30Rounds
Ammo chicagoTypewriter20Rounds
Ammo debugAmmoInfinite
Icon thompsonWW2
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
ItemID 23627
//Reload time in ticks, 1/20ths of a second
ReloadTime 57
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 3.5
RandomRecoilRange 1.6
RandomRecoilYawRange 0.6
DecreaseRecoil 2.5
DecreaseRecoilYaw 1.55
//Damage in half hearts
Damage 10
//The higher this value, the more the bullets spread
Accuracy 4
//Time in ticks between rounds
ShootDelay 2
ShootSound TypewriterFire
ReloadSound TypewriterReload
DistortSound False
Mode FullAuto SemiAuto
OneHanded false
//Bullet speed, default 3.0
BulletSpeed 10.5
//Default scope settings. Usually for aiming down sights. In which case, use FOVZoomLevel, not ZoomLevel
Scope None
ZoomLevel 1.0
FOVZoomLevel 1.3
Deployable False
DeployedModel None
Model rainfire.ThompsonM1A1
Texture SkinThompsonM1A1
ModelScale 0.035
//Attachment Settings
AllowAllAttachments true
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments flanMWSilencer flanMWRedDot flanMWACOG flanMW4xScope
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments true
AllowGripAttachments true
NumGenericAttachmentSlots 1
//Modifiers
MoveSpeedModifier 0.89
//Show Information
Description An iconic American SMG, it was used during WW2 and later times._Additionally, a powerful SMG firing .45 caliber rounds - Fire away, Chicago-style!
ShowAttachments true
ShowDamage true
ShowAccuracy true
ShowRecoil true
ShowReloadTime true
ShowCrosshair false
ReloadSoundRange 6
GunSoundRange 240

//Casing Ejection
CasingModel rainfire.GenericCasing
CasingTexture SkinGenericCasing2

//Muzzle Flashes
FlashModel rainfire.GenericFlash
FlashTexture SkinGenericFlash2

//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"
AdvPaintjob Typewriter thompsonRE4 SkinThompsonM1A1RE4