Raised This Month: $ Target: $400
 0% 

Custom Nextmap


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Emp` (115)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-08-2007 , 20: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, 7767 views)
File Type: sma Get Plugin or Get Source (GHW_Custom_Nextmap.sma - 13076 views - 14.4 KB)

Last edited by GHW_Chronic; 05-16-2008 at 09:38.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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


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