setting up a cod4 and cod4x server on WINDOWS ONLY
Posted: 23 Jan 2018 16:03
I will start these instructions for a COD4 server only
then show how to add cod4x to it
also included is what you need to do to run custom maps!
First you must have call of duty 4 modern warfare installed with all patches to bring it to version 1.7
you can get the patches here
First you have to install patch 1.6 http://www.4players.de/4players.php/dow ... -Pack.html
then patch 1.7 http://www.4players.de/4players.php/dow ... ch_17.htm
if those links do not work try
http://www.moddb.com/games/call-of-duty ... ll-patches
Once all patches are installed you can now copy all files in your cod4 directory to a new directory (I named mine cod4)
using cod4 as the directory I will continue from here,
in the cod4/main directory create a text file called server.cfg
in server.cfg you will place the following
set sv_hostname "your server name"
sets Administrator "Your Namer"
sets Email "your email"
sets Hosted_By "squad name if you have one" //leave blank if no squad
sets Irc ""
sets Location "USA"
sets Url "your web site if you have one"
set scr_allow_vote "0" //0 no vote 1 if voting allowed
set g_allowvote "0" //0 no vote 1 if voting allowed
set logfile "1"
set g_log "games_mp.log"
set g_logsync "2"
set sv_log_damage "1"
set net_noudp "0"
set sv_maxping "650"
set sv_minping "0"
set sv_minrate "5000"
set sv_maxrate "12000"
set sv_connectTimeout "220"
//set sv_fps "20"
set g_antilag "1"
set rcon_password "your rcon password"
set g_password "" //game password will only allow those that know the password to enter
set sv_maxclients "64"
set sv_reconnectlimit "3"
set sv_allowAnonymous "0"
set sv_allowdownload "1"
seta sv_wwwDownload "0"
seta sv_wwwDlDisconnected "1"
set sv_timeout "100000"
set sv_zombietime "1"
set g_inactivity "100000"
set g_inactivityspectator "100000"
s
set sv_cheats "0"
set sv_pure "1"
set g_no_script_spam "1"
set sv_punkbuster "0"
set sv_floodProtect "1"
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
set scr_teambalance "1"
set g_allowvote "0"
set scr_hardcore "1"
set scr_oldschool "0"
// Game Types
// SD
set scr_sd_bombtimer 40
set scr_sd_defusetime 4
set scr_sd_multibomb 0
set scr_sd_numlives 1
set scr_sd_planttime 4.5
set scr_sd_playerrespawndelay -1
set scr_sd_roundlimit 0
set scr_sd_roundswitch 5
set scr_sd_scorelimit 12
set scr_sd_timelimit 2
set scr_sd_spectatetype "2"
set scr_sd_waverespawndelay 1
set scr_sd_playerrespawndelay -1
// Deathmatch
set scr_game_allowkillcam 1
set scr_dm_playerrespawndelay -1
set scr_dm_waverespawndelay 1
set scr_dm_scorelimit 300
set scr_dm_timelimit unlimited
set scr_intermission_time 12
set scr_dm_numlives "0"
set scr_dm_spectatetype "2"
// Domination
set scr_dom_scorelimit "200"
set scr_dom_timelimit "12"
set scr_dom_roundlimit "0"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "-1"
set scr_dom_waverespawndelay "1"
// Teamdeath Match
set scr_war_scorelimit "1500"
set scr_war_timelimit "15"
set scr_war_roundlimit "0"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "-1"
set scr_war_waverespawndelay "1"
// Sabotoge
set scr_sab_scorelimit "2"
set scr_sab_timelimit "3"
set scr_sab_roundlimit "0"
set scr_sab_roundswitch "1"
set scr_sab_numlives "0"
set scr_sab_bombtimer "40"
set scr_sab_planttime "4"
set scr_sab_defusetime "4"
set scr_sab_hotpotato "0"
set scr_sab_playerrespawndelay "-1"
set scr_sab_waverespawndelay "1"
// King of the Hill
set scr_koth_scorelimit "0"
set scr_koth_timelimit "6"
set scr_koth_roundlimit "0"
set scr_koth_roundswitch "1"
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "-1"
set scr_koth_waverespawndelay "1"
set koth_autodestroytime "30"
set koth_spawntime "0"
set koth_kothmode "0"
set koth_capturetime "20"
set koth_destroytime "10"
set koth_delayPlayer "0"
set koth_spawnDelay "30"
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
set g_gametype "dm"
set sv_mapRotation "gametype dm map mp_crash_snow gametype dm map mp_vacant gametype dm map mp_broadcast gametype dm map mp_shipment gametype dm map mp_convoy gametype dm map mp_showdown gametype dm map mp_pipeline gametype dm map mp_backlot gametype dm map mp_killhouse gametype dm map mp_carentan gametype dm map mp_strike gametype dm map mp_showdown gametype dm map mp_citystreets gametype dm map mp_broadcast gametype dm map mp_killhouse gametype dm map mp_bloc gametype dm map mp_backlot"
// add maps from zone listed as mp_mapname if not listed above
then show how to add cod4x to it
also included is what you need to do to run custom maps!
First you must have call of duty 4 modern warfare installed with all patches to bring it to version 1.7
you can get the patches here
First you have to install patch 1.6 http://www.4players.de/4players.php/dow ... -Pack.html
then patch 1.7 http://www.4players.de/4players.php/dow ... ch_17.htm
if those links do not work try
http://www.moddb.com/games/call-of-duty ... ll-patches
Once all patches are installed you can now copy all files in your cod4 directory to a new directory (I named mine cod4)
using cod4 as the directory I will continue from here,
in the cod4/main directory create a text file called server.cfg
in server.cfg you will place the following
set sv_hostname "your server name"
sets Administrator "Your Namer"
sets Email "your email"
sets Hosted_By "squad name if you have one" //leave blank if no squad
sets Irc ""
sets Location "USA"
sets Url "your web site if you have one"
set scr_allow_vote "0" //0 no vote 1 if voting allowed
set g_allowvote "0" //0 no vote 1 if voting allowed
set logfile "1"
set g_log "games_mp.log"
set g_logsync "2"
set sv_log_damage "1"
set net_noudp "0"
set sv_maxping "650"
set sv_minping "0"
set sv_minrate "5000"
set sv_maxrate "12000"
set sv_connectTimeout "220"
//set sv_fps "20"
set g_antilag "1"
set rcon_password "your rcon password"
set g_password "" //game password will only allow those that know the password to enter
set sv_maxclients "64"
set sv_reconnectlimit "3"
set sv_allowAnonymous "0"
set sv_allowdownload "1"
seta sv_wwwDownload "0"
seta sv_wwwDlDisconnected "1"
set sv_timeout "100000"
set sv_zombietime "1"
set g_inactivity "100000"
set g_inactivityspectator "100000"
s
set sv_cheats "0"
set sv_pure "1"
set g_no_script_spam "1"
set sv_punkbuster "0"
set sv_floodProtect "1"
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
set scr_teambalance "1"
set g_allowvote "0"
set scr_hardcore "1"
set scr_oldschool "0"
// Game Types
// SD
set scr_sd_bombtimer 40
set scr_sd_defusetime 4
set scr_sd_multibomb 0
set scr_sd_numlives 1
set scr_sd_planttime 4.5
set scr_sd_playerrespawndelay -1
set scr_sd_roundlimit 0
set scr_sd_roundswitch 5
set scr_sd_scorelimit 12
set scr_sd_timelimit 2
set scr_sd_spectatetype "2"
set scr_sd_waverespawndelay 1
set scr_sd_playerrespawndelay -1
// Deathmatch
set scr_game_allowkillcam 1
set scr_dm_playerrespawndelay -1
set scr_dm_waverespawndelay 1
set scr_dm_scorelimit 300
set scr_dm_timelimit unlimited
set scr_intermission_time 12
set scr_dm_numlives "0"
set scr_dm_spectatetype "2"
// Domination
set scr_dom_scorelimit "200"
set scr_dom_timelimit "12"
set scr_dom_roundlimit "0"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "-1"
set scr_dom_waverespawndelay "1"
// Teamdeath Match
set scr_war_scorelimit "1500"
set scr_war_timelimit "15"
set scr_war_roundlimit "0"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "-1"
set scr_war_waverespawndelay "1"
// Sabotoge
set scr_sab_scorelimit "2"
set scr_sab_timelimit "3"
set scr_sab_roundlimit "0"
set scr_sab_roundswitch "1"
set scr_sab_numlives "0"
set scr_sab_bombtimer "40"
set scr_sab_planttime "4"
set scr_sab_defusetime "4"
set scr_sab_hotpotato "0"
set scr_sab_playerrespawndelay "-1"
set scr_sab_waverespawndelay "1"
// King of the Hill
set scr_koth_scorelimit "0"
set scr_koth_timelimit "6"
set scr_koth_roundlimit "0"
set scr_koth_roundswitch "1"
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "-1"
set scr_koth_waverespawndelay "1"
set koth_autodestroytime "30"
set koth_spawntime "0"
set koth_kothmode "0"
set koth_capturetime "20"
set koth_destroytime "10"
set koth_delayPlayer "0"
set koth_spawnDelay "30"
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
set g_gametype "dm"
set sv_mapRotation "gametype dm map mp_crash_snow gametype dm map mp_vacant gametype dm map mp_broadcast gametype dm map mp_shipment gametype dm map mp_convoy gametype dm map mp_showdown gametype dm map mp_pipeline gametype dm map mp_backlot gametype dm map mp_killhouse gametype dm map mp_carentan gametype dm map mp_strike gametype dm map mp_showdown gametype dm map mp_citystreets gametype dm map mp_broadcast gametype dm map mp_killhouse gametype dm map mp_bloc gametype dm map mp_backlot"
// add maps from zone listed as mp_mapname if not listed above