Similar to Kart, this script lets you vote for maps in netgames - it even handles things like ties between maps with the same amount of votes, and it allows for server owners to customize the list of gametypes. Custom maps are supported, and BattleMod is supported. This supports every vanilla gametype (even coop, for some reason) as well as every BattleMod gametype. Press jump or ringsling to select a map, and press spin to cancel.
IMPORTANT: The intermission timer setting (console command: inttime) must be a high enough number to contain the whole voting process. I recommend inttime 300.
IMPORTANT: Due to a bug in srb2 related to joins during intermissions, some players may be unable to vote or may see inaccurate voting options. This can be solved by using my other script, Intermission Lock.
Console commands:
vote_time - the duration of the voting period
score_time - the duration of the scoreboard period
gametypelist - set the list of gametypes using their ID numbers (ex: gametypelist 2 3 4 5 6 7)
mapwhitelist - set the list of allowed maps, if you would rather not just use every map. (ex: mapwhitelist f0 f1 f2)
mapblacklist - set the list of disallowed maps, if you would rather not just use every map. (ex: mapblacklist m5)
weightedrandom - enabling this will change the voting result to be somewhat random, with higher probability for maps with more votes. Use it to make unpopular maps win once in a while.
oldcmode - Loops through OLDC battlemod maps, skipping the vote screen entirely.
By default, the enabled gametypes are all vanilla gametypes except coop. To use your own list, use the gametypelist command.
Optional battlemod & Eggrobo Tag support: Add battlemod first before adding this script. At the moment, there is no support for other custom gametypes. ERT must be added after battlemod, until I find a more elegant solution.
Thanks to JJK for adding the "weightedrandom" feature!