Author Topic: Updated mapcontrol.cfg  (Read 2672 times)

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Updated mapcontrol.cfg
« on: November 10, 2009, 07:37:07 pm »
One section of the mapcontrol.cfg config file did not make it in the released archive. It's not in the fixpack either, because the fixpack is for server sided scripts only. If you want to use it, you will have to add it manually. Here's how...

If you are in the process of setting up your 2.5 server, and did not touch mapcontrol.cfg yet, you can download an updated version here: LINK. You don't have to do the stuff explained below.
If you already have a 2.5 server running, and only want to add the missing section, please read on.


Open a copy of your server's mapcontrol.cfg in your favorite text editor.

Locate the end-game mapvote thumbnail section.

// Show map thumbnails (mode 4, 5 and 6 only)
// WARNING #1: DO NOT ENABLE BEFORE YOU HAVE DOWNLOADED AND INTEGRATED
// THE OPTIONAL THUMBNAIL MOD!
// WARNING #2: The number of maps per voting page will be limited to 9.
// WARNING #3: this feature will automatically disable the compass changer and
// the statshud if the number of maps defined in _ex_votemaps exceeds 60.
// 0 = disabled (default)
// 1 = enabled
//set ex_endgame_vote_thumbnails "0"


Copy the following section, and paste it after the thumbnail section (I know, the location doesn't really matter, but it looks better this way):

// Global switches to show or hide certain game types from the voting screen
// 0 = disabled
// 1 = enabled (default)
//set ex_endgame_vote_allow_chq "1"
//set ex_endgame_vote_allow_cnq "1"
//set ex_endgame_vote_allow_ctf "1"
//set ex_endgame_vote_allow_ctfb "1"
//set ex_endgame_vote_allow_dm "1"
//set ex_endgame_vote_allow_dom "1"
//set ex_endgame_vote_allow_esd "1"
//set ex_endgame_vote_allow_hm "1"
//set ex_endgame_vote_allow_hq "1"
//set ex_endgame_vote_allow_htf "1"
//set ex_endgame_vote_allow_ihtf "1"
//set ex_endgame_vote_allow_lms "1"
//set ex_endgame_vote_allow_lts "1"
//set ex_endgame_vote_allow_lib "1"
//set ex_endgame_vote_allow_ons "1"
//set ex_endgame_vote_allow_rbcnq "1"
//set ex_endgame_vote_allow_rbctf "1"
//set ex_endgame_vote_allow_sd "1"
//set ex_endgame_vote_allow_tdm "1"
//set ex_endgame_vote_allow_tkoth "1"
//set ex_endgame_vote_allow_vip "1"


Obviously these settings only work in mapvote mode 4, 5 and 6 (list mode based on maps listed in scriptdata\_ex_votemaps.gsc, where there are two voting stages; one for the map and one for the game type). If you didn't install the latest fixpack yet, containing fix 41, disabling ALL game types will crash your server. The latest fixpack has an updated voting script, which has a safety net for this situation.

Finally, upload the new mapcontrol.cfg to your server.

-- Pat