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

Sudden Death Melee Redux


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
381
Plugin Version:
1.1.4
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Strip players down to their melee weapon during sudden death
    Old 05-12-2008 , 16:11   Sudden Death Melee Redux
    Reply With Quote #1

    Sudden Death Melee Redux
    Strip players down to their melee weapon during sudden death.

    CVars:
    sm_suddendeathmelee_enable 1 - Enable/Disable the plugin
    sm_suddendeathmelee_class scout - Class for people to spawn as.
    sm_suddendeathmelee_random 1 - If class = "random": 1 = Every player is a random class, 2 = Every player is the same random class
    sm_suddendeathmelee_disableplugins 1 - Disable known plugins that cause problems.

    Acceptable Classes: scout, soldier, pyro, demo/demoman, heavy, engineer/engy, medic, sniper, spy, random, none

    All CVars are configurable in the plugin.suddendeathmelee.cfg file located in your <mod dir>/cfg/sourcemod/ folder.

    Commands:
    sm_forcestalemate - Force the round to end, resulting in a stalemate.

    Notes:
    • Thanks to joev for his original Sudden Death Melee plugin.
    • This plugin was originally named Sudden Death Melee, but so people didn't get confused with the old plugin I gave it a new name; hence the "Redux".
    • The random cvar won't function unless you set the class cvar to "random".
    • When using random mode 2, there's a 10% chance for everyone to spawn as a random class.
    • For sudden death to work, you must have the mp_stalemate_enable cvar set to 1.
    Installation:
    Place the plugin (.smx) into your ~/addons/sourcemod/plugins folder.
    Place the txt file into your ~/addons/sourcemod/gamedata folder.
    Manually load the plugin, change the map, or restart the server and a .cfg file should appear in your ~/cfg/sourcemod folder to configure the plugin.

    Changelog:
    • 1.0.0
      • Initial release.
    • 1.0.1
      • Fixed events.
      • Using custom stocks to change players classes.
      • Fixed problems with players speed and not switching to their melee weapon upon spawn.
      • Added random cvar to control how random classes are chosen.
      • Added command to force stalemate.
    • 1.0.2
      • The plugin now makes a plugin.suddendeathmelee.cfg file.
    • 1.0.3
      • Fixed problems caused by the GoldRush update.
      • Renamed to Sudden Death Melee Redux.
    • 1.0.4
      • Fixed the forcestalemate command.
      • Fixed the bug/exploit where people could change their weapon loadouts to get their weapons back.
    • 1.0.5
      • Updated the forcestalemate command to work on any map at any time. The command uses a virtual function so the gamedata file is needed to use it.
    • 1.1.0
      • Updated the Windows signature for the forcestalemate command.
      • Attempt at a fix for the problems presented by the Sniper vs Spy update.
    • 1.1.1
      • Fix for TF2_RespawnPlayer being called on non-connected clients.
    • 1.1.2
    • 1.1.2a
      • Fix for the disable plugins functionality not properly hooking sudden death end.
    • 1.1.3
      • Fixes classes running at the incorrect speeds when entering Sudden Death.
    • 1.1.4
      • Fixes the problem with the class cvar being set to "none".
    Attached Files
    File Type: sp Get Plugin or Get Source (sdmr.sp - 5950 views - 6.1 KB)
    File Type: txt sdmr.games.txt (294 Bytes, 2393 views)

    Last edited by bl4nk; 12-19-2011 at 17:34. Reason: Updated gamedata
    bl4nk is offline
     


    Thread Tools
    Display Modes

    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 04:09.


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