AvaMods MapChooser (v1.0)
Author AMXX Dev Team & diamond-optic
Author email -email-
Author website -link-
Description diamond-optic
mod version 1.0
04.14.2008

Info:
- Specifically modified for AvaMods

- extend choice is shown on top & bottom
- seperate extend step for avalanche
- seperate max step for hill
- colored menu
- various spk & hud messages
- cancel vote using amx_cancelmapvote
- Avalanche will always be #1 on list if current map is not avalanche
- certain vote slots are normal maps, others are custom maps (uses sperate configs)


Commands:
amx_cancelmapvote //Cancel a next map vote


CVARs:
amx_extendmap_max "300" //Max time limit to extend to
amx_extendmap_step "20" //# of minutes to extend maps by each time
amx_extendmap_max_hill "30" //Max time limit for hill classic to extend to
amx_extendmap_step_ava "30" //# of minutes to extend avalanche each time


Defines:
#define NORMAL_MAPS 10 //# OF MAPS IN MAPS.INI
#define CUSTOM_MAPS 9 //# OF MAPS IN MAPS_CUSTOM.INI
#define SELECTMAPS 5 //# OF TOTAL MAPS TO SHOW ON VOTE MENU
#define CUSTOM_VOTE 2 //# OF CUSTOM MAPS ON THE VOTE MENU

//Admin Level to use amx_cancelmapvote
#define CANCEL_ADMIN ADMIN_LEVEL_B

//Title of the next map vote menu
#define MENU_NAME "AvaMods - Vote for the next map"

//Chat text when a vote starts
#define TXT_STARTVOTE "Alright fools, which map do you want next?"

//Chat text when a map is extended
//variables must be used and must stay in same order
//first variable (%s): current map name
//second variable (%.0f): how much longer its being extended
//third variable (%.0f): total timelimit on map including current extension
#define TXT_EXTEND "Voting shit done. %s will be extended %.0f more minutes (total runtime: %.0fmins)"

//Chat text when a map has won
//variable must be used
//variable (%s): name of the map that won
#define TXT_NEXTMAP "Voting shit done. The nextmap will be %s"

//Chat text when a player votes to extend
//both variables must be used and stay in the same order
//first variable (%s): player's name
//second variable (%d): how many votes for extend so far
#define TXT_VOTE_EXTEND "%s voted to extend the current map (%d votes)"

//Chat text when a player votes for a map
//variables must be used and must stay in same order
//first variable (%s): player's name
//second variable (%s): map they voted for
//third variable (%s): number of votes for that map so far
#define TXT_VOTE_MAP "%s voted for %s (%d votes)"

//Chat text when the map ends
//variables must be used and must stay in same order
//first variable (%s): current map name
//second variable (%s): next map name
#define TXT_MAPEND "%s is finished, the nextmap will be %s"


Change Log:
- 07.24.2006 Mod Version 0.1b
Fixed mistake with extend map parts

- 09.25.2006 Mod Version 0.1c
Removed showing current map in vote list

- 11.16.2006 Mod Version 0.2
Added command to cancel end of map vote

- 12.25.2006 Mod Version 0.3
added amxx 1.76c changes

- 02.10.2007 Mod Version 0.4
If the current map is not avalanche, avalanche will be #1 on the list

- 05.28.2007 Mod Version 0.5
Fixed a dumb typo
Various little tweaks here & there...
Added hud messages and vox for vote stuff
Removed 'modified' text from vote selections
Added some amx_nextmap custom stuff...
Added using 2 seperate configs (normal & custom maps)
Removed use of MapChooser language file
avalanche now has its own extend step cvar
hill classic now has its own max time cvar

- 11.05.2007 Version 0.6 (never released)
changed default cancel admin level (now is 't' flag)
adjusted placement of extended hud msg
changed my default map count
if no one votes, it restarts ava instead of ava <-> hill
attempt to make extend override switching if equal votes

- 03.15.2008 Version 0.7 (never released)
Minimum percentage required for map to change from avalanche

- 04.14.2008 Version 1.0
Finally released previous updates
Various changes all over
Filesize 18.78 kB
Date Monday, April 14, 2008 - 05:43PM
Downloads 899
Download
Download AvaMods MapChooser (v1.0)


You must be logged in to make comments on this site.
Please log in, or if you are not registered click here to signup




2005-2006
2006-2007
2007-2008
2008-2012
2013-2014
2014-2016
2016-2024
team cdrive
AvaMods 0.x
AvaMods 1.x
AvaMods 2.x
AvaMods 3.o
AvaMods 4.o
AvaMods 5.o

team cdrive   AvaMods

www.AvaMods.com