Name M1 Garand Mk.2
ShortName ermeysGarand
//The ammo this gun uses (shortName)
Ammo specialGarandAmmo
Ammo m1GarandAmmo
Ammo 23mmGrenade
Icon garandBayonet
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
ItemID 23619
//Reload time in ticks, 1/20ths of a second
ReloadTime 40
CanForceReload false
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, Kar98kSniper = 20
Recoil 6
RandomRecoilRange 0.5
RandomRecoilYawRange 0.8
DecreaseRecoil 3.5
DecreaseRecoilYaw 0.6
//Damage in half hearts
Damage 27
//The higher this value, the more the bullets spread
Accuracy 1
//Time in ticks between rounds
ShootDelay 8
ShootSound 30-06Fire
ReloadSound GarandReload
Mode SemiAuto
//Bullet speed, default 3.0
BulletSpeed 24.0
CanHipFireWhileSprinting true
Scope None
Deployable False
DeployedModel None
Model rainfire.M1GarandBayonet
Texture SkinM1GarandBayonet
ModelScale 0.07
//Attachment Settings
AllowAllAttachments true
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments flanMWSilencer flanMWRedDot flanMWACOG flanMW4xScope flanMWSingleFire flanMWBurstFire flanMWAutoFire
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments false
AllowGripAttachments true
NumGenericAttachmentSlots 2
//Modifiers
MoveSpeedModifier 0.91
//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 RemoveGommie garandThisMachine SkinM1GarandThisMachine
//Show Information
Description An M1 Garand now with a bayonet and special munitions._Can no longer aim down sights due to the way Flans Mod works._Bayonet Range: 3-4 blocks_Bayonet Damage: Medium (6-36)
ShowAttachments true
ShowDamage true
ShowAccuracy true
ShowRecoil true
ShowReloadTime true
ReloadSoundRange 6
GunSoundRange 290

//Casing Ejection
CasingModel rainfire.CasingRifle
CasingTexture SkinCasingRifle

//Muzzle Flashes
FlashModel rainfire.GenericFlash
FlashTexture SkinGenericFlash

MeleeDamage 6
UseCustomMelee True
MeleeTime 20
MeleeDamagePoint 12 -1 0
MeleeDamagePoint 14 -1 0
MeleeDamagePoint 16 -1 0
//Define the path along which the weapon point moves in model co-ordinates from the gun's origin
AddNode 0 0 0 0 0 0
AddNode -2 1 0 0 0 -5
AddNode -4 3 0 0 0 -12
AddNode 0 4 0 0 0 -18
AddNode 8 1 0 0 0 -6
AddNode 16 0 0 0 0 -2
AddNode 24 0 0 0 0 0
AddNode 36 0 0 0 0 2
AddNode 24 0 0 0 0 0
AddNode 16 0 0 0 0 0
AddNode 8 0 0 0 0 0
AddNode 4 0 0 0 0 0
AddNode 2 0 0 0 0 0
AddNode 0 0 0 0 0 0
AddNode -1 0 0 0 0 0
AddNode 0 0 0 0 0 0