Raised This Month: $114 Target: $400
 28% 

Custom Nextmap


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Emp` (115)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-08-2007 , 21:28   Custom Nextmap
Reply With Quote #1

  • This plugin replaces the default nextmap voter for AMXX. It allows for extremely customizable nextmap votes. You can now choose which numbers ( 1-8 ) ( 9 is always extend, 0 is always "don't care" ) will be what maps. See example for a better understanding.
  • Also includes rockthevote and nominate features.

Syntax:
  • Code:
    [#]
    Map
    Map
    Map
    Map
    [/#]
    # is a number 1 through 8

Example:
  • Code:
    [1]
    de_dust2
    de_airstrip
    de_aztec
    de_cbble
    de_chateau
    de_dust
    de_inferno
    de_nuke
    de_piranesi
    de_prodigy
    de_storm
    de_survivor
    de_torn
    de_train
    de_vertigo
    [/1]
    
    [2]
    cs_747
    cs_assault
    cs_backalley
    cs_estate
    cs_havana
    cs_italy
    cs_militia
    cs_office
    cs_siege
    [/2]
    
    [3]
    scoutzknivez
    awp_map
    awp_city
    [/3]
    
    [4]
    he_dodgeball
    he_dodgeball2
    he_glass
    he_glass2
    [/4]
    
    [5]
    kz_gigablock
    [/5]
    
    [6]
    surf_egypt
    [/6]
    
    [7]
    %nominated%
    [/7]
    
    [8]
    %nominated%
    [/8]

With the above example you could end up with a menu that looks as such:
  • Code:
    Vote for Next Map:
    
    1. de_prodigy
    2. cs_assault
    3. scoutzknivez
    4. he_glass
    5. kz_gigablock
    6. surf_egypt
    7. (A nominated map here)
    8. (A different nominated map here)
    
    9. Extend (Current Map Name Here)
    0. I don't care.

Commands:
  • amx_nextmap_vote - Starts a vote for nextmap [1=show extend (default) 0=don't show extend]

CVARs:
  • map_enabled - enables this plugin. Takes map change for it to turn off/on. (Default: 1)
  • map_extend_max - max number of times players can vote to extend (Default: 3)
  • map_extend_time - # of minutes map is extended for (Default: 5)
  • map_lastmap_show - Show the lastmap played on the server (1=yes 0=no) (Default: 1)
  • map_lastlastmap_show - Show the map before the lastmap played on the server (1=yes 0=no) (Default: 1)
  • map_show_votes - Show what players voted for. (1=yes 0=no) (Default: 1)
  • map_rtv_percent - Percent of connected players in server to start a vote rock. (Default: 75) (< 0 or > 100 will disable RTV)
  • map_rtv_wait - Time required between vote rocks and from beginning of map to vote rock in seconds. (Default: 180)
  • map_delay_time - Delay before voting entry allowed. (Default: 6)
  • map_tally_delay_time - Delay between when vote starts and when votes are tallied. (Default: 15)



  • If you are running GunGame set your gg_vote_custom cvar in the gungame config file to "amx_nextmap_vote 0 0". Read the gungame manual for more information on using custom vote plugins.
  • You don't have to use every number. You can also skip numbers ( use numbers 1, 2, 3, 4, 6, 8 ).
  • custom_nextmaps.ini goes into your addons/amxmodx/configs folder.
  • This plugin will automatically disable the default mapchooser plugin, so no need to comment it out.
Attached Files
File Type: ini custom_nextmaps.ini (511 Bytes, 7080 views)
File Type: sma Get Plugin or Get Source (GHW_Custom_Nextmap.sma - 11936 views - 14.4 KB)

Last edited by GHW_Chronic; 05-16-2008 at 10:38.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-08-2007 , 22:22   Re: Custom Nextmap
Reply With Quote #2

Interesting.
__________________
Brad is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-08-2007 , 22:27   Re: Custom Nextmap
Reply With Quote #3

Nice
__________________
Arkshine is offline
FR0NTLINE
AlliedModders Donor
Join Date: Apr 2006
Location: Riverside Cali
Old 04-08-2007 , 22:39   Re: Custom Nextmap
Reply With Quote #4

Good idea
__________________
FR0NTLINE is offline
Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
AdogeN
Senior Member
Join Date: Feb 2007
Old 04-09-2007 , 00:02   Re: Custom Nextmap
Reply With Quote #5

very nice .best of mapchange
AdogeN is offline
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-09-2007 , 08:48   Re: Custom Nextmap
Reply With Quote #6

I like it Chronic, good job
Dark Kingdom is offline
pizzahut
Senior Member
Join Date: Oct 2004
Old 04-09-2007 , 08:59   Re: Custom Nextmap
Reply With Quote #7

Great idea, good job on the plugin!
__________________
My AMXX plugins (content date 2007-03-29, link check 2017-04-26)

Plugins for the Royston Vasey TFC server - These are UNSUPPORTED, except those which have been published at AMX Mod X.

Last edited by pizzahut; 04-09-2007 at 09:28.
pizzahut is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-09-2007 , 09:11   Re: Custom Nextmap
Reply With Quote #8

Very nice, gj Chronic!
Deviance is offline
Tiny
Senior Member
Join Date: Jun 2004
Location: France
Old 04-09-2007 , 09:27   Re: Custom Nextmap
Reply With Quote #9

going to test it on my server and i'll give a reply if some errors are found.
But knowing you I think I might not need testing it.
__________________
KiKoo et Bisous
Tiny is offline
regalis
Veteran Member
Join Date: Jan 2007
Old 04-09-2007 , 13:25   Re: Custom Nextmap
Reply With Quote #10

Cool!
No more need for deagsmapmanager...*yeah*
I like the style of your config, thats pretty simple but usefull!
Keep on the very good work

greetz regalis
__________________
regalis is offline
Reply


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 11:55.


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