Raised This Month: $51 Target: $400
 12% 

L4D2 Remove all Melee Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Austinbots
Member
Join Date: Jan 2010
Old 05-31-2016 , 20:37   L4D2 Remove all Melee Weapons
Reply With Quote #1

When I play L4D2 and someone decides to use melee what happens -every- time is they:
1) loose health way faster than non melee users
2) consume team resources
3) end up being a major liability
4) waste my time having to make up for their sub par game play

To avoid all of these hassles on my server I just remove all melee "weapons" from my server.

This is a simple plug in.
Once loaded all melee and possible melee spawns are removed from all maps!

If you wanted to remove other items or possible spawns it would be as simple as adding them to the list adjusting the number of items and recompiling.

I hope this can help someone else.
Attached Files
File Type: sp Get Plugin or Get Source (RemoveMeele.sp - 1099 views - 1.2 KB)
Austinbots is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 05-31-2016 , 23:24   Re: L4D2 Remove all Melee Weapons
Reply With Quote #2

This can also be done simply by filtering the "weapon_%s", "weapon_%s_spawn", and "weapon_melee_spawn" classnames in Stripper. (%s for the name of the weapon)

Last edited by cravenge; 05-31-2016 at 23:26.
cravenge is offline
Austinbots
Member
Join Date: Jan 2010
Old 06-12-2016 , 22:30   Re: L4D2 Remove all Melee Weapons
Reply With Quote #3

Whould this be the stripper rules?

remove:
{
"classname" "weapon_melee"
}
{
"classname" "weapon_chainsaw"
}

{
"classname" "weapon_cricket_bat"
}
{
"classname" "weapon_crowbar"
}
{
"classname" "weapon_baseball_bat"
}
{
"classname" "weapon_electric_guitar"
}
{
"classname" "weapon_fireaxe"
}
{
"classname" "weapon_katana"
}
{
"classname" "weapon_tonfa"
}
{
"classname" "weapon_golfclub"
}
{
"classname" "weapon_machete"
}
{
"classname" "weapon_frying_pan"
}
{
"classname" "weapon_riotshield"
}

{
"classname" "weapon_melee_spawn"
}
{
"classname" "weapon_chainsaw_spawn"
}
{
"classname" "weapon_cricket_bat_spawn"
}
{
"classname" "weapon_crowbar_spawn"
}
{
"classname" "weapon_baseball_bat_spawn"
}
{
"classname" "weapon_electric_guitar_spawn"
}
{
"classname" "weapon_fireaxe_spawn"
}
{
"classname" "weapon_katana_spawn"
}
{
"classname" "weapon_tonfa_spawn"
}
{
"classname" "weapon_golfclub_spawn"
}
{
"classname" "weapon_machete_spawn"
}
{
"classname" "weapon_frying_pan_spawn"
}
{
"classname" "weapon_riotshield_spawn"
}
Austinbots is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 06-12-2016 , 23:52   Re: L4D2 Remove all Melee Weapons
Reply With Quote #4

Quote:
Originally Posted by Austinbots View Post
remove:
There's no such function like that. Replace it with filter:
cravenge is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-13-2016 , 00:42   Re: L4D2 Remove all Melee Weapons
Reply With Quote #5

Don't use stripper because if it breaks we don't know when it could be fixed again

This will work fine

But i would use on entity created because i played a custommap with a melee weapon dispenser, if you want it to be perfect
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-13-2016 , 01:38   Re: L4D2 Remove all Melee Weapons
Reply With Quote #6

Quote:
Originally Posted by Ludastar View Post
Don't use stripper because if it breaks we don't know when it could be fixed again
Stop spreading lies. Down time on stripper has been 1 day at max. It is one of the most frequently maintained extensions on this forum.

The reasoning behind this plugin sounds really vague. Melee players becoming a liability? Don't know where you got that assumption.
__________________
Spirit_12 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-13-2016 , 11:27   Re: L4D2 Remove all Melee Weapons
Reply With Quote #7

No i mean why use an extension there is more points of failure, when a plugin will do it just fine.

i mean if your gunna use stripper for other stuff then use stripper, but if your just removing melee weapons this would be fine.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-13-2016 , 13:48   Re: L4D2 Remove all Melee Weapons
Reply With Quote #8

Quote:
Originally Posted by Ludastar View Post
No i mean why use an extension there is more points of failure, when a plugin will do it just fine.
That's the only legit reason to use this plugin. I'm still not in favor of this plugin idea, because some maps need melee weapons to break stuff to proceed.
__________________
Spirit_12 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 06-13-2016 , 16:33   Re: L4D2 Remove all Melee Weapons
Reply With Quote #9

weapon_melee should cover all melee weapons, except the chainsaw...implicating any others isn't necessary...and yah this plugin does seem alittle pointless, I can see major advantages to using melee weapons while swarmed by zombies, instead of removing them altogether, just kick players that are liabilities to the team...
MasterMind420 is offline
Reply



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 16:06.


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