L4D Melee Fatigue 1.0.3
My first contribution to the community : this plugin allows the server admin to enable/disable the melee fatigue on Versus and Survival matchs through a simple convar.
Known Issues:
Cvars:
- sm_l4d_meleefatigue - Enables/Disables Melee Fatigue
- 0 - Disables melee fatigue. (Default)
- 1 - Enables melee fatigue.
- sm_l4d_meleefatigue_vote - Enables/disables the ability for the players to call a vote to modify the melee fatigue status.
- 0 - Disables vote. (Default)
- 1 - Enables vote.
Commands:
- callvote EnableMeleeFatigue - Calls a vote to enable the melee fatigue.
- callvote DisableMeleeFatigue - Calls a vote to disable the melee fatigue.
Installation:
- If you're updating, delete the previous L4D_MeleeFatigueXXX.smx
- Place L4D_MeleeFatigue103.smx into addons/sourcemod/plugins
- (Optional) Place L4D_MeleeFatigue.cfg cfg/sourcemod. If you don't, a cfg file will be automatically generated in it's place.
Changelog:- 1.0.3 - Added code for vote management and a cvar for the admin to select if the players should be able to vote on the melee fatigue.
- 1.0.2 - Changed melee detection to OnGameFrame (experimental). This fixes the problem with meleeing to the air.
- 1.0.1 - Whoops, small mistake fixed.
- 1.0.0 - Initial release
ToDo: