Call of Duty 5: Beta Server Config: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
(New page: ''By Bullet-Worm'' <pre> seta sv_punkbuster 1 wait pb_sv_enable //////////////////////////////////// // Server Information // // Server Browser Name set sv_hostname "This is my CoD:WW S...)
 
mNo edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''By Bullet-Worm''
[[Category:Call of Duty 5 Beta]]
[[Category:Server Help]]
''By Bullet-Worm and Zeroy''


<pre>
== Port Forwarding ==
seta sv_punkbuster 1
wait
pb_sv_enable


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
// Server Information
UDP 20810
//
UDP 28960-28970
// Server Browser Name
set sv_hostname "This is my CoD:WW Server" //This is the name that appears in the server browser


// "Message of the Day" -- Not sure if this even works
For a detailed How-to setup port forwarding on your router, see [http://www.portforward.com/english/routers/port_forwarding/routerindex.htm Portforward.com]
set g_motd ""


// Keywords (maybe a server search function?)
[[Image:Warning.png]] <font color="red">Make sure your Windows Firewall has either added rules for those ports or/and CoDWaWbeta.exe is unblocked from it!</font>
set sv_keywords ""




== Allowed Gametypes ==


{| border=1 cellpadding=0 cellspacing=0 width=369
|- height=20 style='height:15.0pt'
| height=20 class=xl6615909 width=77 style='height:15.0pt;width:58pt' | &nbsp;
| class=xl6415909 width=72 style='border-left:none;width:54pt' |  mp_castle
| class=xl6415909 width=110 style='border-left:none;width:83pt' |  mp_makin
| class=xl6415909 width=110 style='border-left:none;width:83pt' |  mp_roundhouse
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  Gametypes
| class=xl6315909 style='border-top:none;border-left:none' | &nbsp;
| class=xl6315909 style='border-top:none;border-left:none' | &nbsp;
| class=xl6315909 style='border-top:none;border-left:none' | &nbsp;
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  DM
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  TWAR
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  TDM
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  SD
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  SAB
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  DOM
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  KOTH
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  CTF
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
| class=xl6515909 style='border-top:none;border-left:none' |  Yes
|- height=20 style='height:15.0pt'
| height=20 class=xl6315909 style='height:15.0pt;border-top:none' |  SUR
| class=xl6515909 style='border-top:none;border-left:none' |  No
| class=xl6515909 style='border-top:none;border-left:none' |  No
| class=xl6515909 style='border-top:none;border-left:none' |  No
|- height=0 style='display:none'
| width=77 style='width:58pt' |
| width=72 style='width:54pt' |
| width=110 style='width:83pt' |
| width=110 style='width:83pt' |
|}


////////////////////////////////////
== Server Config ==
// Passwords
//
// Server password (needed to get into the server)
set g_password "" // blank means NO password


// Private Client Slot Password
This next section will give you a base server config, a more detailed Server Config can be found [[Call of Duty 5: Advanced Server Config|HERE]]
set sv_privatePassword ""


// Rconpassword
Now Create a file called '''server.cfg''' and place in /Main -- '''Server.cfg''' can contains (change passwords of course):
set rcon_password "change_me" // Change this to your rcon password!


<pre>
seta sv_punkbuster 1
wait
pb_sv_enable


////////////////////////////////////
// Server name
// Client Issues
set sv_hostname "MY CoDWW Beta Server"  
//
// Maximum Clients
set sv_maxclients "28"
set sv_privateclients "4" // These people can use the private password to get in the server


// Client's Min/Maximum Ping
// Server password
set sv_minPing "0"
set g_password "" // blank means NO password
set sv_maxping "155"


// Client's Maximum Rate
// Rconpassword
set sv_maxRate "25000"
set rcon_password "changeme"


// Client Voting
// Maximum Clients
set g_allowVote "0"
//set sv_privateclients "6"
set g_voteAbstainWeight "0.5"
set sv_maxclients "32"


// Client Side Stuff  -- Don't know what these do right now
// Max Ping
set sv_clientside "0"
set sv_maxping "225"
set sv_clientArchive "1"
set sv_clientSideBullets "1"
set sv_clientSideVehicles "1"
set g_client_side_lights "1"


// sv_pure - Keeps clients from loading files NOT on the server
set sv_pure "1"
// Disable Client access to console?
set sv_disableClientConsole "0"
////////////////////////////////////
// Server Personality Settings
//
// 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"
////////////////////////////////////
// Server General Gameplay Settings
//
// Hardcore
set scr_hardcore "0"
// OldSchool
set scr_oldschool "0"
// Friendly Fire?
set scr_team_fftype "0"
// Red Crosshairs while over enemy? Maybe?
set g_redCrosshairs "1"
// Draw Friends
set scr_drawfriend "0"
// Revive players?  Don't know what this does
set scr_player_allowrevive "1"
set g_revive "0"
set revive_time_taken "2"
// Announcer
set scr_allowannouncer "1"
////////////////////////////////////
// Player Settings
//
// Health Issues
set scr_player_healthregentime "5"
set scr_player_maxhealth "100"
// Number of lives
set scr_player_numlives "0"
// Respawn Settings
set scr_player_forcerespawn "1"
set scr_player_respawndelay "0"
set scr_player_suicidespawndelay "0"
// Sprint Settings
set scr_player_sprinttime "4"
// Suicide point loss
set scr_game_suicidepointloss "0"
////////////////////////////////////
// Server Timers
set scr_game_graceperiod "15"
set scr_intermission_time "30"
set scr_team_respawntime "0"
////////////////////////////////////
// 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"
// More setting that I am not sure work (because they are not named like normal)
set koth_autodestroytime "60"
set koth_capturetime "20"
set koth_delayPlayer "0"
set koth_destroytime "10"
set koth_kothmode "0"
set koth_spawnDelay "60"
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"
////////////////////////////////////
// Weapons
//
set scr_weapon_allowbetty "1"
set scr_weapon_allowc4 "1"
set scr_weapon_allowflash "1"
set scr_weapon_allowfrags "1"
set scr_weapon_allowmines "1"
set scr_weapon_allowrpgs "1"
set scr_weapon_allowsatchel "1"
set scr_weapon_allowsmoke "1"
// Bouncing Bettty Settings
set bettyDetonateRadius "150"
set bettyTimeBeforeDetonate "0.45"
set bettyUpVelocity "296"
// Poison gas stuff?
set poisonDuration "8"
set tabun_effect_radius "150"
set tabun_shock_radius "150"
set tabunGasDuration "3"
set tabunInitialGasShockDuration "7"
set tabunWalkInGasShockDuration "4"
////////////////////////////////////
// Perk & Hardpoint Settings
//
// Perk Settings
set scr_game_perks "1"
set perk_armorVest "75"
set perk_bulletDamage "40"
set perk_explosiveDamage "25"
set perk_fireproof "55"
set perk_flakJacket "75"
set perk_flakJacketMaxDamage "75"
set player_lastStandBleedoutTime "30"
// Vehicle Perk Settings
set vehicle_perk_boost_acceleration_multiplier "1.571"
set vehicle_perk_boost_duration_seconds "0.74"
set vehicle_perk_boost_interval_seconds "1.703"
set vehicle_perk_boost_speed_increase "1.878"
set vehicle_perk_leadfoot_speed_increase "1.35"
// Hardpoint Settings
//
set scr_game_hardpoints "1"
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowdogs "1"
set scr_hardpoint_allowradar "1"
set scr_hardpoint_allowsupply "1"
set scr_hardpoint_allowuav "1"
// Dog Settings
set scr_dog_count "8"
set scr_dog_hardpoint_interval "180"
set scr_dog_health "100"
set scr_dog_max_at_once "4"
set scr_dog_time "60"
////////////////////////////////////
// Vehicle Settings  -- Holy cow look at all these settings!
set scr_vehicles_enabled "1"
set scr_veh_respawntimemax "90"
set scr_veh_respawntimemin "50"
set scr_veh_health_jeep "700"
set scr_veh_health_tank "1350"
set scr_veh_driversarehidden "1"
set scr_veh_driversareinvulnerable "1"
set scr_veh_explode_on_cleanup "1"
set scr_veh_explosion_doradiusdamage "1"
set scr_veh_explosion_maxdamage "200"
set scr_veh_explosion_mindamage "20"
set scr_veh_explosion_radius "256"
set scr_veh_alive_cleanuptimemax "120"
set scr_veh_alive_cleanuptimemin "119"
set scr_veh_cleanupabandoned "1"
set scr_veh_cleanupdrifted "1"
set scr_veh_cleanupmaxspeedmph "1"
set scr_veh_cleanupmindistancefeet "75"
set scr_veh_cleanuptime_dmgfactor_deadtread "0.25"
set scr_veh_cleanuptime_dmgfactor_max "1.0"
set scr_veh_cleanuptime_dmgfactor_min "0.33"
set scr_veh_cleanuptime_dmgfraction_curve_begin "0.0"
set scr_veh_cleanuptime_dmgfraction_curve_end "1.0"
set scr_veh_dead_cleanuptimemax "30"
set scr_veh_dead_cleanuptimemin "20"
set scr_veh_disappear_maxpreventdistancefeet "30"
set scr_veh_disappear_maxpreventvisibilityfeet "150"
set scr_veh_disappear_maxwaittime "60"
set scr_veh_explosion_husk_forcepointvariance "30"
set scr_veh_explosion_husk_horzvelocityvariance "25"
set scr_veh_explosion_husk_vertvelocitymax "200"
set scr_veh_explosion_husk_vertvelocitymin "100"
set scr_veh_explosion_spawnfx "1"
set scr_veh_ondeath_createhusk "1"
set scr_veh_ondeath_usevehicleashusk "1"
set scr_veh_respawnafterhuskcleanup "1"
set scr_veh_respawnwait_iterationwaitseconds "1"
set scr_veh_respawnwait_maxiterations "30"
set scr_veh_waittillstoppedandmindist_maxtime "10"
set scr_veh_waittillstoppedandmindist_maxtimeenabledistfeet "5"
////////////////////////////////////
// Server Performance Issues
//
// Rate
// Rate
set rate "25000"
set sv_maxRate "25000"
 
// Antilag
set g_antilag "1"
 
// Smooth clients
set g_smoothClients "1"


// FPS (Server Frames per Second) -- I would leave this alone for now.  MIGHT mess up gameplay if changed.
// Map_rotation
set sv_fps "20"
set g_gametype "tdm"


////////////////////////////////////
set sv_mapRotation "gametype tdm map mp_castle gametype tdm map mp_makin gametype tdm map mp_roundhouse";
// Server Download/Redirect Settings
</pre>
//
set sv_allowDownload "1"
set sv_wwwBaseURL ""
set sv_wwwDlDisconnected "0"
set sv_wwwDownload "0"


== Starting Server ==


////////////////////////////////////
[[Image:Warning.png]] Windows ONLY and not for servers from Game Servers Providers!
// Server Management/Admin
//
// Logging
set g_log "games_mp.log"
set g_logSync "1"
set logfile "2"


// Client IP Banning (yucky way to do this)
*Right-click your Shorcut for CoDWaWbeta.exe and add this at the end:
set g_banIPs ""


// Kick Ban Time
+set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate
set sv_kickBanTime "300"


// TKers
[[Image:Warning.png]] Make sure that <font color="red">"</font> are present in the Shorcut around  CoDWaWbeta.exe. Example:
set scr_teamKillPunishCount "3"
set scr_team_artilleryTeamKillPenalty "0.25"
set scr_team_kickteamkillers "0"
set set scr_team_teamkillerplaylistbanpenalty "0"
set scr_team_teamkillerplaylistbanquantum "0"
set scr_team_teamkillpointloss "1"
set scr_team_teamkillspawndelay "20"


<font color="red">"</font>C:/Program Files/Activision/Call of Duty- World at War Beta\CoDWaWbeta.exe<font color="red">"</font> +set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate


////////////////////////////////////
[[Image:Information.png]] Replace xxx.xxx.xxx.xxx by your Public IP adress. If unsure of your Public IP Address you can go [http://www.whatismyip.com HERE] to check it out.
// Batttle Chatter Settings
set scr_allowbattlechatter "1"
set bcmp_incoming_grenade_probability "50"
set bcmp_kill_inform_probability "50"
set bcmp_killstreak_incoming_probability "50"
set bcmp_perk_call_probability "50"
set bcmp_sniper_kill_probability "25"
set bcmp_toss_grenade_probability "50"
set bcmp_weapon_delay "2000"
set bcmp_weapon_fire_probability "90"


////////////////////////////////////
// Fire
set fire_audio_random_max_duration "1000"
set fire_audio_repeat_duration "1500"
set fire_spread_probability "0"
set fire_stage1_burn_time "3000"
set fire_stage2_burn_time "0"
set fire_stage3_burn_time "0"
set fire_world_damage "20"
set fire_world_damage_duration "8"
set fire_world_damage_rate "0.25"


////////////////////////////////////
[[Image:codww_server_1.png]]
// Flares
set flare_distance_scale "16"
set flare_duration "8"
set flare_effect_radius "400"
set flareBurnOutFadeWait "0.65"
set flareDisableEffects "0"
set flareLookAwayFadeWait "0.45"


*Once the server starts you should get the console:


// Map_rotation  (available gametypes: dm, tdm, dom, sab, sd ctf, koth, twar)
[[Image:codww_server_2.png]]
set sv_mapRotation "gametype ctf map mp_castle gametype ctf map mp_makin gametype ctf map mp_roundhouse"
set sv_maprotationcurrent ""</pre>

Latest revision as of 16:12, 8 November 2008

By Bullet-Worm and Zeroy

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

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


Allowed Gametypes

  mp_castle mp_makin mp_roundhouse
Gametypes      
DM Yes Yes Yes
TWAR Yes Yes Yes
TDM Yes Yes Yes
SD Yes Yes Yes
SAB Yes Yes Yes
DOM Yes Yes Yes
KOTH Yes Yes Yes
CTF Yes Yes Yes
SUR No No No

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 Beta Server" 

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

// Rconpassword
set rcon_password "changeme"

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

// Max Ping
set sv_maxping "225"

// Rate
set sv_maxRate "25000"

// Map_rotation
set g_gametype "tdm"

set sv_mapRotation "gametype tdm map mp_castle gametype tdm map mp_makin gametype tdm map mp_roundhouse";

Starting Server

Windows ONLY and not for servers from Game Servers Providers!

  • Right-click your Shorcut for CoDWaWbeta.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

Make sure that " are present in the Shorcut around CoDWaWbeta.exe. Example:

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

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.


  • Once the server starts you should get the console: