addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.8 KB
No file matches.
Advanced Map Vote and Rotation (olds.ro) 1.0.0
Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later.
An end-of-map vote with rock the vote, nominations and weighted map picks.
- The vote starts 2 minutes before mp_timelimit runs out (checked every second and on each
round restart, RG_CSGameRules_RestartRound). The menu (menu_create) shows "Extend" first
while the map has not been extended yet (olds_mv_extend > 0), then the nominated maps,
then weighted random picks, olds_mv_maxmaps maps in all.
- say nominate <map>: one nomination per player (a new one replaces the old); a map can be
nominated only once; the current map and the last olds_mv_recent maps are refused.
- say rtv: once olds_mv_rtvratio of the players asked (and olds_mv_minplayed minutes have
passed), a vote starts at once; its winner is played 5 seconds later. Only one rtv per map.
- Extend adds olds_mv_extend minutes to mp_timelimit; the vote comes back near the new end
without the extend choice.
- A tie: olds_mv_tie 1 = a runoff vote between the tied choices, 0 = one drawn at random.
Nobody voting: the first map of the vote wins.
- say /nextmap shows the winner. The winner is also put in amx_nextmap, and the plugin
changes to it at intermission.
- configs/mapweights.ini: "<map> <weight>" (0-100). The map cycle gives weight 1.
- amx_mapvote_status / amx_mapvote_start (ADMIN_MAP).
Cvars: olds_mv_votetime 20, olds_mv_rtvratio 0.6, olds_mv_maxmaps 7 (max 8),
olds_mv_minplayed 10, olds_mv_extend 15, olds_mv_tie 1, olds_mv_recent 3.
Install: compile scripting/olds_mapvote.sma with amxxpc 1.10, add olds_mapvote.amxx to
plugins.ini and disable mapchooser.amxx (and rockthevote plugins); copy
data/lang/olds_mapvote.txt and configs/mapweights.ini. Sound: stock buttons/blip1.wav.