Jump to content

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

Voting Maps

- - - - -


  • Please log in to reply
6 replies to this topic

#1
OFFLINE   Navyveteran

Navyveteran

    Newbie

  • Members
  • Pip
  • 5 posts
1
A step in the right direction

Is there a way to change from an objectivecycle to just being able to vote maps in?



#2
OFFLINE   BECK

BECK

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 226 posts
61
Getting Better
  • LocationDenver, CO
✓  Best Answer

Yes - gametype "6".

See here:

http://mygamingtalk....Cvar#Map_Voting



#3
OFFLINE   Navyveteran

Navyveteran

    Newbie

  • Members
  • Pip
  • 5 posts
1
A step in the right direction

I see the info there, do I need to make a map config and put it in the sever.cfg and exec. or just that cvar setting? I know players have the ability to vote on maps as it stands as default and I set it to "1". When I go to intermission there's no new options to vote on maps.


Edited by Navyveteran, 22 July 2013 - 09:18 PM.


#4
OFFLINE   BECK

BECK

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 226 posts
61
Getting Better
  • LocationDenver, CO

On my server, we have this in our server.cfg:

 

 

set g_gametype "6"

(plus all other map settings from the link above)

 

then:

exec MapVoteCycle.cfg
            // Start the map voting cycle - this is an external file (see below)
set com_watchdog "10"
            // Set amount of time before watchdog triggers after sensing that a map is not loaded
set com_watchdog_cmd "exec MapVoteCycle.cfg"

Then MapVoteCyle.cfg has this:

    set d1 "set g_gametype 6 ; map oasis ; set nextmap vstr d2"
    set d2 "set g_gametype 6 ; map battery ; set nextmap vstr d3"
    set d3 "set g_gametype 6 ; map goldrush ; set nextmap vstr d4"
    set d4 "set g_gametype 6 ; map radar ; set nextmap vstr d5"
    set d5 "set g_gametype 6 ; map railgun ; set nextmap vstr d6"
    set d6 "set g_gametype 6 ; map fueldump ; set nextmap vstr d1"
    vstr d1

What that does is when there are no players, it cycles through the stock 6 maps.    If there are players, they should be presented with a list of maps.  The maps must reside in your etmain folder.

 

Hope that helps.

 

 

EDIT: the other settings we have in server.cfg related to map voting are:

        set g_mapVoteFlags "21"
            // Ways to change how map voting works
            // Only valid when g_gametype is 6 (see Map Voting)
            
        set g_maxMapsVotedFor "12"
            // How many maps are presented to users for voting upon during intermission
            // Only valid when g_gametype is 6 (see Map Voting)
            
        set g_minMapAge "10"
            // How long a map is ineligible for voting, after it is played
            // Only valid when g_gametype is 6 (see Map Voting)
            
        set g_resetXPMapCount "0"
            // How many maps occur before XP is reset. If g_XPSave flag 4 is set, g_resetXPMapCount
            // is ignored. Similarly, if g_resetXPMapCount is set to 0, it is the same as setting
            // g_XPSave flag 4 
            // Only valid when g_gametype is 6 (see Map Voting)
            
        set g_excludedMaps ""
            // Used to exclude map that would otherwise be listed in the map voting list. The format
            // is ":map1:map2:map3:", where mapX is the .bsp name. Note that each mapname must be
            // fully surrounded by ":" otherwise the map will not be excluded.
            // Only valid when g_gametype is 6 (see Map Voting)

Edited by BECK, 23 July 2013 - 08:46 PM.


#5
OFFLINE   Sentrosii

Sentrosii

    Newbie

  • Members
  • Pip
  • 12 posts
0
Unknown

Hi,

 

Please allow me to refresh this topic, but i have a different question about it.

How can i make a different value for different admin lvl?

Such as:

1-9 lvl value of vote is 1

10 lvl - value is 2

11 lvl - 3

12 lvl - 4

 

I've hope you understand me.



#6
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better

Hello, I don't think it's possible, but it's a geat Feature Request !!!

 

@BECK: how an you run set g_mapVoteFlags "21" ?? because flags are 1 2 4 8 



#7
OFFLINE   BECK

BECK

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 226 posts
61
Getting Better
  • LocationDenver, CO

I'm using the super secret setting 16 that allows me to be the only vote that matters.   j/k  That is not a real setting :P

Honestly, I don't know man LOL.   There might have been a flag removed?  Either way, its a bitmask and it works regardless.  However, if value 16 is ever added again, I suppose I better make sure I like that setting :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users