SourceOP
Map Veto Percentages - Printable Version

+- SourceOP (http://forums.sourceop.com)
+-- Forum: SourceOP Plugin (http://forums.sourceop.com/SourceOP-Plugin-forum)
+--- Forum: General Chat (http://forums.sourceop.com/General-Chat-forum)
+--- Thread: Map Veto Percentages (/Map-Veto-Percentages-thread)



Map Veto Percentages - JaySingh - Feb 08, 2011

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


Map Veto Percentages - Drunken F00l - Feb 08, 2011

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