Quote:
Originally Posted by krokroJoujou
Thank you man it works! Problem is i want ONLY the CSS AWP to be able to 1 shot a zombie, not all snipers. You think this can be done?
|
Updated under Sourcemod 1.8.x.
I prefer this version over AtomicStryker's Weapon Unlock. I've been using a modified version of Crimson Fox's WU so I figured I'd share it with everyone else.
This adds a damage boost cvar for each weapon, including the grenade launcher. I'm not sure if it works for the grenade launcher though since it's a projectile-based weapon not hitscan.
List of cvars:
Code:
// Amount of damage added to ak47 assault rifle.
// -
// Default: "30"
l4d2_wu_ak47boost "30"
// Amount of damage added to automatic shotgun.
// -
// Default: "25"
l4d2_wu_autoboost "25"
// Enable AWP sniper rifle?
// -
// Default: "1"
l4d2_wu_awp "1"
// Amount of damage added to AWP sniper rifle.
// -
// Default: "40"
l4d2_wu_awpboost "40"
// Amount of damage added to chrome shotgun.
// -
// Default: "15"
l4d2_wu_chromeboost "15"
// Amount of damage added to grenade launcher.
// -
// Default: "35"
l4d2_wu_grenadeboost "35"
// Amount of damage added to hunting rifle.
// -
// Default: "40"
l4d2_wu_huntingboost "40"
// Amount of damage added to m16 assault rifle.
// -
// Default: "30"
l4d2_wu_m16boost "30"
// Amount of damage added to m60 assault rifle.
// -
// Default: "30"
l4d2_wu_m60boost "30"
// Amount of damage added to magnum pistol.
// -
// Default: "10"
l4d2_wu_magnumboost "10"
// Amount of damage added to military sniper rifle.
// -
// Default: "40"
l4d2_wu_militaryboost "40"
// Enable MP5 submachine gun?
// -
// Default: "1"
l4d2_wu_mp5 "1"
// Amount of damage added to mp5 submachine gun.
// -
// Default: "20"
l4d2_wu_mp5boost "20"
// Amount of damage added to p220 pistol.
// -
// Default: "10"
l4d2_wu_p220boost "10"
// Amount of damage added to pump shotgun.
// -
// Default: "15"
l4d2_wu_pumpboost "15"
// Amount of damage added to scar-l assault rifle.
// -
// Default: "30"
l4d2_wu_scarboost "30"
// Enable Scout sniper rifle?
// -
// Default: "1"
l4d2_wu_scout "1"
// Amount of damage added to scout sniper rifle.
// -
// Default: "40"
l4d2_wu_scoutboost "40"
// Enable SG552 assault rifle?
// -
// Default: "1"
l4d2_wu_sg552 "1"
// Amount of damage added to sg552 assault rifle.
// -
// Default: "30"
l4d2_wu_sg552boost "30"
// Amount of damage added to silenced submachine gun.
// -
// Default: "20"
l4d2_wu_silencedboost "20"
// Amount of damage added to spas shotgun.
// -
// Default: "25"
l4d2_wu_spasboost "25"
// Amount of damage added to submachine gun.
// -
// Default: "20"
l4d2_wu_uziboost "20"