Raised This Month: $32 Target: $400
 8% 

Concept: mp_maxrounds instead of mp_timelimit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   devicenull (200)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 11-05-2004 , 13:47   Concept: mp_maxrounds instead of mp_timelimit
Reply With Quote #1

I got tired of rounds being cut in half just because time of map ran out (mp_timelimit).

With Cstrike you can set mp_timelimit to 0 and mp_maxrounds to something like 20, and you will always play 20 full rounds no matter what. Well, if everyone leaves the server and two people come back, it will be played from 20 rounds again, but that's the same as with minutes, they are also reset.

The only problem with this is saying "timeleft" in chat doesn't give any decent info (0), so I made a plugin called "roundsleft" which basically answers the remaining number of rounds when someone says "timeleft" (or "roundsleft"). Also there's a speaker telling the number of rounds. It also does that every new round. Kind of annoying, but cool. :-)

There is also one more problem with this. With the normal mapchooser plugin you can't vote for Extend map option simply because it doesn't exist. I made an update to that plugin also so that this indeed is possible. The cvar amx_extendmap_step which normally denotes minutes now denotes number of rounds that will be added, should the map be extended in the vote.

I've used these plugins for ~1 year so they should work, haven't had any problems with them.

Install roundsleft.amxx and replace your current mapchooser.amxx with this one, and you should be set. Just set mp_timelimit to 0 and mp_maxrounds to 20 or so.

There is a cmd with roundsleft plugin: amx_addrounds #
You can add rounds remaining by typing "amx_addrounds 5", and remove them by "amx_addrounds -5".

Note that the best way to set up your server is to set the mp_maxrounds in your mapchangecfgfile (this is a cvar, define it in server.cfg). Because when you add/remove nr of rounds you actually set the mp_maxrounds. It better be set back during a mapchange.

There, think I covered it all.
Attached Files
File Type: sma Get Plugin or Get Source (roundsleft.sma - 6239 views - 10.4 KB)
File Type: sma Get Plugin or Get Source (mapchooser.sma - 4252 views - 8.1 KB)
Johnny got his gun is offline
 


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 01:40.


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