AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Round Timer (https://forums.alliedmods.net/showthread.php?t=192601)

ReFlexPoison 08-12-2012 00:24

Round Timer
 
5 Attachment(s)
Round Timer

Description:
Creates a round timer that executes commands when the round ends. Specifically made for Deathrun and Jailbreak.
Control Variables:
  • sm_roundtimer_enabled (default: 1) Enable/Disable plugin
  • sm_roundtimer_time (default: 300) Round timer time
  • sm_roundtimer_hud (default: 1) Enable/Disable displaying timer in hud
  • sm_roundtimer_center (default: 0) Enable/Disable displaying timer in center text
  • sm_roundtimer_xhud (default: -1) X hud position
  • sm_roundtimer_yhud (default: 0.15) Y hud position
  • sm_roundtimer_commands (default: "sm_say The round time has ended!;sm_slay @red") Commands to run once the timer ends
Version Log:
  • Version 1.3
    • Added support for most games
  • Version 1.2
    • Fixed invalid handle errors on map change
    • Added convar to enable/disable timer from displaying in hud
    • Added convar to enable/disable timer from displaying in center text
    • Now automatically determines when round timer starts
    • Now supports any game
    • Changed name of plugin and convars
  • Version 1.1
    • Fixed bugs
  • Version 1.0
    • Initial release
My Plugins
intox Gaming

ReFlexPoison 08-12-2012 00:26

Re: Round Countdown
 
*Reserved

away000 08-12-2012 01:10

Re: Round Countdown
 
can u make to the time be random?

danne2 08-12-2012 18:58

Re: Round Countdown
 
Nice to see this turned into something more than just a slayer.


I'm not a good coder, but since it's ANY, shouldn't this include round_start? I think teamplay_round_start is a TF2 event.



Edit again: Just tested this, and it didn't reset the timer on the new round.

ReFlexPoison 08-12-2012 23:31

Re: Round Countdown
 
Quote:

Originally Posted by danne2 (Post 1770159)
Nice to see this turned into something more than just a slayer.


I'm not a good coder, but since it's ANY, shouldn't this include round_start? I think teamplay_round_start is a TF2 event.



Edit again: Just tested this, and it didn't reset the timer on the new round.

Round start is determined by an event, the cvar designates either it starts on teamplay_round_start or arena_round_start.

And my mistake it is only for Team Fortress 2, as hud text is only designed for a few games. I may add support for other games soon.

ReFlexPoison 12-31-2012 20:56

Re: [TF2] Round Countdown
 
Version 1.1.0 Released

Changes:
> Fixed several bugs.
> Now actually works!

AeroAcrobat 01-19-2013 16:34

Re: [TF2] Round Countdown
 
Code:

L 01/19/2013 - 22:24:55: [SM] Displaying call stack trace for plugin "countdown.smx":
L 01/19/2013 - 22:24:55: [SM]  [0]  Line 170, /home/groups/alliedmodders/forums/files/1/4/9/0/9/0/107685.attach::ClearTimer()
L 01/19/2013 - 22:24:55: [SM]  [1]  Line 95, /home/groups/alliedmodders/forums/files/1/4/9/0/9/0/107685.attach::OnRoundStart()
L 01/19/2013 - 22:29:30: [SM] Native "KillTimer" reported: Invalid timer handle d578159a (error 1)

Wanted to use for freak and deathrun.
worked at first then people reported that its not working anymore :/

Avaray 03-26-2013 09:06

Re: [TF2] Round Countdown
 
Is possible to change this plugin to work with mp_timelimit?
I need plugin like this for my Deathmatch server.
Theres no round time, so I have problem :/

Drixevel 06-21-2013 08:55

Re: [TF2] Round Countdown
 
1 Attachment(s)
I went ahead and did a quick fix for this plugin, should be working. (I say should!)

Powerlord 06-21-2013 09:35

Re: [TF2] Round Countdown
 
Just happened to be reading threads and saw this:

Quote:

Originally Posted by ReFlexPoison (Post 1769674)
Very useful for arena servers without map time limits

tf_arena_round_time is your friend.


All times are GMT -4. The time now is 10:42.

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