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

[TF2] Stopwatch Mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Theme97
Senior Member
Join Date: Mar 2009
Plugin ID:
1073
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Runs the stopwatch from mp_tournament without needing to set up tournament settings.
    Old 08-07-2009 , 01:38   [TF2] Stopwatch Mode
    Reply With Quote #1

    I kept this one short and sweet.

    This plugin sets and locks tournament settings so that the stopwatch will display in a game. The "Waiting for Players" time is replaced by a countdown to the beginning of the tournament.

    There are four cvars:
    • stopwatch_version ("1.1"): Self-exlpanatory.
    • stopwatch_enabled (1): Self-explanatory.
    • stopwatch_blueteamname ("Team A"): Name for the team that starts BLU.
    • stopwatch_redteamname ("Team B"): Name for the team that starts RED.

    By default, Stopwatch will only enable on maps that begin with "cp_" or "pl_". You can change this by editing: cfg/sourcemod/stopwatch.txt

    The commands "tournament_readystate" and "tournament_teamname" are blocked so that players cannot mess with any tournament settings.
    Attached Files
    File Type: sp Get Plugin or Get Source (Stopwatch.sp - 2034 views - 3.2 KB)
    __________________
    I now have very little time to work on stuff and my main computer (which is the only one that can run TF2) is not cooperating with me, so don't expect many updates from me anytime soon.

    [ALL] Karaoke
    [TF2] Intel Timer | Crabmod | Randomizer | Stopwatch | Crits 4 All

    Last edited by Theme97; 08-07-2009 at 15:03.
    Theme97 is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-07-2009 , 03:36   Re: [TF2] Stopwatch Mode
    Reply With Quote #2

    Could you add a config file for this so it only works on certain maps? Also a enable disable convar would be nice. Amazing idea though, I'm gonna try this out.
    __________________
    Sexual Harassment Panda is offline
    Theme97
    Senior Member
    Join Date: Mar 2009
    Old 08-07-2009 , 03:52   Re: [TF2] Stopwatch Mode
    Reply With Quote #3

    Quote:
    Originally Posted by Sexual Harassment Panda View Post
    Could you add a config file for this so it only works on certain maps? Also a enable disable convar would be nice.
    Sure. Would it just be a text file with each line containing a map's filename (like a mapcycle file)?
    __________________
    I now have very little time to work on stuff and my main computer (which is the only one that can run TF2) is not cooperating with me, so don't expect many updates from me anytime soon.

    [ALL] Karaoke
    [TF2] Intel Timer | Crabmod | Randomizer | Stopwatch | Crits 4 All
    Theme97 is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-07-2009 , 03:55   Re: [TF2] Stopwatch Mode
    Reply With Quote #4

    That would be perfect.
    __________________
    Sexual Harassment Panda is offline
    Theme97
    Senior Member
    Join Date: Mar 2009
    Old 08-07-2009 , 04:02   Re: [TF2] Stopwatch Mode
    Reply With Quote #5

    All right, 1.1 will have stopwatch_version and stopwatch_enabled. It'll also check cfg/sourcemod/stopwatch.txt and if it doesn't exist it'll default to all cp_* and pl_* maps.

    Update will have to wait for tomorrow, though. Sorry.
    __________________
    I now have very little time to work on stuff and my main computer (which is the only one that can run TF2) is not cooperating with me, so don't expect many updates from me anytime soon.

    [ALL] Karaoke
    [TF2] Intel Timer | Crabmod | Randomizer | Stopwatch | Crits 4 All
    Theme97 is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-07-2009 , 04:06   Re: [TF2] Stopwatch Mode
    Reply With Quote #6

    that's fine no problem, it's late at lest in the USA
    __________________
    Sexual Harassment Panda is offline
    Theme97
    Senior Member
    Join Date: Mar 2009
    Old 08-07-2009 , 15:04   Re: [TF2] Stopwatch Mode
    Reply With Quote #7

    There's 1.1 with cfg support. If the stopwatch.txt file isn't found, it'll create it.
    __________________
    I now have very little time to work on stuff and my main computer (which is the only one that can run TF2) is not cooperating with me, so don't expect many updates from me anytime soon.

    [ALL] Karaoke
    [TF2] Intel Timer | Crabmod | Randomizer | Stopwatch | Crits 4 All
    Theme97 is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 08-08-2009 , 22:50   Re: [TF2] Stopwatch Mode
    Reply With Quote #8

    awesome thanks man. I think i'm going to start running all my maps like this because stopwatch is great.
    __________________
    Sexual Harassment Panda is offline
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 08-21-2009 , 07:52   Re: [TF2] Stopwatch Mode
    Reply With Quote #9

    can we get a picture?
    __________________
    MrSaturn is offline
    cerious
    New Member
    Join Date: Jul 2009
    Old 08-27-2009 , 16:42   Re: [TF2] Stopwatch Mode
    Reply With Quote #10

    I think I was the guy requesting it - if you looked at my request for inspiration for this, thank you so much!
    cerious 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 19:30.


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