View Single Post
Author Message
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 12-13-2010 , 13:11   [TF2] Melee Only - Sudden Death
Reply With Quote #1

Melee Only - Sudden Death

Force melee and a specific class during sudden death!


Requires this melee plugin to be installed before you start.

Features:
  • Force melee-only sudden death with a specific class.
  • Melee only can allow non-combat weapons unlike the built-in mp_stalemate_meleeonly.
Convars:
  • melee_suddendeath - (default 1) - 0/1 - Enable or disable this plugin.
  • melee_suddendeath_class - (default "heavy") - Force a class during sudden death. Leave blank to disable. Acceptable values: scout, soldier, pyro, demo/demoman, heavy, engineer/engy, medic, sniper, spy, random.
  • melee_suddendeath_chance - (default 1.0) - Set a chance to enable this mode during suddendeath. Between 0.0 - 1.0: 0.5 = 50% 0.75 = 75% 1.0 = 100% (always on).
Changelog:
Code:
0.1.1 - Added a check to see if the plugin is enabled before changing mp_stalemate_enable
0.1 - Initial Release.
Install instructions:
1. Make sure you have this melee plugin installed.
2. melee_suddendeath.smx goes in sourcemod/plugins

Make suggestions, always looking for features to improve on.
Attached Files
File Type: smx melee_suddendeath.smx (5.0 KB, 908 views)
File Type: sp Get Plugin or Get Source (melee_suddendeath.sp - 522 views - 3.6 KB)
__________________

Last edited by pheadxdll; 08-19-2011 at 12:20.
pheadxdll is offline