Raised This Month: $59 Target: $400
 14% 

[L4D2] Weapon Unlock v0.8.1


Post New Thread Reply   
 
Thread Tools Display Modes
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 05-20-2017 , 05:47   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #631

Quote:
Originally Posted by krokroJoujou View Post
However i wanted to increase the sniper rifle (not the scout rifle) damage so it could kill common infected with 1 hit in expert realism.
[L4D2] Realism Penetration Fix is your best choice.
Quote:
Originally Posted by Newbie_Sexy View Post
When I cheats, I can't use the cvar: "give awp"
Code:
give sniper_awp
give sniper_scout
give smg_mp5
give rifle_sg552
__________________
Kill all the son of a bitches, that's my official instructions.
L4Dε Modified Talker
bazrael is offline
krokroJoujou
Member
Join Date: Mar 2017
Old 08-25-2017 , 19:34   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #632

Quote:
Originally Posted by bazrael View Post
[L4D2] Realism Penetration Fix is your best choice.
Code:
give sniper_awp
give sniper_scout
give smg_mp5
give rifle_sg552
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?
krokroJoujou is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Location: average villain lair
Old 09-27-2017 , 02:04   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #633

Quote:
Originally Posted by krokroJoujou View Post
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"
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_WeaponUnlock.sp - 1020 views - 27.4 KB)
__________________
AFK like JFK

Last edited by Crasher_3637; 10-22-2017 at 11:04.
Crasher_3637 is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 01-14-2018 , 10:31   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #634

Quote:
Originally Posted by Crasher_3637 View Post
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:
Do the cvars set the total amount of the weapon's damage or add them to the original dmg?
kot4404 is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Location: average villain lair
Old 01-14-2018 , 15:48   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #635

The cvar values add to the original damage values.



I uploaded a newer version than this that uses the new syntax.

https://forums.alliedmods.net/showthread.php?t=301641
__________________
AFK like JFK
Crasher_3637 is offline
Arthedains
Junior Member
Join Date: Nov 2016
Old 04-01-2018 , 10:59   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #636

The weapon unlock plugins are working fine. The only problem I found is that the AWP doesn't show its laser if carried by the player. But the laser is shown if the weapon is laying on the ground or carried by other players. Great plugins though.

Last edited by Arthedains; 05-09-2018 at 11:33.
Arthedains is offline
ShineKia
Junior Member
Join Date: Apr 2017
Old 04-10-2018 , 02:51   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #637

Is it just me or has anyone realized that no matter what the damage you boost to the gun, there's no way to clean one-shot headshot kill the charger other than using melee?
ShineKia is offline
Arthedains
Junior Member
Join Date: Nov 2016
Old 05-09-2018 , 11:45   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #638

Quote:
Originally Posted by ShineKia View Post
Is it just me or has anyone realized that no matter what the damage you boost to the gun, there's no way to clean one-shot headshot kill the charger other than using melee?
This plugin might be for you then.
https://forums.alliedmods.net/showthread.php?p=1184761
Arthedains is offline
EmmaWhite
New Member
Join Date: Aug 2019
Old 08-30-2019 , 07:43   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #639

This plugin crashed my server when I trying to connect. I deleted the plugin and my server is working again. But I really need this plugin. I'm a newbie, can somebody help me?
I use Windows.

Last edited by EmmaWhite; 08-30-2019 at 07:46.
EmmaWhite is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:32.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode