Jump to content

map voting


Dookie

Recommended Posts

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?

Link to comment
Share on other sites

  • Management

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

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...