SM Nextmap Info - Countdown and MapEnd - GunGame Support
3 Attachment(s)
SM Nextmap Info
Version: 1.9 Author: SWAT_88 1.0 First version, should work on basically any mod. 1.1 Added RoundEnd support. 1.2 Added Cvar for number of repetitions. 1.3 Added Timeleft-Check. 1.4 Fixed some bugs. 1.5 Added some features: countdown1.6 Added support for GunGame & Co 1.7 Fixed a small bug. 1.8 Fixed a bug, should now work on any mod. 1.9 Using the map end routine from sm_forcetimelimit. Description: Prints the nextmap on map end.Commands: None.Cvars: sm_nextmapinfo_enabled "1" - 0: disables the plugin - 1: enables the pluginCvars (basetriggers.smx): sm_timeleft_interval "0.0" Display timeleft every x seconds.Setup (SourceMod): Install the smx file to addons\sourcemod\plugins.TO DO:
Everybody can edit this plugin and copy this plugin.Thanks to: Tsunami for the map end routine.Donations: I'm a student and code this plugins in my freetime, while you probably play games :).Notice: This HAVE FUN!!! |
Re: SM Nextmap Info
Just a brainstorm:
There is a lot more conditions and commands that could lead to a new map, you could add those (take a look at mapchooser for other events that can cause mapchange including special cases like bonus round/time) then you could also try to hook on commands that cause change (like nextmap). By looking at the code slightly I can't see a test if the round is the last (winlimit or round limit). for clarification, what is the purpose of "sm_nextmapinfo_loop" ? |
Re: SM Nextmap Info
Can you add a countdown the last seconds in a map?
Like: 10,9,8,7,6,5,4,3,2,1, map-change to mapname. |
Re: SM Nextmap Info
Oh my god. You saved my day today. Thank you very much.
Back then I asked someone for as plugin like this and (somehow) you heard me. XDDD I will download it right now! And I have a question: The sm_nextmapinfo_loop is in seconds or minutes? [REQ] Is there a way to specify where the message is going to appear? I want it to show on top left. |
Re: SM Nextmap Info
Quote:
|
Re: SM Nextmap Info
Quote:
I also included timeleft hook. If you think there are more events I will look for them. Quote:
(Test it or look at the code closer) Quote:
That means how often nextmap message is shown in chat successively. Quote:
Quote:
I only know bottom center, panel, chat and center messages. |
Re: SM Nextmap Info
Quote:
|
Re: SM Nextmap Info
Quote:
It is definitely possible. |
Re: SM Nextmap Info
Quote:
|
Re: SM Nextmap Info
It is a neat and simple plugin indeed that will fit a lot of people but my points was if you are bored you could expand it to consider other parameters for mapchange like winlimit and roundlimit etc. instead of only timelimit.
Code:
public CvarChange_Timelimit(Handle:cvar, const String:oldvalue[], const String:newvalue[]) Code:
public CvarChange_Timelimit(Handle:cvar, const String:oldvalue[], const String:newvalue[]) Quote:
|
All times are GMT -4. The time now is 14:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.