PDA

View Full Version : Cfg


antrichen
04-21-2004, 10:33 PM
I have a problem with when i run a tdm cfg on my server and then exec a sd cfg it goes to my first map and then after that map goes all the way through the tdm rotation before going to the sd rotation. I have had this problem before and was pretty sure that I knew the cause because of the

set sv_mapRotationCurrentmap ""

line. But maybe I am missing something. Here is the whole thing.

// Hostname and Message of the Day
set sv_hostname "[BRC] CoD1 S&D Rotation www.badrangercompany.com"
set scr_motd "Destroy Target A or B by planting explosives at either location."

// Maximum Clients
set sv_maxclients "24"

// Team Icons
set scr_drawfriend "1"

//allow people to download maps
set sv_allowDownload "1"

// Forced Respawn
set scr_forcerespawn "1"

// Friendly Fire 0=off, 1=on, 2=reflect damage
set scr_friendlyfire "2"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "0"
set g_allowvote "0"

//pure server & ping settings
set sv_pure 1
set sv_minPing "0" //Disables minimum ping
set sv_maxPing "200" //Disables maximum ping

// Rconpassword
set rconpassword "********"

//sets private slots & connect pass
set sv_privateclients "2"
seta sv_privatepassword "*******"

//kill cam & spectate settings
set scr_killcam "1"
set scr_freelook "0"
set scr_spectateenemy "0"

// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// Search and Destroy Settings
set scr_sd_graceperiod "15"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "20"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"

//Game & Map Rotation
set g_gametype "sd" //gametype: bel, dm, re, sd, tdm

// The rotation.
set sv_mapRotationCurrentmap ""

set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_neuville gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"

map mp_brecourt

Anex
04-22-2004, 05:49 AM
sv_maprotationcurrentmap "" does nothing; remove it.

Use this in your map configs:

set sv_maprotationcurrent ""


Place it just before you set your map rotation (sv_maprotation) and you'll be good to go. This will clear any existing rotation, allowing your new map rotation to be used instead.