Username:

Password:

Pages: [1]
  Print  
Author Topic: CoD Dedicated Server Set Up  (Read 7732 times)
TX-CUDA
BLACK 8
TX-Member
Hero Member
*****
Offline Offline

Posts: 1730



View Profile
« on: December 08, 2003, 10:22:20 am »

....here is a .cfg file that is used on the servers that are run by Activision on their CoD servers. You can edit various aspects of this setup and have your server do what you want...it's much easier to just show the way the file is actually set up than try and explain it!Here Ya go gunners!!


If you would like to host a dedicated server with a map rotation script please read the following instructions. You essentially need two things, a shortcut to launch the dedicated and a script file for server settings and to load in the maps of your choosing.

The Shortcut.
1. First, create a shortcut to your CoDMP.exe file.
2. Right click on the shortcut and select properties. The target field by default will read something like this:
"C:\Program Files\Call of Duty\CoDMP.exe"

3. We need to add commands some commands to the line. First we want to set the server to an internet dedicated (+set dedicated 2). Then we want to execute the config file with the server settings (+exec dedicated.cfg). I used dedicated.cfg, but you can use any file name you wish since we will be creating it soon. Lastly, a command to initiate the map rotation (+map_rotate).

So, change the line so that it reads like the one below. Please pay careful attention to the location of the quotations.
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate

The Config File.
Instead of telling you how to create a config file, I thought it would be far easier for everybody if I simply posted few example configs that we're using on our interal servers here at Activision.

Code:

// Hostname and Message of the Day
set sv_hostname "Call of Duty - Search and Destroy"
set scr_motd "Destroy Target A or B by planting explosives at either location."

// Maximum Clients
set sv_maxclients "18"

// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "0"

// 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"

// Rconpassword
set rconpassword ""

// 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 "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
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"

// The rotation.
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_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"
 


Now the last few items listed are are settings for particular gametypes as well as a map rotation for the search and destroy gametype. In reading the map rotation, you'll notice that the gametype can be changed between every map.

** Cuda's NOTE: On the custom maps you have to make sure that maps such as Neverland support the various game types.Neverland is just Team Deathmatch I believe....




...Vodka, Sterno, and Nitrous Oxide a happy Bomber Pilot make!


TX-CUDA on UBI
TX-CUDA on HyperLobby
Logged

TX-Cuda
Minister of Information
<img src="http://miniprofile.xfire.com/bg/bg/type/2/txcuda340.png" border=0>
TX-Zen
BLACK 6
TX-Member
Hero Member
*****
Offline Offline

Posts: 1138



View Profile WWW
« Reply #1 on: December 08, 2003, 11:02:32 am »

Kind of off topic to this post Cuda, but do you think we need a CoD forum? I notice that several of the squad are enjoying the heck out of the game...let me know. TX-ZenBlack 6
Logged

Black 6
TX-CUDA
BLACK 8
TX-Member
Hero Member
*****
Offline Offline

Posts: 1730



View Profile
« Reply #2 on: December 08, 2003, 11:08:58 am »

...might be a good idea Zen. I have been fooling with these darn maps/map editing utils a lot lately as has Kingsnake and a separate forum might serve us well. Not sure how you set it up but could you make sure that if a new forum is added that we have the ability to attach files to messages? I think the MapMakers Room is the one that I cann't add files to posts on. Thanks...Vodka, Sterno, and Nitrous Oxide a happy Bomber Pilot make!TX-CUDA on UBITX-CUDA on HyperLobby
Logged

TX-Cuda
Minister of Information
<img src="http://miniprofile.xfire.com/bg/bg/type/2/txcuda340.png" border=0>
TX-Zen
BLACK 6
TX-Member
Hero Member
*****
Offline Offline

Posts: 1138



View Profile WWW
« Reply #3 on: December 08, 2003, 11:13:05 am »

I'd like to be all cool and make it happen, but I know I'll end up asking Rahman to do it lol. Stand by, putting the word out now.TX-ZenBlack 6
Logged

Black 6
Pages: [1]
  Print  
 
Jump to: