This plugin is the same like the one on alliedmoders for counter-strike. A member of that forum modified it for me so now it works for half-life.
Author: AMX Dev & KWo, modified for half-life by fysiks Version: 3.41hl
Info:
Код: What are the biggest differences between mapchooser4 and the default mapchooser? 1. It supports extending maps on servers playing in maxround / winlimit systems. 2. It "remembers" the history of the last 0-15 played maps ("amx_map_history" cvar) to prevent get them to the map vote menu again. 3. You can define by a cvar if You want to use mapcycle.txt, maps.ini or maps folder for the list of maps they wiil be taken into maps vote menu. 4. It lets You rock the vote for the next map.
Currently this plugin version posted here is based on code of AMX 2006.3 written/modified by KRoT@L with some my modifications they came from users requests. KRoT@L used some my ideas I've included in mapchooser4 but he also added few others - for example from Deagle's Map's map management plugin. So all credits of the plugin posted by me here belongs to KRoT@L and to the Deagle.
If amx_mapchooser_type is set to 1, players can nominate maps for the vote. They have to type "nominate mapname" or "vote mapname" or "mapname" in the chat. They can type "nominations" in the chat to see the list of nominated maps. They can type "amx_listmaps" in console to see the maps that can be nominated if amx_nominfromfile is set to 1.
The plugin uses cvars:
amx_mapchooser_type <0/1/2> (default is 0): 0: random maps from amx_mapchooser_mapsfile/mapcycle/maps folder 1: nominations 2: the nextmap is a random map chosen from amx_mapchooser_mapsloc (no vote) amx_mapchooser_mapsloc <0|1|2> (default is 0): 0: amx_mapchooser_mapsfile 1: mapcycle 2: maps folder amx_mapchooser_mapsfile - File used when amx_mapchooser_mapsloc is set to 0 (default filename is "maps.ini"). The file must be in amxmodx/configs/ folder. amx_mapchooser_mapsfile_s - File used when amx_mapchooser_mapsloc is set to 0 and there is less than 10 players on the server (default filename is "maps_small.ini"). The file must be in amxmodx/configs/ folder. If it's not existing there, the regular amx_mapchooser_mapsfile will be used also for smaller than 10 amount of players on the server. amx_nominfromfile <0/1> (default is 0): 0: players can nominate all the maps from the map folder 1: players can only nominate maps from amx_mapchooser_mapsfile/mapcycle amx_maxnominperplayer <num> - how many maps each player can nominate (default is 1). amx_map_history <num> - how many last played maps shouldn't go to the maps vote menu (default is 5). amx_extendmap_max <time in mins.> - max. time for overall extending the map if mp_timelimit is used (default is 90). amx_extendmap_step <time in mins.> - with what time the map will be extended if mp_timelimit is used (default is 15). amx_ext_round_max <number of possible polls for extend> - how many times the map can be extended if mp_maxrounds is used (default is 3). amx_ext_round_step <number of rounds> - with what rounds number the map will be extended if mp_maxrounds is used (default is 3). amx_ext_win_max <number of possible polls for extend> - how many times the map can be extended if mp_winlimit is used (default is 3). amx_ext_win_step <number of rounds> - with what rounds number the map will be extended if mp_winlimit is used (default is 3).
amx_rtv <0/1> - enables/disables rockthevote option (deafult is 1). amx_rtv_percent <0.0-1.0> - rockthevote ratio (%/100 human-players they need to say rockthevote to start voting for the next map (default is 0.6). amx_rtv_min_time <time in mins.> - minimum time (in minutes) required to play the map before players can use rockthevote feature (default is 10). amx_rtv_map_time <time in sec.> - time to change to the new map after successful rtv and then successful voting for the new map, the map (instead waiting until round end). Default is 10 (increasing it to 300 will effect in waiting to the round end to change the map).
These AMX X cvars - normally registered by admin.sma plugin but also checked by mapchooser4: amx_vote_time <time in mins.> - the time next vote can happen since last vote happened. Default is 10. amx_vote_delay <time in secs.> - the length of time the vote is active. Default is 10. amx_last_voting <time in mins> - the time last vote happend (internal use). amx_show_activity [0|1|2]: 0 - doesn't show what the admin is doing (starting any vote i.e.), 1 - shows to everybody the activity of admin, but without showing his name, 2 - shows the activity of the admin with his name. Higher than 2 values of this cvar aren't supported by mapchooser4 plugin.
NOTE: Nextmap plugin is required for proper working of this plugin (with amx_nextmap cvar).
|