Find the file iw3mp.exe and create a shortcut to it on your desktop.
Right click on the shortcut and hit "Properties" box.
In the "Target" field at the very end, add this
| +set dedicated 2 +set sv_punkbuster 1 +exec mp_server.cfg +map_rotate |
Create a new file in the "main" folder(this is located in the root COD4 folder). name it mp_server.cfg
This is a sample config used on our cod server:
//******************************************************************************
// Call of Duty 4
//******************************************************************************
//******************************************************************************
// Public Information
//******************************************************************************
sets sv_hostname "GamingOutlawZ.com[XP]"
sets _Admin "DemonLord"
sets _Email ""
sets _Website "www.gamingoutlawz.com"
sets _Location "Atlanta-US"
sets _Irc ""
sets _Mod ""
//sets _ModVer "1.0"
//sets _ModUpdate "Allows for Server Messages"
sets _Maps ""
//set scr_motd "Welcome to GamingOutlawZ’s COD 4 Server."
//******************************************************************************
// Common Server Settings
//******************************************************************************
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
// Network options
//set net_ip "1.2.3.4" // Set your servers IP address
set net_port "28960" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet
// Master servers (hardcoded into game so redundant)
// set sv_master1 "cod2master.activision.com"
// Password Settings
set rcon_password "yourpasswordhere" // RCON must supply pw to use
set sv_privatePassword "pvt slot password here" // Private slots, non-public slots
// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""
// Player slots setup
set sv_maxclients "18" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "2" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "350" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
// Rate
set sv_maxRate "25000"
// FPS
set sv_fps "20"
// Drop inactive players
set sv_timeout "600"
set g_inactivity "0"
// AntiFlooding Settings
set sv_floodProtect "1"
// Anti Cheat Settings
set sv_disableClientConsole "0"
set sv_pure "1"
set sv_punkbuster "1"
// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"
// In-game voice communication system
set sv_voice "1"
set sv_voiceQuality "1"
set voice_deadChat "1"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "1"
//seta sv_wwwDownload "1"
//seta sv_wwwBaseURL "http://www.yoursite.com/COD4"
//seta sv_wwwBaseURL "ftp://client:client@ftpfiles.myftp.org"
seta sv_wwwDlDisconnected "0"
// Rate
//set sv_maxRate "5000"
//******************************************************************************
// GAME MODE SWITCHES
//******************************************************************************
set scr_hardcore "0"
set scr_oldschool_mw "0"
set scr_enable_music "0"
//******************************************************************************
// Misc
//******************************************************************************
set sv_allowAnonymous "0"
set g_antilag "1"
set scr_friendlyfire "1"
set scr_killcam "1"
set scr_spectatefree "0"
set scr_spectateenemy "0"
set scr_teambalance "1"
//******************************************************************************
// DEATHMATCH
//******************************************************************************
set scr_dm_scorelimit 250
set scr_dm_timelimit 20
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 5
set scr_dm_waverespawndelay 0
//******************************************************************************
// DOMINATION
//******************************************************************************
set scr_dom_scorelimit 200
set scr_dom_timelimit 20
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 5.5
set scr_dom_waverespawndelay 0
//******************************************************************************
// TEAM DEATHMATCH
//******************************************************************************
set scr_war_scorelimit 2500
set scr_war_timelimit 25
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 4
set scr_war_waverespawndelay 0
//******************************************************************************
// SABOTAGE
//******************************************************************************
set scr_sab_scorelimit 5
set scr_sab_timelimit 20
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 60
set scr_sab_planttime 2.5
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 7.5
set scr_sab_waverespawndelay 0
//******************************************************************************
// SEARCH AND DESTROY CLASSIC
//******************************************************************************
set scr_sd_scorelimit 4
set scr_sd_timelimit 2.5
set scr_sd_roundlimit 0
set scr_sd_roundswitch 3 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0
//******************************************************************************
// HEADQUARTERS
//******************************************************************************
set scr_koth_scorelimit 250
set scr_koth_timelimit 15
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60
//******************************************************************************
// MAP ROTATIONS
//******************************************************************************
//******************************************************************************
// DM -- FREE FOR ALL DEATHMATCH
//******************************************************************************
//set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"
//******************************************************************************
// DOM -- DOMINATION
//******************************************************************************
//set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"
//******************************************************************************
// KOTH -- HEADQUARTERS
//******************************************************************************
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"
//******************************************************************************
// SAB -- SABOTAGE
//******************************************************************************
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"
//******************************************************************************
// SD -- SEARCH & DESTROY
//******************************************************************************
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"
//******************************************************************************
// WAR -- TEAM DEATH MATCH
//******************************************************************************
//set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"
//******************
// Custom Mixup
//******************
//set sv_mapRotation "gametype dm map mp_bloc gametype dom map mp_backlot gametype war map mp_bog gametype dom map mp_cargoship gametype koth map mp_strike gametype sab map mp_convoy gametype dm map mp_crash gametype dom map mp_countdown gametype koth map mp_farm gametype war map mp_overgrown gametype dom map mp_pipeline gametype dm map mp_showdown"
//******************
// 24-7 Winter Crash
//******************
set sv_mapRotation "gametype dm map mp_crash_snow gametype dom map mp_crash_snow gametype koth map mp_crash_snow gametype sab map mp_crash_snow gametype sd map mp_crash_snow gametype war map mp_crash_snow"
|