Hey I want to add map voting on my server, but not quite sure how to do it, Ive got maps in etmain and this in my cfg:
set g_gametype 6
set com_watchdog 60
set com_watchdog_cmd "exec objectivecycle.cfg"
What is the next thing to be done, to make it all work?

map voting
Started by Dookie, Apr 21 2012 08:20 PM
3 replies to this topic
#1
OFFLINE
Posted 21 April 2012 - 08:20 PM

#2
OFFLINE
Posted 21 April 2012 - 08:54 PM

You need to add the g_gametype setting into the map objectivecycle.cfg too. Most likely in that file there are settings for different gametype.
#3
OFFLINE
Posted 21 April 2012 - 09:21 PM

so i should add there gametype 6 and write the maps which i want to be shown during the intermission?
#4
OFFLINE
Posted 21 April 2012 - 10:40 PM

There is mapvotecycle.cfg included in the silent download. Take a look at that you will see what I mean.
Objective cycle looks usually something like this
As you can see, there is g_gametype setting on each line. Change that 2 to 6 to get mapvoting enabled when cycling through it. Otherwise it will change it to objective gametype. But like I said, there is example mapvotecycle.cfg included in the download and perhaps it would be better if you edited that to your needs.
Objective cycle looks usually something like this
set d1 "set g_gametype 2 ; map oasis ; set nextmap vstr d2" set d2 "set g_gametype 2 ; map battery ; set nextmap vstr d3" set d3 "set g_gametype 2 ; map goldrush ; set nextmap vstr d4" set d4 "set g_gametype 2 ; map radar ; set nextmap vstr d5" set d5 "set g_gametype 2 ; map railgun ; set nextmap vstr d6" set d6 "set g_gametype 2 ; map fueldump ; set nextmap vstr d1" vstr d1
As you can see, there is g_gametype setting on each line. Change that 2 to 6 to get mapvoting enabled when cycling through it. Otherwise it will change it to objective gametype. But like I said, there is example mapvotecycle.cfg included in the download and perhaps it would be better if you edited that to your needs.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users