Results 1 to 2 of 2

Thread: Map Veto Percentages

  1. #1
    JaySingh's Avatar



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



    Map Veto Percentages


    How would I make it so that a certain map in the map cycle requires 70% of votes for it to be skipped?

  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



    You can set the overall minimum to 70%, but there is no built-in way to make a minimum on a per-map basis. You're free to edit the lua script to make it do whatever you like, however.

    Something like this is an ugly hack, but will do:
    Under:
    Code:
    local defpercent = convar.GetInteger("DF_mapveto_defaultpercent")
    Add:
    Code:
    if(nextmap == "cp_MapYouHate") then
        defpercent = 70
    end