From f8c71f95b2fc1559d8b3b4d81797b6d5ab04a38b Mon Sep 17 00:00:00 2001 From: Fesiug Date: Mon, 8 Jan 2024 21:05:34 -0500 Subject: [PATCH] Move more weapons from old weapons to new weapons --- .../gamemode/modules/weapons/_sh_weapons.lua | 466 ------------------ .../gamemode/modules/weapons/sh_weapons.lua | 355 +++++++++++++ 2 files changed, 355 insertions(+), 466 deletions(-) diff --git a/gamemodes/benny/gamemode/modules/weapons/_sh_weapons.lua b/gamemodes/benny/gamemode/modules/weapons/_sh_weapons.lua index 67c399f..9235ba1 100644 --- a/gamemodes/benny/gamemode/modules/weapons/_sh_weapons.lua +++ b/gamemodes/benny/gamemode/modules/weapons/_sh_weapons.lua @@ -161,476 +161,10 @@ end do -- Handguns - WEAPONS["1911"] = { - Name = "COBRA .45", - Description = "Hits hard. They don't make them like they used to!", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_colt.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.2 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "1911.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_Reload = "1911.Reload", - Sound_MagOut = "1911.MagOut", - Sound_MagIn = "1911.MagIn", - Sound_Cock = "Glock.Cock", - - Delay = (60/300), - Firemodes = FIREMODE_SEMI, - Ammo = 8, - Damage = 30, - Spread = 22/60, - SpreadAdd = 0.5, - SpreadAddMax = 15, - - SpreadDecay_Start = 3, - SpreadDecay_End = 11, - SpreadDecay_RampTime = 0.5, - - Reload_MagOut = 0.1, - Reload_MagIn = 0.75, - Reload_MagIn_Bonus1 = 0.4, - Reload_MagIn_Bonus2 = 0.4+0.15, - - Speed_Move = 1, - Speed_Aiming = 0.98, - Speed_Reloading = 1, - Speed_Firing = 1, - - Features = "firearm", - } - - WEAPONS["usp"] = { - Name = "MK. 23", - Description = "If it works for hardasses around the world, it'll work for you.", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_pist_usp.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.2 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "USP.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_Reload = "USP.Reload", - Sound_MagOut = "USP.MagOut", - Sound_MagIn = "USP.MagIn", - Sound_Cock = "Glock.Cock", - - Delay = (60/300), - Firemodes = FIREMODE_SEMI, - Ammo = 12, - Damage = 32, - Spread = 15/60, - SpreadAdd = 0.4, - SpreadAddMax = 15, - - SpreadDecay_Start = 3, - SpreadDecay_End = 11, - SpreadDecay_RampTime = 0.5, - - Reload_MagOut = 0.15, - Reload_MagIn = 0.85, - Reload_MagIn_Bonus1 = 0.5, - Reload_MagIn_Bonus2 = 0.5+0.12, - - Speed_Move = 1, - Speed_Aiming = 0.98, - Speed_Reloading = 1, - Speed_Firing = 1, - - Features = "firearm", - } - - WEAPONS["glock"] = { - Name = "GLOCK-18", - Description = "Bullet storm. Lasts about a second or so, just like you!", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_pist_glock18.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.25 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "Glock.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_MagOut = "Glock.MagOut", - Sound_MagIn = "Glock.MagIn", - Sound_Cock = "Glock.Cock", - - Delay = (60/900), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 17, - Damage = 22, - Spread = 60/60, - SpreadAdd = 0.8, - SpreadAddMax = 15, - - SpreadDecay_Start = 3, - SpreadDecay_End = 11, - SpreadDecay_RampTime = 0.5, - - Reload_MagOut = 0.25, - Reload_MagIn = 1.1, - Reload_MagIn_Bonus1 = 0.8, - Reload_MagIn_Bonus2 = 0.8+0.08, - - Speed_Move = 1, - Speed_Aiming = 0.95, - Speed_Reloading = 0.95, - Speed_Firing = 0.95, - - Features = "firearm", - } - - WEAPONS["nambu"] = { - Name = "NAMBU .38", - Description = "Eastern revolver that hits as hard as it costs.", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_pist_derringer.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.3 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "Nambu.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_MagOut = "Nambu.MagOut", - Sound_MagIn = "Nambu.MagIn", - Sound_Cock = "Glock.Cock", - - Delay = (60/180), - Firemodes = FIREMODE_SEMI, - Ammo = 6, - Damage = 36, - Spread = 30/60, - SpreadAdd = 1.5, - SpreadAddMax = 15, - - SpreadDecay_Start = 3, - SpreadDecay_End = 11, - SpreadDecay_RampTime = 0.5, - - Reload_MagOut = 0.5, - Reload_MagIn = 0.5, - Reload_MagIn_Bonus1 = 0.2, - Reload_MagIn_Bonus2 = 0.2+0.1, - - Speed_Move = 1, - Speed_Aiming = 1, - Speed_Reloading = 0.9, - Speed_Firing = 1, - - Features = "firearm", - } - - WEAPONS["anaconda"] = { - Name = "ANACONDA", - Description = "Precise and kicks like a mule.", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_357.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.1 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "Anaconda.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_MagOut = "Anaconda.MagOut", - Sound_MagIn = "Anaconda.MagIn", - Sound_Cock = "Glock.Cock", - - Delay = (60/180), - Firemodes = FIREMODE_SEMI, - Ammo = 6, - Damage = 55, - Spread = 30/60, - SpreadAdd = 6, - SpreadAddMax = 15, - - SpreadDecay_Start = 6, - SpreadDecay_End = 22, - SpreadDecay_RampTime = 0.65, - - Reload_MagOut = 0.6, - Reload_MagIn = 0.6, - Reload_MagIn_Bonus1 = 0.18, - Reload_MagIn_Bonus2 = 0.18+0.08, - - Speed_Move = 1.0, - Speed_Aiming = 0.95, - Speed_Reloading = 0.9, - Speed_Firing = 0.95, - - Features = "firearm", - } - - WEAPONS["deagle"] = { - Name = "DEAGLE", - Description = "Autoloading .50 caliber pistol.", - Type = "pistol", - - Icon = Material( "benny/weapons/mk23.png", "smooth" ), - WModel = "models/weapons/w_pist_deagle.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_CROSSBOW, 0.5 }, - GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, - - Sound_Fire = "Anaconda.Fire", - Sound_DryFire = "Common.Dryfire.Pistol", - Sound_MagOut = "Anaconda.MagOut", - Sound_MagIn = "Anaconda.MagIn", - Sound_Cock = "Deagle.Cock", - - Delay = (60/180), - Firemodes = FIREMODE_SEMI, - Ammo = 7, - Damage = 47, - Spread = 30/60, - SpreadAdd = 4, - SpreadAddMax = 15, - - SpreadDecay_Start = 8, - SpreadDecay_End = 25, - SpreadDecay_RampTime = 0.5, - - Speed_Move = 0.95, - Speed_Aiming = 0.95, - Speed_Reloading = 0.95, - Speed_Firing = 0.95, - Speed_FiringTime = 0.5, - - Features = "firearm", - } - end do -- SMGs & PDWs - WEAPONS["tmp"] = { - Name = "TMP", - Description = "Small, compact, and favored by private security.", - Type = "smg", - - WModel = "models/weapons/w_smg_tmp_us.mdl", - HoldType = "rpg", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, - - Sound_Fire = "TMP.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "TMP.Reload", - Sound_MagOut = "TMP.MagOut", - Sound_MagIn = "TMP.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/650), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 15, - Damage = 22, - Spread = 20/60, - SpreadAdd = 10/60, - SpreadAddMax = 10, - - SpreadDecay_Start = 4, - SpreadDecay_End = 30, - SpreadDecay_RampTime = 0.4, - - Speed_Move = 0.97, - Speed_Aiming = 0.97, - Speed_Reloading = 0.97, - Speed_Firing = 0.97, - - Features = "firearm", - } - - WEAPONS["mp7"] = { - Name = "MP7", - Description = "Small, pistol-sized, goes through kevlar like a knife.", - Type = "smg", - - WModel = "models/weapons/w_smg1.mdl", - HoldType = "rpg", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, - - Sound_Fire = "MP7.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "MP7.Reload", - Sound_MagOut = "MP7.MagOut", - Sound_MagIn = "MP7.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/900), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 20, - Damage = 19, - Spread = 20/60, - SpreadAdd = 20/60, - SpreadAddMax = 10, - - SpreadDecay_Start = 2, - SpreadDecay_End = 30, - SpreadDecay_RampTime = 0.2, - - Speed_Move = 0.97, - Speed_Aiming = 0.97, - Speed_Reloading = 0.97, - Speed_Firing = 0.97, - - Features = "firearm", - } - - WEAPONS["mp5k"] = { - Name = "MP5K", - Description = "Quality manufacturing, but a cumbersome reload.", - Type = "smg", - - WModel = "models/weapons/w_smg_mp5k.mdl", - HoldType = "rpg", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, - - Sound_Fire = "MP5K.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "MP5K.Reload", - Sound_MagOut = "MP5K.MagOut", - Sound_MagIn = "MP5K.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/750), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 15, - Damage = 22, - Spread = 20/60, - SpreadAdd = 10/60, - SpreadAddMax = 10, - - SpreadDecay_Start = 3, - SpreadDecay_End = 30, - SpreadDecay_RampTime = 0.3, - - Speed_Move = 0.97, - Speed_Aiming = 0.97, - Speed_Reloading = 0.97, - Speed_Firing = 0.97, - - Features = "firearm", - } - - WEAPONS["mac11"] = { - Name = "MAC-11", - Description = "More fit for combat in a phone booth.", - Type = "smg", - - WModel = "models/weapons/w_smg_mac10.mdl", - HoldType = "revolver", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.1 }, - - Sound_Fire = "MAC11.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "MAC11.Reload", - Sound_MagOut = "MAC11.MagOut", - Sound_MagIn = "MAC11.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/1400), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 16, - Damage = 19, - Spread = 60/60, - SpreadAdd = 30/60, - SpreadAddMax = 20, - - SpreadDecay_Start = 10, - SpreadDecay_End = 30, - SpreadDecay_RampTime = 0.3, - - Speed_Move = 0.97, - Speed_Aiming = 0.97, - Speed_Reloading = 0.97, - Speed_Firing = 0.97, - - Features = "firearm", - } - - WEAPONS["bizon"] = { - Name = "BIZON", - Description = "Unwieldy bullet storm.", - Type = "smg", - - WModel = "models/weapons/w_smg_bizon.mdl", - HoldType = "rpg", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.34 }, - - Sound_Fire = "Bizon.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "Bizon.Reload", - Sound_MagOut = "Bizon.MagOut", - Sound_MagIn = "Bizon.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/700), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 40, - Damage = 20, - Spread = 40/60, - SpreadAdd = 10/60, - SpreadAddMax = 20, - - SpreadDecay_Start = 1, - SpreadDecay_End = 10, - SpreadDecay_RampTime = 0.6, - - Speed_Move = 0.94, - Speed_Aiming = 0.94, - Speed_Reloading = 0.93, - Speed_Firing = 0.93, - - Features = "firearm", - } - - WEAPONS["chicom"] = { - Name = "QCW-CQB-21", - Description = "Subsonic bullpup SMG.", - Type = "smg", - - WModel = "models/weapons/w_rif_famas.mdl", - HoldType = "rpg", - GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.34 }, - - Sound_Fire = "M92.Fire", - Sound_DryFire = "Common.Dryfire.Rifle", - Sound_Reload = "Bizon.Reload", - Sound_MagOut = "Bizon.MagOut", - Sound_MagIn = "Bizon.MagIn", - Sound_Cock = "MP5K.Cock", - - Delay = (60/1050), - Firemodes = FIREMODE_AUTOSEMI, - Ammo = 36, - Damage = 18, - Spread = 40/60, - SpreadAdd = 33/60, - SpreadAddMax = 20, - - SpreadDecay_Start = 4, - SpreadDecay_End = 30, - SpreadDecay_RampTime = 0.7, - - Speed_Move = 0.95, - Speed_Aiming = 0.95, - Speed_Reloading = 0.94, - Speed_Firing = 0.94, - - Features = "firearm", - } - end do -- Shotguns diff --git a/gamemodes/benny/gamemode/modules/weapons/sh_weapons.lua b/gamemodes/benny/gamemode/modules/weapons/sh_weapons.lua index cc9122a..12eca36 100644 --- a/gamemodes/benny/gamemode/modules/weapons/sh_weapons.lua +++ b/gamemodes/benny/gamemode/modules/weapons/sh_weapons.lua @@ -630,6 +630,48 @@ do -- Pistols Speed_FiringTime = 0.5, }) + ItemDef("cz75a", { + Name = "CZ-75A", + Description = "Automatic pocket machine pistol!", + Base = "base_firearm", + Category = "pistol", + + WModel = "models/weapons/w_pist_pmt.mdl", + HoldType = "revolver", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.25 }, + GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, + + Sound_Fire = "Glock.Fire", + Sound_DryFire = "Common.Dryfire.Pistol", + Sound_MagOut = "Glock.MagOut", + Sound_MagIn = "Glock.MagIn", + Sound_Cock = "Glock.Cock", + + -- + AmmoStd = 12, + AutoGenMag = true, + Delay = (60/1100), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 22, + Spread = 60/60, + SpreadAdd = 0.8, + SpreadAddMax = 15, + + SpreadDecay_Start = 3, + SpreadDecay_End = 11, + SpreadDecay_RampTime = 0.5, + + Reload_MagOut = 0.25, + Reload_MagIn = 1.1, + Reload_MagIn_Bonus1 = 0.8, + Reload_MagIn_Bonus2 = 0.8+0.08, + + Speed_Move = 1, + Speed_Aiming = 0.95, + Speed_Reloading = 0.95, + Speed_Firing = 0.95, + }) + ItemDef("glock", { Name = "GLOCK-18", Description = "Bullet storm. Lasts about a second or so, just like you!", @@ -758,6 +800,319 @@ do -- Pistols Speed_Reloading = 1, Speed_Firing = 1, }) + + ItemDef("nambu", { + Name = "NAMBU .38", + Description = "Eastern revolver that hits as hard as it costs.", + Base = "base_firearm", + Category = "pistol", + + Icon = Material( "benny/weapons/mk23.png", "smooth" ), + WModel = "models/weapons/w_pist_derringer.mdl", + HoldType = "revolver", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.3 }, + GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, + + Sound_Fire = "Nambu.Fire", + Sound_DryFire = "Common.Dryfire.Pistol", + Sound_MagOut = "Nambu.MagOut", + Sound_MagIn = "Nambu.MagIn", + Sound_Cock = "Glock.Cock", + + -- + AmmoStd = 6, + AutoGenMag = true, + Delay = (60/180), + Firemodes = FIREMODE_SEMI, + Damage = 36, + Spread = 30/60, + SpreadAdd = 1.5, + SpreadAddMax = 15, + + SpreadDecay_Start = 3, + SpreadDecay_End = 11, + SpreadDecay_RampTime = 0.5, + + Reload_MagOut = 0.5, + Reload_MagIn = 0.5, + Reload_MagIn_Bonus1 = 0.2, + Reload_MagIn_Bonus2 = 0.2+0.1, + + Speed_Move = 1, + Speed_Aiming = 1, + Speed_Reloading = 0.9, + Speed_Firing = 1, + }) + + ItemDef("anaconda", { + Name = "ANACONDA", + Description = "Precise and kicks like a mule.", + Base = "base_firearm", + Category = "pistol", + + Icon = Material( "benny/weapons/mk23.png", "smooth" ), + WModel = "models/weapons/w_357.mdl", + HoldType = "revolver", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.1 }, + GestureDraw = { ACT_HL2MP_GESTURE_RELOAD_REVOLVER, 0.8 }, + + Sound_Fire = "Anaconda.Fire", + Sound_DryFire = "Common.Dryfire.Pistol", + Sound_MagOut = "Anaconda.MagOut", + Sound_MagIn = "Anaconda.MagIn", + Sound_Cock = "Glock.Cock", + + -- + AmmoStd = 6, + AutoGenMag = true, + Delay = (60/180), + Firemodes = FIREMODE_SEMI, + Damage = 55, + Spread = 30/60, + SpreadAdd = 6, + SpreadAddMax = 15, + + SpreadDecay_Start = 6, + SpreadDecay_End = 22, + SpreadDecay_RampTime = 0.65, + + Reload_MagOut = 0.6, + Reload_MagIn = 0.6, + Reload_MagIn_Bonus1 = 0.18, + Reload_MagIn_Bonus2 = 0.18+0.08, + + Speed_Move = 1.0, + Speed_Aiming = 0.95, + Speed_Reloading = 0.9, + Speed_Firing = 0.95, + }) + +end + +do -- SMGs + + ItemDef("tmp", { + Name = "TMP", + Description = "Small, compact, and favored by private security.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_smg_tmp_us.mdl", + HoldType = "rpg", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, + + Sound_Fire = "TMP.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "TMP.Reload", + Sound_MagOut = "TMP.MagOut", + Sound_MagIn = "TMP.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 15, + AutoGenMag = true, + Delay = (60/650), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 22, + Spread = 20/60, + SpreadAdd = 10/60, + SpreadAddMax = 10, + + SpreadDecay_Start = 4, + SpreadDecay_End = 30, + SpreadDecay_RampTime = 0.4, + + Speed_Move = 0.97, + Speed_Aiming = 0.97, + Speed_Reloading = 0.97, + Speed_Firing = 0.97, + }) + + ItemDef("mp7", { + Name = "MP7", + Description = "Small, pistol-sized, goes through kevlar like a knife.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_smg1.mdl", + HoldType = "rpg", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, + + Sound_Fire = "MP7.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "MP7.Reload", + Sound_MagOut = "MP7.MagOut", + Sound_MagIn = "MP7.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 20, + AutoGenMag = true, + Delay = (60/900), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 19, + Spread = 20/60, + SpreadAdd = 20/60, + SpreadAddMax = 10, + + SpreadDecay_Start = 2, + SpreadDecay_End = 30, + SpreadDecay_RampTime = 0.2, + + Speed_Move = 0.97, + Speed_Aiming = 0.97, + Speed_Reloading = 0.97, + Speed_Firing = 0.97, + }) + + ItemDef("mp5k", { + Name = "MP5K", + Description = "Quality manufacturing, but a cumbersome reload.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_smg_mp5k.mdl", + HoldType = "rpg", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.3 }, + + Sound_Fire = "MP5K.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "MP5K.Reload", + Sound_MagOut = "MP5K.MagOut", + Sound_MagIn = "MP5K.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 15, + AutoGenMag = true, + Delay = (60/750), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 22, + Spread = 20/60, + SpreadAdd = 10/60, + SpreadAddMax = 10, + + SpreadDecay_Start = 3, + SpreadDecay_End = 30, + SpreadDecay_RampTime = 0.3, + + Speed_Move = 0.97, + Speed_Aiming = 0.97, + Speed_Reloading = 0.97, + Speed_Firing = 0.97, + }) + + ItemDef("mac11", { + Name = "MAC-11", + Description = "More fit for combat in a phone booth.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_smg_mac10.mdl", + HoldType = "revolver", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_PISTOL, 0.1 }, + + Sound_Fire = "MAC11.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "MAC11.Reload", + Sound_MagOut = "MAC11.MagOut", + Sound_MagIn = "MAC11.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 16, + AutoGenMag = true, + Delay = (60/1400), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 19, + Spread = 60/60, + SpreadAdd = 30/60, + SpreadAddMax = 20, + + SpreadDecay_Start = 10, + SpreadDecay_End = 30, + SpreadDecay_RampTime = 0.3, + + Speed_Move = 0.97, + Speed_Aiming = 0.97, + Speed_Reloading = 0.97, + Speed_Firing = 0.97, + }) + + ItemDef("bizon", { + Name = "BIZON", + Description = "Unwieldy bullet storm.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_smg_bizon.mdl", + HoldType = "rpg", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.34 }, + + Sound_Fire = "Bizon.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "Bizon.Reload", + Sound_MagOut = "Bizon.MagOut", + Sound_MagIn = "Bizon.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 40, + AutoGenMag = true, + Delay = (60/700), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 20, + Spread = 40/60, + SpreadAdd = 10/60, + SpreadAddMax = 20, + + SpreadDecay_Start = 1, + SpreadDecay_End = 10, + SpreadDecay_RampTime = 0.6, + + Speed_Move = 0.94, + Speed_Aiming = 0.94, + Speed_Reloading = 0.93, + Speed_Firing = 0.93, + }) + + ItemDef("chicom", { + Name = "QCW-CQB-21", + Description = "Subsonic bullpup SMG.", + Base = "base_firearm", + Category = "smg", + + WModel = "models/weapons/w_rif_famas.mdl", + HoldType = "rpg", + GestureFire = { ACT_HL2MP_GESTURE_RANGE_ATTACK_REVOLVER, 0.34 }, + + Sound_Fire = "M92.Fire", + Sound_DryFire = "Common.Dryfire.Rifle", + Sound_Reload = "Bizon.Reload", + Sound_MagOut = "Bizon.MagOut", + Sound_MagIn = "Bizon.MagIn", + Sound_Cock = "MP5K.Cock", + + -- + AmmoStd = 36, + AutoGenMag = true, + Delay = (60/1050), + Firemodes = FIREMODE_AUTOSEMI, + Damage = 18, + Spread = 40/60, + SpreadAdd = 33/60, + SpreadAddMax = 20, + + SpreadDecay_Start = 4, + SpreadDecay_End = 30, + SpreadDecay_RampTime = 0.7, + + Speed_Move = 0.95, + Speed_Aiming = 0.95, + Speed_Reloading = 0.94, + Speed_Firing = 0.94, + }) + end do -- Rifles