[TF2] Melee Only
6 Attachment(s)
Melee Only Toggle melee only anytime during the game without any side effects. Works with all game modes and configurations. Good to have when your players have an urge for a melee brawl. Just disable it and everything goes back to normal.Features:
Code:
0.1 - Initial release Install instructions: 1. melee.smx goes in sourcemod/plugins 2. melee.txt goes in sourcemod/gamedata 3. melee.phrases.txt goes in sourcemod/translations Plugins that use this: Melee Only - Sudden Death Last Player Melee Developers, we have natives! Use this plugin and I'll put you on the list. :grrr: Some notes:
|
Re: [TF2] Melee only
Finally! Nice job...
|
Re: [TF2] Melee only
Works like a freaking champ. Simple and elegant. Now running this on both my servers.
-Aox |
Re: [TF2] Melee only
I was just curious, what made you want to use ongameframe for this? I guess all the other melee plugins have flaws in them?(I honestly dont use them so I dont know) It just seems like ongameframe could be avoided by just restricting the health lockers from working(which is what the others do?)
|
Re: [TF2] Melee only
Right, some history:
Yeah, the two other melee plugins have two approaches. One is to strip all but your melee weapons, and disable the ammo cabinets. This presents a problem when you want to return to normal gameplay. bl4nk's plugin which I used for awhile and is now unapproved used OnPlayerRunCmd to set the player's active weapon. Unfortunately, it can be exploited by touching an ammo cabnit. Plus none of those plugins do melee mode the way I wanted it. For all the minimal code I use during OnGameFrame, its worth the performance trade off (or what very little there is). Another way to check weapons is SDKHook's client think hook, but it's not worth it. I'm keeping this clean and simple. |
Re: [TF2] Melee Only
Very nice! Any chance you could make the medi-gun and kritzkrieg available too?
|
Re: [TF2] Melee Only
Acksull, at first I was reluctant to add healing because I think it's a cheap ploy in melee fights, people like to gripe about it. But I think it's a feature some may want so here you go, I made an update tonight. New version 0.1.1:
1. Added a convar melee_healing which by default is 0 (off). Set this to 1 if you want healing allowed. 2. I removed the wrangler (worthless if you can't build sentries) and added the buff banner I had completely forgotten. lol! Feel free to make more feature requests. :) |
Re: [TF2] Melee Only
Thanks pheadxdll, you rock!
|
Re: [TF2] Melee Only
Just a request for party's sake, but can you either add back in the wrangler or add a cvar to enable the wrangler? Taunting with the gunslinger then quickly switching to the wrangler is very interesting to see, and wrangler Engies in meleemode can be quite hilarious.
Also, on the server I mostly play on, we have the "Goomba Stomp" mod. Is it possible to have a command to strip ALL weapons and just leave civilian poses that can only Goomba stomp, using this plugin? Regardless, awesome plugin. |
Re: [TF2] Melee Only
Can you add something like 'votemelee'?
Also, you can make cvar with flags required for 'melee' command. |
All times are GMT -4. The time now is 09:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.