AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Stopwatch Mode (https://forums.alliedmods.net/showthread.php?t=99571)

Theme97 08-07-2009 01:38

[TF2] Stopwatch Mode
 
1 Attachment(s)
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.

Sexual Harassment Panda 08-07-2009 03:36

Re: [TF2] Stopwatch Mode
 
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.

Theme97 08-07-2009 03:52

Re: [TF2] Stopwatch Mode
 
Quote:

Originally Posted by Sexual Harassment Panda (Post 892329)
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)?

Sexual Harassment Panda 08-07-2009 03:55

Re: [TF2] Stopwatch Mode
 
That would be perfect.

Theme97 08-07-2009 04:02

Re: [TF2] Stopwatch Mode
 
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.

Sexual Harassment Panda 08-07-2009 04:06

Re: [TF2] Stopwatch Mode
 
that's fine no problem, it's late at lest in the USA

Theme97 08-07-2009 15:04

Re: [TF2] Stopwatch Mode
 
There's 1.1 with cfg support. If the stopwatch.txt file isn't found, it'll create it.

Sexual Harassment Panda 08-08-2009 22:50

Re: [TF2] Stopwatch Mode
 
awesome thanks man. I think i'm going to start running all my maps like this because stopwatch is great.

MrSaturn 08-21-2009 07:52

Re: [TF2] Stopwatch Mode
 
can we get a picture? :D

cerious 08-27-2009 16:42

Re: [TF2] Stopwatch Mode
 
I think I was the guy requesting it - if you looked at my request for inspiration for this, thank you so much!


All times are GMT -4. The time now is 22:20.

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