Capture the Flag

Redrock

Junior Member
Joined
Sep 11, 2003
Likes
0
#1
Hiya...was wondering if anyone had a smaple cfg file to set up capture the flag on server...I have the maps just not sure how to do the cfg
 
Joined
Feb 11, 2003
Likes
0
#2
Since the cap flag is based on round base, you can just make a copy of your server.cfg file, rename it something like capflag.cfg.
Where it says set g_gametype, make it a 3 for round base.
Then when your in-game just type rcon exec capflag.cfg, and it will then go into cap flag game. (sometimes you have to do a rcon restart after executing, but not usually) To go back to your default way of playing, just type, rcon exec server.cfg

An example:

// MOHAA server config

// General Settings
set sv_hostname "5th Division Mohaa Server-Capture the Flag"
set rconpassword "xxxxxxxxx"
set rconAddress "xxxxxxxxxx"
set sv_maxRate "10000"
set sv_fps "20"
set sv_maxclients "32"
set sv_privateClients "4"
set sv_allowDownload "1"
set sv_reconnectlimit "3"
set sv_zombietime "1"
set sv_floodProtect "1"
set sv_flood_waitdelay "10"
set sv_flood_persecond "4"
set sv_flood_msgs "4"
set sv_gore "1"
set g_inactiveSpectate "600"
set g_inactivekick "600"
set g_allowvote "0"
set g_forcerespawn "0"
set sv_chatter "1"
set g_allowjointime "5"
set sv_gamespy "1" // show our server in gamespy

// set Admin
// set Email
// set location
// set URL ""


// Server Passwords
set sv_privatePassword "xxxxxxxxx"





// Game Type Settings
set g_gametype "3"
set timelimit "20"





// Map rotation
set sv_maplist "dm/mohdm7 dm/mohdm3 dm/mohdm1 dm/mohdm2 dm/mohdm6 dm/mohdm4"

// Start with the Map rotation
map dm/mohdm7
 
Top Bottom