Call of Duty 5: Limiting a Ranked Server: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
m (New page: Image:Nutshell.png A number of "Stock" Dvars are availiable to limit some features on a Stock/Ranked server, check them out: *no Perks set scr_game_perks "0" *no UAV set scr_hard...)
 
mNo edit summary
Line 1: Line 1:
[[Image:Nutshell.png]] A number of "Stock" Dvars are availiable to limit some features on a Stock/Ranked server, check them out:
[[Image:Nutshell.png]] A number of "Stock" Dvars are availiable to limit some features on a Stock/Ranked server, check them out:
==Dvar Values==
For each of the Dvars below, 0 turn OFF and 1 turn ON


*no Perks
*no Perks
Line 20: Line 24:


  set scr_vehicles_enabled "0"
  set scr_vehicles_enabled "0"
== Implementation ==
To implement those you must add them to your main server configuration file (usually server.cfg), example:
<pre>
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"
// no Perks
set scr_game_perks "0"
// no UAV
set scr_hardpoint_allowuav "0"
// no Airstrike
set scr_hardpoint_allowartillery "0
// no Dogs
set scr_hardpoint_allowdogs "0"
// no Tanks
set scr_vehicles_enabled "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";
</pre>

Revision as of 14:44, 23 February 2009

A number of "Stock" Dvars are availiable to limit some features on a Stock/Ranked server, check them out:

Dvar Values

For each of the Dvars below, 0 turn OFF and 1 turn ON

  • no Perks
set scr_game_perks "0"
  • no UAV
set scr_hardpoint_allowuav "0"
  • no Airstrike
set scr_hardpoint_allowartillery "0
  • no Dogs
set scr_hardpoint_allowdogs "0"
  • no Tanks
set scr_vehicles_enabled "0"

Implementation

To implement those you must add them to your main server configuration file (usually server.cfg), example:

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"

// no Perks
set scr_game_perks "0"

// no UAV
set scr_hardpoint_allowuav "0"

// no Airstrike
set scr_hardpoint_allowartillery "0

// no Dogs
set scr_hardpoint_allowdogs "0"

// no Tanks
 set scr_vehicles_enabled "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";