Raised This Month: $18 Target: $400
 4% 

[TF2] Surrender (1.0, 24/06/15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Plugin ID:
4695
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows a team to surrender if undergoing bad morale.
    Old 06-24-2015 , 03:12   [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #1


    [TF2] Surrender

    Have you ever gotten so rekt that you just felt like putting an end to it? That's alright, not everyone's a hero. Give the ability of surrendering to your players!

    Commands
    • sm_surrender - Starts a surrender vote, cooldown of 10 minutes after typed.

    Cvars
    Nothing yet, but I'll​ soon add the ability to change the cooldown.

    Changelog
    Code:
    2015-06-24
    
    * Initial release.
    Installation
    Drag & drop.

    Dependencies
    The plugin requires SDKTools & MoreColors to compile.

    Plans..
    Tell me what you want added.. ^^

    Thats about it, hope this plugin helps!
    (first (public) plugin hype)

    Cheers,
    Yuuta (or whatever this forum calls me)

    PS: If you do decide to edit the plugin, please keep my url in the plugin:info (it helps for my portfolio)
    Attached Files
    File Type: sp Get Plugin or Get Source (surrender.sp - 161 views - 6.6 KB)
    File Type: smx surrender.smx (11.3 KB, 274 views)
    __________________
    SourcePawn Coding Level: Novice

    Last edited by DJ Data; 06-24-2015 at 13:55.
    DJ Data is offline
    awesome144
    Senior Member
    Join Date: Jul 2014
    Location: In lala land
    Old 07-03-2015 , 03:26   Re: [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #2

    So this will force any game mode to surrender? Even MvM?
    __________________
    ⎛⎝Officer Spy⎠⎞


    awesome144 is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 07-03-2015 , 03:28   Re: [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #3

    Quote:
    Originally Posted by awesome144 View Post
    So this will force any game mode to surrender? Even MvM?
    I haven't tested MvM, but you can give it a shot.
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 07-03-2015 , 13:41   Re: [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #4

    Can you perhaps add a cvar to control the winning ratio? (as in the percentage of total eligible voters require to pass the vote.) A cvar that determine which, or both team get to participate in the vote would be awesome too.
    __________________
    Marverlous is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 07-03-2015 , 14:33   Re: [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #5

    Quote:
    Originally Posted by Marverlous View Post
    Can you perhaps add a cvar to control the winning ratio? (as in the percentage of total eligible voters require to pass the vote.) A cvar that determine which, or both team get to participate in the vote would be awesome too.
    I'll consider the first one, but for the second one... you want the other team to be able to vote for the other team's loss...? o.O
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 07-03-2015 , 15:23   Re: [TF2] Surrender (1.0, 24/06/15)
    Reply With Quote #6

    Aye, I run a Class Warfare server and I figure the other team should also determine if the losers are allowed to take the easy way out or not.

    If the plugin end the round with the winner set to "none," would suddendeath be activated? That would be a nice feature for those hours-long CTF matchs.

    This is mild suggestion, you dont need to consider it. But a RTV-esque system would perhaps work better (where players type a command, and if enough player type the command, the vote is started.)

    Sorry for the clumsy English, and thanks for making this wonderful plugin
    __________________
    Marverlous is offline
    Reply


    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 02:32.


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