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

TF2 Sudden Death Melee


Post New Thread Reply   
 
Thread Tools Display Modes
Author
joev
Member
Join Date: Dec 2007
Plugin ID:
229
Plugin Version:
1.1.2
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin for TF2 enables Melee only in Sudden Death rounds (similar to BeetlesMod)
    Unapprover:
    Reason for Unapproving:
    No longer supported.
    Old 12-09-2007 , 12:07   TF2 Sudden Death Melee
    Reply With Quote #1

    Description:
    This is a sudden death melee only plugin for TF2.
    It's based on an idea in Beetlesmod where everyone is turned into a heavy weapons guy and combat is with melee weapons only (fists).

    However, (following an excellent suggestion from ferret) it also allows admins to specify which class to use for melee rounds so it's not limited to heavy guy only.

    Additionally, admins can choose to have a random class be used per suddendeath round.

    There is also a "boombastic" mode which gives demomen stickybombs to blow each other into chunks with...

    Usage:
    To enable the plugin you need to extract the attached zip archive inside your addons/sourcemod/ directory.

    Of course you will not get stalemate rounds unless you set the server cvar

    mp_stalemate_enable 1

    To disable the mod set the cvar

    sm_suddendeath_melee 0

    To set the class to use for melee sudden death set the cvar

    sm_suddendeath_melee_class to one of: "scout", "sniper", "soldier", "demoman", "medic", "heavyweapons", "pyro" or "boombastic"

    Additionally you can set sm_suddendeath_melee_class to "random" to enable a random class to be used each time.

    Credits:

    BeetleFart of Beetlesmod fame for the original idea.

    None of these cool plugins would be possible without the tireless efforts of the Sourcemod team.

    This plugin is based on code from SM_CHICKEN by TechNow, MaxClass from Nican123 as well as many ideas from the Soucrcemod scripting community which I've studied to get ideas and understand concepts.

    Credit to ferret for suggesting the idea of configuring what classes to use rather than just hardcoded "Heavy Weapons Guy".

    [-TSG-]HarleyDave for the Boombastic idea.

    Finally, huge Kudos to the clan members of The Schizophrenic Gimps (TSG) and all the regs on the jarHedz TSG servers for their help and patience in testing.

    Disclaimer:
    This release has been tested but not extensively. It's appeared to behave as expected on two servers I've tested it on, but not all possible test scenarios have been addressed, so I make no warranty as to it's efficacy or that it won't blow your server into heaving chunks. Use at your own risk!

    That being said, I'd appreciate feedback as to the performance and any bugs you find (also, any of the old-hands who might look at the code, feel free to give me some pointers if I'm doing some things in a braindead fashion - It's been a long time since I wrote any plugins...)

    If you do have a problem, then please give me as much information as you can. "It doesn't work" is less than useless to me as feedback. If you don't give me more than that, I won't be able to help you.

    Servers running this mod:

    http://www.game-monitor.com/search.p...dendeath_melee

    Finally, if you prefer to "try before you buy" you're free to come join my test servers (T-S-G clan's servers, hosted by jarHedz) on fozzy.jarhedz.com:27018 or animal.jarhedz.com:27015

    License:
    GNU Public License V2.0 (included in the zip)


    Changelog
    * 1.0 - Initial Release
    * 1.0.1 - Removed timers to fix error with some heavies not registering hits.
    * 1.0.2 - Added a cvar to select which class to use for melee, or "random" to use a random class for each sudden death (or "none" to not change class but just use melee weapons).
    * 1.0.3 - Strip all weapons at ResetClass to make sure that when people respawn in next round there aren't stragglers.
    * 1.0.4 - Check for MaxClass plugin and disable for the duration of the sudden death round.
    * 1.0.5 - Spy just doesn't work. Therefore disabled Spy as an option. But on the plus side, there's a new "boombastic" mode where demo-men use stickybombs to demolish each other - Lots of explosions, hilarity and even some "shennanigans" ensue!
    * 1.1.0 - New methodology for handling sudden death melee. Code reorganisation for easier maintenance in the future.
    * 1.1.1 - Caught nasty little bug where if tf_stalematechangeclasstime was 0 people weren't changing class.
    * 1.1.2 - Fix to catch spectators joining team and getting any class they like.
    Attached Files
    File Type: zip tf_suddendeath_melee_111.zip (20.8 KB, 673 views)
    File Type: zip tf_suddendeath_melee-112.zip (21.5 KB, 1714 views)

    Last edited by joev; 01-05-2008 at 05:12. Reason: Updated to Version 1.1.2
    joev is offline
    komat
    Member
    Join Date: Apr 2004
    Old 12-09-2007 , 14:42   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #2

    the command is sm_tf2_suddendeath_melee
    komat is offline
    komat
    Member
    Join Date: Apr 2004
    Old 12-09-2007 , 15:03   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #3

    its pretty buggy
    3/4 of the hits dont register
    komat is offline
    joev
    Member
    Join Date: Dec 2007
    Old 12-09-2007 , 15:33   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #4

    Quote:
    Originally Posted by komat View Post
    its pretty buggy
    3/4 of the hits dont register
    The code has nothing to do with hit reg... Can you be more specific?
    joev is offline
    joev
    Member
    Join Date: Dec 2007
    Old 12-09-2007 , 15:35   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #5

    Quote:
    Originally Posted by komat View Post
    the command is sm_tf2_suddendeath_melee
    There is no command. That's the plugin identifier cvar.

    The cvar to enable/disable is called sm_suddendeath_melee (1/0)

    joev
    joev is offline
    komat
    Member
    Join Date: Apr 2004
    Old 12-09-2007 , 15:37   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #6

    im telling you its sm_tf_suddendeath_melee .... that one you listed doesnt work

    even your script say that

    Last edited by komat; 12-09-2007 at 15:41.
    komat is offline
    komat
    Member
    Join Date: Apr 2004
    Old 12-09-2007 , 15:38   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #7

    if you specate youc an see the heavies are punching way too fast

    we were on 2fort 16vs16 at the bridge no one could hit anyone for a long time

    Last edited by komat; 12-09-2007 at 15:42.
    komat is offline
    joev
    Member
    Join Date: Dec 2007
    Old 12-09-2007 , 16:01   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #8

    Quote:
    Originally Posted by komat View Post
    im telling you its sm_tf_suddendeath_melee .... that one you listed doesnt work

    even your script say that
    Code:
        CreateConVar("sm_tf_suddendeath_melee", PL_VERSION, "TF2 sudden death melee", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
        isSDMeleeOn = CreateConVar("sm_suddendeath_melee","1","Enable/Disable TF2 sudden death melee");
    I know exactly what it says... and you're confused ;)
    joev is offline
    joev
    Member
    Join Date: Dec 2007
    Old 12-09-2007 , 16:38   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #9

    Quote:
    Originally Posted by komat View Post
    if you specate youc an see the heavies are punching way too fast

    we were on 2fort 16vs16 at the bridge no one could hit anyone for a long time
    I've just seen this one on my server. It seems some people can hit and others can't. I'll look into it.

    joev
    joev is offline
    komat
    Member
    Join Date: Apr 2004
    Old 12-09-2007 , 16:51   Re: TF2 Sudden Death Melee (with Heavy Guy)
    Reply With Quote #10

    sm_suddendeath_melee is a unkown command and doesnt work

    if i use sm_tf_suddendeath_melee it works
    komat is offline
    Reply



    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 12:27.


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