Call of Duty 5: Getting Server Running

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search

What's Needed

In order to run a dedicated COD:WW server you will need:

*Files from the retail game
*Patch 1.2

Files

To lighten up the upload of the files to your server note that the SP .ff files arent required to run a MP server. The files required from the ZONE folder are:

FILENAME

code_post_gfx_mp.ff
common_ignore.ff
common_mp.ff
localized_code_post_gfx_mp.ff
localized_common_mp.ff
localized_mp_airfield.ff
localized_mp_asylum.ff
localized_mp_castle.ff
localized_mp_courtyard.ff
localized_mp_dome.ff
localized_mp_downfall.ff
localized_mp_hangar.ff
localized_mp_makin.ff
localized_mp_makin_day.ff
localized_mp_outskirts.ff
localized_mp_roundhouse.ff
localized_mp_seelow.ff
localized_mp_shrine.ff
localized_mp_suburban.ff
mp_airfield.ff
mp_airfield_load.ff
mp_asylum.ff
mp_asylum_load.ff
mp_castle.ff
mp_castle_load.ff
mp_courtyard.ff
mp_courtyard_load.ff
mp_dome.ff
mp_dome_load.ff
mp_downfall.ff
mp_downfall_load.ff
mp_hangar.ff
mp_hangar_load.ff
mp_makin.ff
mp_makin_load.ff
mp_makin_day.ff
mp_makin_day_load.ff
mp_outskirts.ff
mp_outskirts_load.ff
mp_roundhouse.ff
mp_roundhouse_load.ff
mp_seelow.ff
mp_seelow_load.ff
mp_shrine.ff
mp_shrine_load.ff
mp_suburban.ff
mp_suburban_load.ff
patch.ff
ui_mp.ff


Patching

Warning.png The latest patch MUST be installed on the Server
Find all the informations here:

Patches: Windows Patches

Information.png More info on FPSAdmin.com HERE

Warning.png 2 more files are very important on Dedicated Windows Box too:

d3dx9_37.dll
d3dx10_37.dll

These should be present in the root directory, along with the server EXE. If not get them HERE

Port Forwarding

In order to run your own server and open it up to internet users, you need to do some port forwarding in your Router. The ports to forwards are as follow:

UDP 20800
UDP 20810
UDP 28960-28970

For a detailed How-to setup port forwarding on your router, see Portforward.com


Warning.png Make sure your Windows Firewall has either added rules for those ports or/and CoDWaWmp.exe is unblocked from it!

Gametypes

Availiable gametypes are as follow:

  • DM Free-for-All
  • TDM Team Deathmatch
  • KOTH HeadQuarters
  • SD Search & Destroy
  • SAB Sabotage
  • DOM Domination
  • TWAR War

Map List

mp_airfield 
mp_asylum 
mp_castle
mp_courtyard 
mp_dome 
mp_downfall 
mp_hangar 
mp_makin 
mp_outskirts 
mp_roundhouse 
mp_seelow 
mp_shrine
mp_suburban
mp_nachtfeuer
mp_subway
mp_kneedeep
mp_docks
mp_kwai
mp_vodka
mp_bgate
mp_drum

Server Config

This next section will give you a base server config, a more detailed Server Config can be found HERE

Now Create a file called server.cfg and place in /Main -- Server.cfg can contains (change passwords of course):

seta sv_punkbuster 1
wait
pb_sv_enable

// Server name
set sv_hostname "MY CoDWW Server" 

// Server password
set g_password "" // blank means NO password

// Rconpassword
set rcon_password "changeme"

// Maximum Clients
//set sv_privateclients ""
set sv_maxclients "32"

// Max Ping
set sv_maxping "250"

// Rate
set sv_maxRate "25000"

// Automatic Team Balance
set scr_teambalance "0"

// In-Game Voice Chat
set sv_voice "0"
set voice_global "0"
set g_voiceChatTalkingDuration "500"
set voice_deadChat "0"
set sv_voiceQuality "3"
set voice_localEcho "0"

// Dead players chat with the living?
set g_deadChat "0"

// Who dead people can spectate
set scr_game_spectatetype "1"

// Gravity
set g_gravity "800"

// Base Move Speed
set g_speed "190"

// Number of dropped weapons before recycling
set g_maxDroppedWeapons "16"

// Hardcore
set scr_hardcore "0"

// OldSchool
set scr_oldschool "0"

// Friendly Fire?
set scr_team_fftype "0"

// Red Crosshairs while over enemy
set g_redCrosshairs "1"

// Draw Friends
set scr_drawfriend "1"

// Revive players
set scr_player_allowrevive "1"
set g_revive "0"
set revive_time_taken "2"

// Announcer
set scr_allowannouncer "1"

// Gametype Settings
//
// KOTH
set scr_koth_globalbattlechatterprobability "0"
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "0"
set scr_koth_roundlimit "1"
set scr_koth_roundswitch "1"
set scr_koth_scorelimit "250"
set scr_koth_timelimit "15"
set scr_koth_waverespawndelay "0"
set koth_autodestroytime "60"
set koth_capturetime "20"
set koth_delayPlayer "0"
set koth_destroytime "10"
set koth_kothmode "0"
set koth_spawnDelay "30"
set koth_spawntime "0"


// CTF
set scr_ctf_enemycarriervisible "0"
set scr_ctf_flagrespawntime "0"
set scr_ctf_globalbattlechatterprobability "0"
set scr_ctf_idleflagreturntime "30"
set scr_ctf_numlives "0"
set scr_ctf_playerrespawndelay "0"
set scr_ctf_roundlimit "2"
set scr_ctf_roundswitch "1"
set scr_ctf_scorelimit "3"
set scr_ctf_timelimit "5"
set scr_ctf_touchreturn "1"
set scr_ctf_waverespawndelay "15"

// DM
set scr_dm_globalbattlechatterprobability "100"
set scr_dm_numlives "0"
set scr_dm_playerrespawndelay "0"
set scr_dm_roundlimit "1"
set scr_dm_scorelimit "150"
set scr_dm_timelimit "10"
set scr_dm_waverespawndelay "0"

// DOM
set scr_dom_globalbattlechatterprobability "0"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "0"
set scr_dom_roundlimit "1"
set scr_dom_scorelimit "200"
set scr_dom_timelimit "0"
set scr_dom_waverespawndelay "0"

// TWAR
set scr_twar_globalbattlechatterprobability "0"
set scr_twar_numlives "0"
set scr_twar_roundlimit "2"
set scr_twar_roundswitch "1"
set scr_twar_scorelimit "5"
set scr_twar_timelimit "10"
set twar_captureAccelBonus "35"
set twar_captureAccelLimit "50"
set twar_captureTime "40"
set twar_finalFightFlagRespawnPenalty "3"
set twar_finalFightTimeLimit "5"
set twar_momentumArtillery "10"
set twar_momentumBlitzkriegTime "30"
set twar_momentumDogs "10"
set twar_momentumEnabled "1"
set twar_momentumFlagCap "25"
set twar_momentumKamikaze "10"
set twar_momentumKillPlayer "5"
set twar_momentumMax "70"
set twar_momentumMaxMultiplier "3"
set twar_momentumMultiplierBonus "25"
set twar_momentumMultiplierBonusLimit "75"
set twar_momentumRadar "10"
set twar_neutralFlagLockTime "0"
set twar_secondaryInfluencerBonus "0.5"
set twar_showEnemyCount "1"
set twar_spawnPointFacingAngle "60"

// TDM
set scr_tdm_globalbattlechatterprobability "0"
set scr_tdm_numlives "0"
set scr_tdm_playerrespawndelay "0"
set scr_tdm_roundlimit "1"
set scr_tdm_scorelimit "750"
set scr_tdm_timelimit "10"
set scr_tdm_waverespawndelay "0"

// SD
set scr_sd_bombtimer "45"
set scr_sd_defusetime "5"
set scr_sd_globalbattlechatterprobability "0"
set scr_sd_multibomb "0"
set scr_sd_numlives "1"
set scr_sd_planttime "5"
set scr_sd_playerrespawndelay "0"
set scr_sd_roundlimit "0"
set scr_sd_roundswitch "3"
set scr_sd_scorelimit "4"
set scr_sd_timelimit "2.5"
set scr_sd_waverespawndelay "0"

// SAB
set scr_sab_bombtimer "30"
set scr_sab_defusetime "5"
set scr_sab_globalbattlechatterprobability "0"
set scr_sab_hotpotato "0"
set scr_sab_numlives "0"
set scr_sab_planttime "2.5"
set scr_sab_playerrespawndelay "7.5"
set scr_sab_roundlimit "0"
set scr_sab_roundswitch "1"
set scr_sab_scorelimit "1"
set scr_sab_timelimit "20"
set scr_sab_waverespawndelay "0"

// Map_rotation
set g_gametype "tdm"

set sv_mapRotation "gametype tdm map mp_castle gametype twar map mp_makin gametype ctf map mp_roundhouse
 gametype dm map mp_asylum gametype dom map mp_airfield gametype koth map mp_seelow gametype sd map mp_dome
 gametype sab map mp_downfall gametype tdm map mp_suburban gametype twar map mp_shrine 
gametype dom map mp_outskirts gametype koth map mp_hangar gametype dm map mp_courtyard";

Starting Server

Warning.png Windows ONLY and not for servers from Game Servers Providers!

  • Right-click your Shorcut for CoDWaWmp.exe and add this at the end:
+set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate

Warning.png Make sure that " are present in the Shorcut around CoDWaWmp.exe. Example:

"C:/Program Files/Activision/Call of Duty- World at War\CoDWaWmp.exe" +set dedicated 2 +set net_ip 
xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate

Information.png Replace xxx.xxx.xxx.xxx by your Public IP adress. If unsure of your Public IP Address you can go HERE to check it out.


Server 1.png

  • Once the server starts you should get the console:

Server 2.png