Results 1 to 3 of 3

Thread: Map voting system.

  1. #1
    JaySingh's Avatar



    Join Date
    Feb 17, 2010
    Last Online
    Oct 02, 2011
    Posts
    50
    Threads
    17



    Map voting system.


    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?

  2. #2
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    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.

  3. #3
    Russianeer's Avatar



    Join Date
    Jun 25, 2011
    Last Online
    Aug 20, 2011
    Posts
    5
    Threads
    0




    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.