PDA

View Full Version : Sample Config


FragBoy69
11-02-2003, 07:04 PM
Does anyone have a sample server config for a dedicated server? Ours is up and running, but we need to figure out how to set different map configs and also how to create password slots. If anyone could help, it would be much appreciated.

ClickBouyow
11-03-2003, 08:25 AM
Here ya go:

set sv_hostname "CoD Server"//set hostname here
set g_banIPs ""
set g_password "" // sets a password on your server
set rconPassword "xxxxxxx" //sets your rcon password
set set sv_privatepassword "xxxxxxx"
set g_log "games_mp.log" //watch out!! This gets big fast, but it is very detailed!!!
set g_logsync "1"

set scr_motd "Welcome to a Call of Duty Server" // This is the message the server displays when some one joins
set g_gametype "tdm" //gametype: bel, dm, re, sd, tdm
set sv_maxclients "32" //Max number of players
set sv_privateclients "4"

//General Game Default Description
set scr_allow_bar "1" //0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
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"
set scr_allow_vote "1" //Allow call voting
set scr_drawfriend "1" //Draws a team icon over teammates
set scr_forcerespawn "0" //Force respawning - DM & TDM
set scr_friendlyfire "2" //0 - off 1 - on 2 - reflect damage


//Behind Enemy Lines Default Description
set scr_bel_alivepointtime "10" //Number of seconds to get a point for staying alive as allied
set scr_bel_scorelimit "50" //Map score limit
set scr_bel_timelimit "30" //Map time limit, in minutes - 0 to 1440
set
//Deathmatch Default Description
set scr_dm_scorelimit "50" //Map score limit
set scr_dm_timelimit "30" //Map time limit - 0 to 1440, in minutes

//Retrieval Default Description
set scr_re_graceperiod "15" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 in seconds
set scr_re_roundlength "10" //Map round length in minutes
set scr_re_roundlimit "5" //Max Number of round wins per map
set scr_re_scorelimit "10" //Map score limit
set scr_re_showcarrier "1" //Show the objective carrier on compass
set scr_re_timelimit "20" //Map time limit, in minutes - 0 to 1440

//Search and Destroy Default Description
set scr_sd_graceperiod "15" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds
set scr_sd_roundlength "10" //round length
set scr_sd_roundlimit "5" //Max Number of round wins per map
set scr_sd_scorelimit "10" //Map team score limit per map
set scr_sd_timelimit "20" //Map time limit, in minutes - 0 to 1440

//Team Deathmatch Default Description
set scr_tdm_scorelimit "100" //Map score limit
set scr_tdm_timelimit "30" //Map time limit

//exec server_tdm.cfg
//exec server_sd.cfg
//exec server_re.cfg
//exec server_bel.cfg

set sv_mapRotation "gametype tdm map mp_dawnville gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship"

map mp_dawnville //this statement is required. Server will crash. if you want to use one of the server configs above, be sure to add the map statement.

rudedog
11-03-2003, 04:22 PM
going to move this to server support