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

xLoadCountdown - countdown until map load


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Exolent[jNr] (178)
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-31-2009 , 17:13   xLoadCountdown - countdown until map load
Reply With Quote #1



Screenshots:


(next map unknown) | (next map known)

Description:

Don't you hate it when the time limit ran out and you just sit there, staring at the scoreboard, wondering when in God's name the map change will finally start and release you from waiting?
Then this plugin is for you.

Waiting seems to be longer when you don't see how long you still have to wait. That's why "estimated time left" and progress bars were invented.

So, this plugin will show a countdown in chat area (HUD messages don't work, HL does not allow them anymore after time limit was reached) every second until the next map will be loaded when time for the current map ran out. It will do this based on mp_chattime.
If amx_nextmap is set (usually it is when you are using any AMXX map vote plugin) it will also show the next map in the countdown message.
Optionally it can as well speak the countdown numbers.


Requirements:
  • Metamod v1.18
  • HLDS v3.1.1.1
  • AMXX v1.70

Basically the plugin is intended to work with
- every HL1 mod
- the currently latest and last before latest AMXX version



Languages:
Many thanks to all translators! If you like a translation, why not give karma to the translator if he is listed with his account?

You can translate a language that is missing? Then please go to this thread.



Known problems:

Some plugins mess with mp_chattime, especially plugins having to do with map management (e.g. map voting plugins). Therefore you can correct the countdown using the CVAR chattime_offset. See the CVARs section for details.



CVARs:

For easy graphical CVAR configuration open this file:
xLoadCountdown.xconf
(you need to have xVarConfig installed for this to work)

chattime_offset:
If your countdown is shown correctly then either don't set this CVAR at all or set it to 0, which also is the default.
But if you noticed you always have a difference of X seconds from what xLoadCountdown thinks when the map change will occour and when it occurs in reality you can change the cvar chattime_offset to a positive or negative integer.

For example:
nextmap.amxx is adding 2 seconds to mp_chattime to be able to control the mapchange itself.
If xLoadCountdown is loaded after nextmap.amxx you need to correct the offset like this:
chattime_offset -2

If you're confused with the setting of this CVAR simply experiment a little with it until you found the correct value fitting your server.


loadcountdown_chat:
0 means countdown messages in chat area are disabled.
1 means countdown messages in chat area are enabled.

Set to 1 by default.


loadcountdown_voice:
0 means voice is disabled.
1 means voice is enabled. The ingame voice will speak the countdown numbers.

Set to 0 by default.



Installation:

The files go into these directories (relative to your amxx directory):
  • xloadcountdown.amxx --> /plugins
  • xloadcountdown.txt --> /data/lang
  • xloadcountdown.sma --> /scripting (optional, only for your reference or if you compile it there)


Current version: 0.2.1
Attached Files
File Type: sma Get Plugin or Get Source (xloadcountdown.sma - 2416 views - 6.7 KB)
File Type: txt xloadcountdown.txt (1.7 KB, 850 views)
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 03-04-2018 at 09:46. Reason: updated URLs to new domain name
xOR is offline
 



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 05:15.


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