I don't mean the veto system, but the actual map voting system. How does it work? Is there a documentation on it? What are the commands? Does the map voting system ensure that the same maps don't get played over and over again?
I don't mean the veto system, but the actual map voting system. How does it work? Is there a documentation on it? What are the commands? Does the map voting system ensure that the same maps don't get played over and over again?
It uses the old (supported) menu system. The one where you have to push escape to go to the main menu in order to see it.
The CVARs to control it are listed on the wiki here (DF_vote_...):
http://www.sourceop.com/wiki/Server_CVARs
Players start it with "rockthevote", "rtv", or "mapvote". It does not ensure the same maps are not played over and over and all maps in the maps folder will show up.
If you have any lua experience and feel like making a newer-style map vote with controllable restrictions and all that, I can probably help get you started.
Mind helping me get started?
I'm looking for a way to make the built in map chooser do the following:
- read the maps to be in the vote from a file
- have only three maps show up in each vote with extend map being the fourth choice
- have a run-off voting system between the top two maps chosen based on votes from the three if the extend map choice doesn't go pass 50%
- exclude the past 5 maps from being in the vote
I won't be using the menu based voting system where you have to press escape, so DF_vote_menu will be set to 0.