TF2 Melee Mode v0.4 (8/25)
3 Attachment(s)
TF2 Melee Mode v0.4 (8/25)
When enabled, this plugin forces all players to use melee weapons. It solves a few issues with other melee plugins I've found:
sm_meleemode_version - Plugin version. sm_meleemode_enable - 1 is on, 0 is off. (default 0) Using From Other Plugins: I've included a meleemode.inc include which defines a "ForceMeleeMode(bool)" native, so that other plugins can enable/disable melee mode if they need to. I use this in a "Sudden Death Rules" plugin on my server. Installing: meleemode.smx -> addons/sourcemod/plugins/ meleemode.sp -> addons/sourcemod/scripting/ meleemode.inc (optional) -> addons/sourcemod/scripting/include/ If Custom Votes is installed: meleemode.vote.cfg -> addons/sourcemod/configs/customvotes/ Changelog: 0.1 - Initial release 0.2 - Changed exploit-blocking method (thanks bl4nk) 0.3 - Fixed chat spam due to duplicate event hooks 0.4 - Fixed a few exploits that granted all weapons Credits: Thanks to bl4nk for Sudden Death Melee Redux, which gave me a jump-start on figuring out how to write this. |
Re: TF2 Melee Mode v0.1 (6/6)
Quote:
|
Re: TF2 Melee Mode v0.1 (6/6)
Quote:
|
Re: TF2 Melee Mode v0.2 (6/6)
Much simpler, and eliminated the "slot3" menu problem too. Thanks!
|
Re: TF2 Melee Mode v0.2 (6/6)
This is really cool, Thanks. By any chance could this be added to the source mod base menu (sm_admin)? That way any admin on my server could turn it on or off.
|
Re: TF2 Melee Mode v0.2 (6/6)
Quote:
|
Re: TF2 Melee Mode v0.2 (6/6)
I thought ClassChooser already had this feature? Why didn't bl4nk just update that :)
|
Re: TF2 Melee Mode v0.2 (6/6)
Could be, I didn't really look at that plugin since I didn't need a class chooser :). I just wrote this at the time because I wanted to fix the two bugs above on my server, and haven't dug too much into other melee plugins since then...
|
Re: TF2 Melee Mode v0.2 (6/6)
It does, but I was running into some problems with the resupply cabinets not disabling for some reason. I'm not sure if chundo fixed it or not, but ClassChooser can do melee-only.
[edit] After looking at this plugin's code, it seems he uses the same method I use in my ClassChooser. So, unless his plugin is blessed or something, it will probably produce the same problems mine does; where some of the resupply cabinets just won't disable for some reason. |
Re: TF2 Melee Mode v0.2 (6/6)
I haven't seen that yet - is there any specific case that this happens under so I can test it out?
|
All times are GMT -4. The time now is 19:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.