PDA

View Full Version : Gametypes random


Zinxz
11-13-2007, 09:20 AM
Hi i`m really new at this, and i need help with how to config random gametypes between this gametypes:
DOMINATION
SABOTAGE
SEARCH AND DESTROY
KING OF THE HILL

without TDM DM gametypes

My configs looks like this:

"gametypes.cfg"

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 200
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 5
set scr_sab_timelimit 0
set scr_sab_roundlimit 5
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 5
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 5
set scr_sab_waverespawndelay 0

//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 5
set scr_sd_timelimit 0
set scr_sd_roundlimit 5
set scr_sd_roundswitch 1 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//************************************************** ****************************
// KING OF THE HILL
//************************************************** ****************************
set scr_koth_scorelimit 450
set scr_koth_timelimit 0
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 20

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_allowkillcam 0
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 1
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 0
set scr_game_forceuav 0
set scr_game_hardpoints 0

//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 1
set scr_team_teamkillspawndelay 10
set scr_team_kickteamkillers 3

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 20
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 1
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 1


"maprotation.cfg"

/************************************************** ****************************
// First gametype to load
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
//************************************************** ****************************

//************************************************** ****************************
// DOM -- DOMINATION
//************************************************** ****************************
//set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//************************************************** ****************************
// KOTH -- HEADQUARTERS
//************************************************** ****************************
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//************************************************** ****************************
// SAB -- SABOTAGE
//************************************************** ****************************
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//************************************************** ****************************
// SD -- SEARCH & DESTROY
//************************************************** ****************************
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"


but still the game starts with a TDM match!!!! What have i done wrong? plz help

romeozor
11-13-2007, 10:26 AM
remove the // from the sv_maprotation param, but you wont be able to keep it as is, because each time the param is called it will forget the previous settings, in this case the maps will only play on sd. you can have multiple gametypes in the rotation, just set it up properly like "gametype sd map mp_foo gametype dom map mp_bar"

Zinxz
11-13-2007, 10:33 AM
remove the // from the sv_maprotation param, but you wont be able to keep it as is, because each time the param is called it will forget the previous settings, in this case the maps will only play on sd. you can have multiple gametypes in the rotation, just set it up properly like "gametype sd mp_foo gametype dom mp_bar"

Ok thanks, as i wrote befor I´m really new at this. But where should i put this --> "gametype sd mp_foo gametype dom mp_bar"

romeozor
11-13-2007, 10:39 AM
in the sv_maprotation
like set sv_maprotation "gametype sd map mp_foo gametype dom map mp_bar"
obviously those are not real mapnames so replace them

Zinxz
11-13-2007, 10:47 AM
well it did`t work, it still starts with a TDM match :(

romeozor
11-13-2007, 10:48 AM
in the startup line put +map_rotate or write it in by hand in the console

Zinxz
11-13-2007, 10:54 AM
in the startup line put +map_rotate or write it in by hand in the console

Non of them worked

Zinxz
11-13-2007, 02:06 PM
I have now started allover again but i dont get it how to run a random gametype server :(

[ELS]WRX Boy
11-13-2007, 03:17 PM
When you say random gametype, do you mean the server randomly chooses a map and gametype, or do you mean a set rotation where you determine different maps with different gametypes?

If it is the first instance you seek, you will not be happy because that is not currently possible (correct me if I am wrong). If you mean the second instance, it is not that hard. I suggest posting your entire config here as it sits on your server (since you said you started all over) and let us take a look (make sure you *** out your passwords before posting the config).

sCaryDeth
11-13-2007, 05:21 PM
Replace your maprotation.cfg with this one. It should basically do what you're wanting (Without it ACTUALLY being random).

I haven't tested it, but give it a shot:

// maprotation.cfg
/************************************************** ****************************
// First gametype to load
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
//************************************************** ****************************

set g_gametype "dom"

//************************************************** ****************************
// DOM/KOTH/SAB/SD map/game rotation
//************************************************** ****************************
set sv_mapRotation "gametype dom map mp_backlot gametype sab map mp_bloc gametype sd map mp_bog gametype koth map mp_cargoship gametype dom map mp_citystreets gametype sab map mp_convoy gametype sd map mp_countdown gametype koth map mp_crash gametype dom map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dom map mp_shipment gametype sab map mp_showdown gametype sd map mp_strike gametype koth map mp_vacant gametype sab map mp_backlot gametype sd map mp_bloc gametype koth map mp_bog gametype dom map mp_cargoship gametype sab map mp_citystreets gametype sd map mp_convoy gametype koth map mp_countdown gametype dom map mp_crash gametype sab map mp_crossfire gametype sd map mp_farm gametype koth map mp_overgrown gametype dom map mp_pipeline gametype sab map mp_shipment gametype sd map mp_showdown gametype koth map mp_strike gametype dom map mp_vacant gametype sd map mp_backlot gametype koth map mp_bloc gametype dom map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype koth map mp_convoy gametype dom map mp_countdown gametype sab map mp_crash gametype sd map mp_crossfire gametype koth map mp_farm gametype dom map mp_overgrown gametype sab map mp_pipeline gametype sd map mp_shipment gametype koth map mp_showdown gametype dom map mp_strike gametype sab map mp_vacant gametype koth map mp_backlot gametype dom map mp_bloc gametype sab map mp_bog gametype sd map mp_cargoship gametype koth map mp_citystreets gametype dom map mp_convoy gametype sab map mp_countdown gametype sd map mp_crash gametype koth map mp_crossfire gametype dom map mp_farm gametype sab map mp_overgrown gametype sd map mp_pipeline gametype koth map mp_shipment gametype dom map mp_showdown gametype sab map mp_strike gametype sd map mp_vacant"

Zinxz
11-13-2007, 05:36 PM
I would like to have the first one "randomly chooses a map and gametype" but if that doesnt work i`ll go for the 2 choice "set rotation where you determine different maps with different gametypes"

This are the settings i have now and it works fine, but its not random gametypes

mp-server.cfg

/************************************************** ****************************
// Public Information
//************************************************** ****************************
set sv_hostname "servername"
set _Admin "admin"
set _Email ""
set _Website ""
set _Location "world"
set _Irc ""
set _Mod ""
set _ModVer ""
set _ModUpdate ""
set _Maps ""
set scr_motd ""

//************************************************** ****************************
// Common Server Settings
//************************************************** ****************************
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"

// Network options
//set net_ip "xxx.xxx.xxx.xxx" // Set your servers IP address
//set net_port "xxxxx" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications

// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet

// Master servers
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"

// Password Settings
set rcon_password "*****" // RCON must supply pw to use
set sv_privatePassword "" // Private slots, non-public slots

// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""

// Player slots setup
set sv_maxclients "32" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots

// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "100" // MAX player ping on CONNECT, any higher and player isnt allowed to connect

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "0"
seta sv_wwwDownload "0"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "0"

// Rate
set sv_maxRate "25000"

// FPS
//set sv_fps "20"

// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"

// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "0"

// Temporary Ban duration, in seconds
set sv_kickBanTime "60"

// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "0"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "0"

//************************************************** ****************************
// Misc
//************************************************** ****************************
set sv_allowAnonymous "0"
set g_antilag "1"
set g_compassShowEnemies "0"
//ui_maxclients 32

//************************************************** ****************************
// Init & Exec CFG Files
//************************************************** ****************************
wait
exec playercontrol.cfg
wait
exec weaponcontrol.cfg
wait
exec gametypes.cfg
wait
exec maprotation.cfg

gametypes.cfg

//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150
set scr_dm_timelimit 5
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 200
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 750
set scr_war_timelimit 5
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 5
set scr_sab_timelimit 0
set scr_sab_roundlimit 5
set scr_sab_roundswitch 0
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 5
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 5
set scr_sab_waverespawndelay 0

//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 4
set scr_sd_timelimit 0
set scr_sd_roundlimit 4
set scr_sd_roundswitch 2 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT INCLUDED IN COD4
//************************************************** ****************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15

//************************************************** ****************************
// KING OF THE HILL
//************************************************** ****************************
set scr_koth_scorelimit 450
set scr_koth_timelimit 0
set scr_koth_roundlimit 1
set scr_koth_roundswitch 0
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 20

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_allowkillcam 0
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 1
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 0
set scr_game_forceuav 0
set scr_game_hardpoints 0

//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 0
set scr_team_teamkillspawndelay 10
set scr_team_kickteamkillers 0

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 1
set scr_oldschool_mw 0
set ui_hud_obituaries 0
set ui_hud_showobjicons 0

maprotation.cfg

/************************************************** ****************************
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//************************************************** ****************************
set g_gametype "dom"

//************************************************** ****************************
// DM -- FREE FOR ALL DEATHMATCH
//************************************************** ****************************
//set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"

//************************************************** ****************************
// DOM -- DOMINATION
//************************************************** ****************************
set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//************************************************** ****************************
// KOTH -- HEADQUARTERS
//************************************************** ****************************
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//************************************************** ****************************
// SAB -- SABOTAGE
//************************************************** ****************************
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//************************************************** ****************************
// SD -- SEARCH & DESTROY
//************************************************** ****************************
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"

//************************************************** ****************************
// WAR -- TEAM DEATH MATCH
//************************************************** ****************************
//set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"


and this is the start cmdline: Modern Warfare\iw3mp.exe" +set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port xxxxx +set sv_punkbuster +exec mp-server.cfg

Zinxz
11-13-2007, 05:41 PM
Replace your maprotation.cfg with this one. It should basically do what you're wanting (Without it ACTUALLY being random).

I haven't tested it, but give it a shot:

// maprotation.cfg
/************************************************** ****************************
// First gametype to load
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
//************************************************** ****************************

set g_gametype "dom"

//************************************************** ****************************
// DOM/KOTH/SAB/SD map/game rotation
//************************************************** ****************************
set sv_mapRotation "gametype dom map mp_backlot gametype sab map mp_bloc gametype sd map mp_bog gametype koth map mp_cargoship gametype dom map mp_citystreets gametype sab map mp_convoy gametype sd map mp_countdown gametype koth map mp_crash gametype dom map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dom map mp_shipment gametype sab map mp_showdown gametype sd map mp_strike gametype koth map mp_vacant gametype sab map mp_backlot gametype sd map mp_bloc gametype koth map mp_bog gametype dom map mp_cargoship gametype sab map mp_citystreets gametype sd map mp_convoy gametype koth map mp_countdown gametype dom map mp_crash gametype sab map mp_crossfire gametype sd map mp_farm gametype koth map mp_overgrown gametype dom map mp_pipeline gametype sab map mp_shipment gametype sd map mp_showdown gametype koth map mp_strike gametype dom map mp_vacant gametype sd map mp_backlot gametype koth map mp_bloc gametype dom map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype koth map mp_convoy gametype dom map mp_countdown gametype sab map mp_crash gametype sd map mp_crossfire gametype koth map mp_farm gametype dom map mp_overgrown gametype sab map mp_pipeline gametype sd map mp_shipment gametype koth map mp_showdown gametype dom map mp_strike gametype sab map mp_vacant gametype koth map mp_backlot gametype dom map mp_bloc gametype sab map mp_bog gametype sd map mp_cargoship gametype koth map mp_citystreets gametype dom map mp_convoy gametype sab map mp_countdown gametype sd map mp_crash gametype koth map mp_crossfire gametype dom map mp_farm gametype sab map mp_overgrown gametype sd map mp_pipeline gametype koth map mp_shipment gametype dom map mp_showdown gametype sab map mp_strike gametype sd map mp_vacant"

No that did not work, it only run dominations match

Zinxz
11-15-2007, 07:49 AM
My brain are not fast but it get it sooner or later :P
This setting does the job i want:

maprotation.cfg

/************************************************** ****************************
// First gametype to load
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
//************************************************** ****************************

//************************************************** ****************************
// DOM/KOTH/SAB/SD map/game rotation
//************************************************** ****************************
set sv_maprotation "set sv_mapRotation "gametype dom map mp_backlot gametype sab map mp_bloc gametype sd map mp_bog gametype koth map mp_cargoship gametype dom map mp_citystreets gametype sab map mp_convoy gametype sd map mp_countdown gametype koth map mp_crash gametype dom map mp_crossfire gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dom map mp_shipment gametype sab map mp_showdown gametype sd map mp_strike gametype koth map mp_vacant gametype sab map mp_backlot gametype sd map mp_bloc gametype koth map mp_bog gametype dom map mp_cargoship gametype sab map mp_citystreets gametype sd map mp_convoy gametype koth map mp_countdown gametype dom map mp_crash gametype sab map mp_crossfire gametype sd map mp_farm gametype koth map mp_overgrown gametype dom map mp_pipeline gametype sab map mp_shipment gametype sd map mp_showdown gametype koth map mp_strike gametype dom map mp_vacant gametype sd map mp_backlot gametype koth map mp_bloc gametype dom map mp_bog gametype sab map mp_cargoship gametype sd map mp_citystreets gametype koth map mp_convoy gametype dom map mp_countdown gametype sab map mp_crash gametype sd map mp_crossfire gametype koth map mp_farm gametype dom map mp_overgrown gametype sab map mp_pipeline gametype sd map mp_shipment gametype koth map mp_showdown gametype dom map mp_strike gametype sab map mp_vacant gametype koth map mp_backlot gametype dom map mp_bloc gametype sab map mp_bog gametype sd map mp_cargoship gametype koth map mp_citystreets gametype dom map mp_convoy gametype sab map mp_countdown gametype sd map mp_crash gametype koth map mp_crossfire gametype dom map mp_farm gametype sab map mp_overgrown gametype sd map mp_pipeline gametype koth map mp_shipment gametype dom map mp_showdown gametype sab map mp_strike gametype sd map mp_vacant"



and in the cmdstartline must have this ---> +map_rotate <--- it want work if you type it in the consol
(+set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port xxxxx +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate)