Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

map voting


  • Please log in to reply
3 replies to this topic

#1
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
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?

#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
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   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
so i should add there gametype 6 and write the maps which i want to be shown during the intermission?

#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users