PDA

View Full Version : Multiple Config and Command.


d1emain3qc
12-15-2007, 11:34 AM
Multiple Config and Command.
In the past version of COD I was able to have multiple server config. With COD4 they seem to work but the config does not seem to start up with proper game type and map rotation does not flow in the proper order.
Exemple.
Here are the list of config’s I also color coded some text to make sure the proper config was working.

Configtwl.cfg
Configp.cfg
Configsdsab.cfg.
I login to RCON.
Command list
/rcon login mypassword
/rcon exec configp.cfg Message tells me will take effect after restart.
/rcon map_restart This I don’t remember if that’s the proper command to get it to work.
Then I TAB and it shows me that server text shows me that my configp.cfg is working due to color code.
But still the map rotation starts up sometimes In DM when it should be sab. It does not seem to use the proper map rotation.
Any clues.

drifter104
12-15-2007, 04:46 PM
need to see your configs really to see why this is, post them please

d1emain3qc
12-16-2007, 08:14 AM
Here are my config's.

TWL MATCH:

//************************************************** ****************************
// TWL NA server configs
//************************************************** ****************************

// Server name
set sv_hostname "MATCH RevueQuebecGaming.com"

// Server password
set g_password ""

// Max Ping
//set sv_maxclients 14
set rcon_password ""
set sv_maxping "500"

// Rate
set sv_maxRate "25000"

// MapRotation
set sv_mapRotation "gametype sd map mp_backlot"


//HTTP redirection
set sv_allowdownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://www.qcrev.com/cod4/"
set sv_wwwDlDisconnected "1"

// server settings
// --------------
set g_gametype "sd"
set g_allowvote 0

set sv_voice 0
set sv_punkbuster 1
set sv_connectTimeout 180
set sv_timeout 60


// limits the number of players that can choose each class type
set class_assault_limit "99"
set class_specops_limit "99"
set class_heavygunner_limit "99"
set class_demolitions_limit "99"
set class_sniper_limit "99"

// enables dropping of specified weapon class
set class_assault_allowdrop "1"
set class_specops_allowdrop "1"
set class_heavygunner_allowdrop "1"
set class_demolitions_allowdrop "1"
set class_sniper_allowdrop "1"

// assault rifles
set weap_allow_m16 "1"
set weap_allow_ak47 "1"
set weap_allow_m4 "1"
set weap_allow_g3 "1"
set weap_allow_g36c "1"
set weap_allow_m14 "1"
set weap_allow_mp44 "1"
// assault attachments "1"
set attach_allow_assault_none "1"
set attach_allow_assault_gl "1"
set attach_allow_assault_reflex "1"
set attach_allow_assault_silencer "1"
set attach_allow_assault_acog "1"

// smgs
set weap_allow_mp5 "1"
set weap_allow_skorpion "1"
set weap_allow_uzi "1"
set weap_allow_ak74u "1"
set weap_allow_p90 "1"
// smg attachments
set attach_allow_smg_none "1"
set attach_allow_smg_reflex "1"
set attach_allow_smg_silencer "1"
set attach_allow_smg_acog "1"

// shotguns
set weap_allow_m1014 "1"
set weap_allow_winchester1200 "1"
// shotgun attachments
set attach_allow_shotgun_none "1"
set attach_allow_shotgun_reflex "1"
set attach_allow_shotgun_grip "1"

// light machine guns
set weap_allow_saw "1"
set weap_allow_rpd "1"
set weap_allow_m60e4 "1"
// lmg attachments
set attach_allow_lmg_none "1"
set attach_allow_lmg_reflex "1"
set attach_allow_lmg_grip "1"
set attach_allow_lmg_acog "1"

// sniper rifles
set weap_allow_dragunov "1"
set weap_allow_m40a3 "1"
set weap_allow_barrett "1"
set weap_allow_remington700 "1"
set weap_allow_m21 "1"
// sniper attachments
set attach_allow_sniper_none "1"
set attach_allow_sniper_acog "1"

// pistols
set weap_allow_beretta "1"
set weap_allow_colt45 "1"
set weap_allow_usp "1"
set weap_allow_deserteagle "1"
set weap_allow_deserteaglegold "1"
// pistol attachments
set attach_allow_pistol_none "1"
set attach_allow_pistol_silencer "1"

// grenades
set weap_allow_frag_grenade "1"
set weap_allow_concussion_grenade "1"
set weap_allow_flash_grenade "1"
set weap_allow_smoke_grenade "1"

// perks
set perk_allow_specialty_parabolic "1"
set perk_allow_specialty_gpsjammer "1"
set perk_allow_specialty_holdbreath "1"
set perk_allow_specialty_quieter "1"
set perk_allow_specialty_longersprint "1"
set perk_allow_specialty_detectexplosive "1"
set perk_allow_specialty_explosivedamage "1"
set perk_allow_specialty_pistoldeath "1"
set perk_allow_specialty_grenadepulldeath "1"
set perk_allow_specialty_bulletdamage "1"
set perk_allow_specialty_bulletpenetration "1"
set perk_allow_specialty_bulletaccuracy "1"
set perk_allow_specialty_rof "1"
set perk_allow_specialty_fastreload "1"
set perk_allow_specialty_extraammo "1"
set perk_allow_specialty_armorvest "1"
set perk_allow_specialty_fraggrenade "1"
set perk_allow_specialty_specialgrenade "1"
set perk_allow_c4_mp "1"
set perk_allow_claymore_mp "1"
set perk_allow_rpg_mp "1"

// assault class default loadout
set class_assault_primary m16"
set class_assault_primary_attachment "none"
set class_assault_secondary "beretta"
set class_assault_secondary_attachment "none"
set class_assault_perk1 "specialty_null"
set class_assault_perk2 "specialty_bulletdamage"
set class_assault_perk3 "specialty_longersprint"
set class_assault_grenade "concussion_grenade"
set class_assault_camo "camo_none"
set class_assault_frags "1"
set class_assault_special "1"

// specops class default loadout
set class_specops_primary "mp5"
set class_specops_primary_attachment "none"
set class_specops_secondary "usp"
set class_specops_secondary_attachment "silencer"
set class_specops_perk1 "c4_mp"
set class_specops_perk2 "specialty_explosivedamage"
set class_specops_perk3 "specialty_bulletaccuracy"
set class_specops_grenade "flash_grenade"
set class_specops_camo "camo_none"
set class_specops_frags "1"
set class_specops_special "1"

// heavygunner class default loadout
set class_heavygunner_primary "saw"
set class_heavygunner_primary_attachment "none"
set class_heavygunner_secondary "usp"
set class_heavygunner_secondary_attachment "none"
set class_heavygunner_perk1 "specialty_specialgrenade"
set class_heavygunner_perk2 "specialty_armorvest"
set class_heavygunner_perk3 "specialty_bulletpenetration"
set class_heavygunner_grenade "concussion_grenade"
set class_heavygunner_camo "camo_none"
set class_heavygunner_frags "1"
set class_heavygunner_special "1"

// demolitions class default loadout
set class_demolitions_primary "winchester1200"
set class_demolitions_primary_attachment "none"
set class_demolitions_secondary "beretta"
set class_demolitions_secondary_attachment "none"
set class_demolitions_perk1 "rpg_mp"
set class_demolitions_perk2 "specialty_explosivedamage"
set class_demolitions_perk3 "specialty_longersprint"
set class_demolitions_grenade "smoke_grenade"
set class_demolitions_camo "camo_none"
set class_demolitions_frags "1"
set class_demolitions_special "1"

// sniper class default loadout
set class_sniper_primary "m40a3"
set class_sniper_primary_attachment "none"
set class_sniper_secondary "beretta"
set class_sniper_secondary_attachment "silencer"
set class_sniper_perk1 "specialty_specialgrenade"
set class_sniper_perk2 "specialty_bulletdamage"
set class_sniper_perk3 "specialty_bulletpenetration"
set class_sniper_grenade "flash_grenade"
set class_sniper_camo "camo_none"
set class_sniper_frags "1"
set class_sniper_special "1"

set class_assault_movespeed "0.95"
set class_specops_movespeed "1.00"
set class_heavygunner_movespeed "0.875"
set class_demolitions_movespeed "1.00"
set class_sniper_movespeed "1.00"

set scr_enable_nightvision "1"
set scr_enable_music "1"
set scr_enable_hiticon "1"

// gameplay
set scr_game_allowkillcam "0"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "0"
set scr_team_teamkillpointloss "1"
set scr_game_spectatetype "1"
set scr_game_forceuav "0"
set scr_game_hardpoints "0"

// teams
set scr_team_fftype "1"
set scr_team_teamkillspawndelay "20"
set scr_team_kickteamkillers "0"

// player
set scr_player_maxhealth "100"
set scr_player_suicidespawndelay "0"
set scr_player_healthregentime "5"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"

// UI
set scr_hardcore "0"
set scr_oldschool_mw "0"
set ui_hud_obituaries "1"
set ui_hud_showobjicons "1"


// hardpoints
set scr_hardpoint_allowartillery "0"
set scr_hardpoint_allowuav "0"
set scr_hardpoint_allowhelicopter "0"


//King of the hill HQ
set scr_koth_scorelimit "0"
set scr_koth_timelimit "20"
set scr_koth_roundlimit "1"
set scr_koth_roundswitch "0"
set scr_koth_autodestroytime "120"
set scr_koth_capturetime "20"
set scr_koth_destroytime "10"
set scr_koth_spawndelay "60"


//Sabotage
set scr_sab_scorelimit "4"
set scr_sab_timelimit "15"
set scr_sab_roundlimit "0"
set scr_sab_roundswitch "2"
set scr_sab_numlives "0"
set scr_sab_bombtimer "30"
set scr_sab_planttime "2.5"
set scr_sab_defusetime "5"
set scr_sab_hotpotato "0"
set scr_sab_playerrespawndelay "10"
set scr_sab_waverespawndelay "0"

// DOMINATION
set scr_dom_scorelimit "0"
set scr_dom_timelimit "20"
set scr_dom_roundlimit "2"
set scr_dom_roundswitch "1"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "0"
set scr_dom_waverespawndelay "0"

// SEARCH AND DESTROY CLASSIC
set scr_sd_scorelimit "11"
set scr_sd_timelimit "3"
set scr_sd_roundlimit "20"
set scr_sd_roundswitch "5" // rounds between switching teams
set scr_sd_numlives "1" // elimination
set scr_sd_bombtimer "50"
set scr_sd_planttime "5"
set scr_sd_defusetime "10 "
set scr_sd_multibomb "0"
set scr_sd_playerrespawndelay "0"
set scr_sd_waverespawndelay "0"


// TEAM DEATHMATCH, preset to TDM Respawn, please exec TDM_OLTL.cfg for no respawn mode
set scr_war_scorelimit "0"
set scr_war_timelimit "15"
set scr_war_roundlimit "2"
set scr_war_roundswitch "1"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "0"
set scr_war_waverespawndelay "0"

set sv_pam "1"
set pam_mode "twl_ladder_hc"



//execute the PB cfg file
pb_sv_load pbsv.cfg

SD CONFIG

//************************************************** ****************************
// Call of Duty 4
//************************************************** ****************************
//************************************************** ****************************

//************************************************** ****************************
// Color Codes
//************************************************** ****************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black

//************************************************** ****************************
// Public Information
//************************************************** ****************************
set sv_hostname "^7Quebec ^1[^7ESTI^1] ^7RevueQuebecGaming.com^1SD"
sets _Admin "MAIN3"
sets _Email "admin@qcrev.com"
sets _Website "www.revuequebecgaming.com"
sets _Location "CA"
sets _Irc ""
sets _Mod ""
sets _ModVer ""
sets _ModUpdate ""
sets _Maps ""
set scr_motd ""
set scr_teambalance "1"


//************************************************** ****************************
// 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 "208.167.248.102" // 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
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"

// Password Settings
set rcon_password "*********" // RCON must supply pw to use
set sv_privatePassword "" // 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 "24" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "" // 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 "150" // MAX player ping on CONNECT, any higher and player isnt allowed to connect



// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.

set sv_allowdownload "1"
seta sv_wwwDownload "1"

//seta sv_wwwBaseURL "http://cod4.qcrev.com"

seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"



// Rate

set sv_maxRate "5000"



// FPS

set sv_fps "20"



// Drop inactive players

set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"



// AntiFlooding Settings

set sv_floodProtect "1"
set sv_reconnectlimit "3"



// Anti Cheat Settings

set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "1"



// Temporary Ban duration, in seconds

set sv_kickBanTime "3600"



// In-game voice communication system

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"



//************************************************** ****************************

// Misc

//************************************************** ****************************

set sv_allowAnonymous "0"
set g_antilag "1"
set g_compassShowEnemies "0"

//ui_maxclients 24

//************************************************** ****************************
// limits the number of players that can choose each class type
//************************************************** ****************************
set class_assault_limit 99
set class_specops_limit 99
set class_heavygunner_limit 99
set class_demolitions_limit 99
set class_sniper_limit 99

//************************************************** ****************************
// perks
//************************************************** ****************************
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 1
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1

//************************************************** ****************************
// assault class default loadout
//************************************************** ****************************
set class_assault_primary m16
set class_assault_primary_attachment gl
set class_assault_secondary beretta
set class_assault_secondary_attachment none
set class_assault_perk1 specialty_null
set class_assault_perk2 specialty_bulletdamage
set class_assault_perk3 specialty_longersprint
set class_assault_grenade concussion_grenade
set class_assault_camo camo_none
set class_assault_frags 1
set class_assault_special 1

//************************************************** ****************************
// specops class default loadout
//************************************************** ****************************
set class_specops_primary mp5
set class_specops_primary_attachment none
set class_specops_secondary usp
set class_specops_secondary_attachment silencer
set class_specops_perk1 c4_mp
set class_specops_perk2 specialty_explosivedamage
set class_specops_perk3 specialty_bulletaccuracy
set class_specops_grenade flash_grenade
set class_specops_camo camo_none
set class_specops_frags 1
set class_specops_special 1

//************************************************** ****************************
// heavygunner class default loadout
//************************************************** ****************************
set class_heavygunner_primary saw
set class_heavygunner_primary_attachment none
set class_heavygunner_secondary usp
set class_heavygunner_secondary_attachment none
set class_heavygunner_perk1 specialty_specialgrenade
set class_heavygunner_perk2 specialty_armorvest
set class_heavygunner_perk3 specialty_bulletpenetration
set class_heavygunner_grenade concussion_grenade
set class_heavygunner_camo camo_none
set class_heavygunner_frags 1
set class_heavygunner_special 1

//************************************************** ****************************
// demolitions class default loadout
//************************************************** ****************************
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment none
set class_demolitions_secondary beretta
set class_demolitions_secondary_attachment none
set class_demolitions_perk1 rpg_mp
set class_demolitions_perk2 specialty_explosivedamage
set class_demolitions_perk3 specialty_longersprint
set class_demolitions_grenade smoke_grenade
set class_demolitions_camo camo_none
set class_demolitions_frags 1
set class_demolitions_special 1

//************************************************** ****************************
// sniper class default loadout
//************************************************** ****************************
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary beretta
set class_sniper_secondary_attachment silencer
set class_sniper_perk1 specialty_specialgrenade
set class_sniper_perk2 specialty_bulletdamage
set class_sniper_perk3 specialty_bulletpenetration
set class_sniper_grenade flash_grenade
set class_sniper_camo camo_none
set class_sniper_frags 1
set class_sniper_special 1

set class_assault_movespeed 0.95
set class_specops_movespeed 1.00
set class_heavygunner_movespeed 0.875
set class_demolitions_movespeed 1.00
set class_sniper_movespeed 1.00

set scr_enable_nightvision 1
set scr_enable_music 1
set scr_enable_hiticon 1

//************************************************** ****************************
// Enables Dropping of Specified Weapon Class
//************************************************** ****************************
set class_assault_allowdrop 1
set class_specops_allowdrop 1
set class_heavygunner_allowdrop 1
set class_demolitions_allowdrop 1
set class_sniper_allowdrop 1

//************************************************** ****************************
// Assault Rifles
//************************************************** ****************************
set weap_allow_m16 1
set weap_allow_ak47 1
set weap_allow_m4 1
set weap_allow_g3 1
set weap_allow_g36c 1
set weap_allow_m14 1
set weap_allow_mp44 1

//************************************************** ****************************
// Assault Attachments
//************************************************** ****************************
set attach_allow_assault_none 1
set attach_allow_assault_gl 1
set attach_allow_assault_reflex 1
set attach_allow_assault_silencer 1
set attach_allow_assault_acog 1

//************************************************** ****************************
// SMG
//************************************************** ****************************
set weap_allow_mp5 1
set weap_allow_skorpion 1
set weap_allow_uzi 1
set weap_allow_ak74u 1
set weap_allow_p90 1

//************************************************** ****************************
// SMG Attachments
//************************************************** ****************************
set attach_allow_smg_none 1
set attach_allow_smg_reflex 1
set attach_allow_smg_silencer 1
set attach_allow_smg_acog 1

//************************************************** ****************************
// Shotguns
//************************************************** ****************************
set weap_allow_m1014 1
set weap_allow_winchester1200 1

//************************************************** ****************************
// Shotgun Attachments
//************************************************** ****************************
set attach_allow_shotgun_none 1
set attach_allow_shotgun_reflex 1
set attach_allow_shotgun_grip 1

//************************************************** ****************************
// LMG
//************************************************** ****************************
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1

//************************************************** ****************************
// LMG Attachments
//************************************************** ****************************
set attach_allow_lmg_none 1
set attach_allow_lmg_reflex 1
set attach_allow_lmg_grip 1
set attach_allow_lmg_acog 1

//************************************************** ****************************
// Sniper Rifles
//************************************************** ****************************
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1

//************************************************** ****************************
// Sniper Attachments
//************************************************** ****************************
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1

//************************************************** ****************************
// Pistols
//************************************************** ****************************
set weap_allow_beretta 1
set weap_allow_colt45 1
set weap_allow_usp 1
set weap_allow_deserteagle 1
set weap_allow_deserteaglegold 1

//************************************************** ****************************
// Pistol Attachments
//************************************************** ****************************
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1

//************************************************** ****************************
// Grenades
//************************************************** ****************************
set weap_allow_frag_grenade 1
set weap_allow_concussion_grenade 1
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1
//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150
set scr_dm_timelimit 10
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 250
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 700
set scr_war_timelimit 10
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 2
set scr_sab_timelimit 0
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
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 11
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 10
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT INCLUDED IN COD4
//************************************************** ****************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15

//************************************************** ****************************
// KING OF THE HILL
//************************************************** ****************************
set scr_koth_scorelimit 350
set scr_koth_timelimit 0
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

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_allowkillcam 1
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 0
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 1
set scr_game_forceuav 0
set scr_game_hardpoints 1

//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 0
set scr_team_teamkillspawndelay 20
set scr_team_kickteamkillers 0

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 0
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 1
/************************************************** ****************************
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//************************************************** ****************************
set g_gametype "sd"


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"


Public ecevry thing goes config


//************************************************** ****************************
// Call of Duty 4
//************************************************** ****************************
//************************************************** ****************************

//************************************************** ****************************
// Color Codes
//************************************************** ****************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black

//************************************************** ****************************
// Public Information
//************************************************** ****************************
set sv_hostname "^7Quebec ^1[^7ESTI^1] ^7RevueQuebecGaming.com ^3TDMSD"
sets _Admin "MAIN3"
sets _Email "admin@qcrev.com"
sets _Website "www.revuequebecgaming.com"
sets _Location "CA"
sets _Irc ""
sets _Mod ""
sets _ModVer ""
sets _ModUpdate ""
sets _Maps ""
set scr_motd ""
set scr_teambalance "1"


//************************************************** ****************************
// 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 "208.167.248.102" // 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
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"

// Password Settings
set rcon_password "******" // RCON must supply pw to use
set sv_privatePassword "" // 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 "24" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "" // 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 "150" // MAX player ping on CONNECT, any higher and player isnt allowed to connect



// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.

set sv_allowdownload "1"
seta sv_wwwDownload "1"

//seta sv_wwwBaseURL "http://cod4.qcrev.com"

seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"



// Rate

set sv_maxRate "5000"



// FPS

set sv_fps "20"



// Drop inactive players

set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"



// AntiFlooding Settings

set sv_floodProtect "1"
set sv_reconnectlimit "3"



// Anti Cheat Settings

set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "1"



// Temporary Ban duration, in seconds

set sv_kickBanTime "3600"



// In-game voice communication system

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"



//************************************************** ****************************

// Misc

//************************************************** ****************************

set sv_allowAnonymous "0"
set g_antilag "1"
set g_compassShowEnemies "0"

//ui_maxclients 24

//************************************************** ****************************
// limits the number of players that can choose each class type
//************************************************** ****************************
set class_assault_limit 99
set class_specops_limit 99
set class_heavygunner_limit 99
set class_demolitions_limit 99
set class_sniper_limit 99

//************************************************** ****************************
// perks
//************************************************** ****************************
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 1
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1

//************************************************** ****************************
// assault class default loadout
//************************************************** ****************************
set class_assault_primary m16
set class_assault_primary_attachment gl
set class_assault_secondary beretta
set class_assault_secondary_attachment none
set class_assault_perk1 specialty_null
set class_assault_perk2 specialty_bulletdamage
set class_assault_perk3 specialty_longersprint
set class_assault_grenade concussion_grenade
set class_assault_camo camo_none
set class_assault_frags 1
set class_assault_special 1

//************************************************** ****************************
// specops class default loadout
//************************************************** ****************************
set class_specops_primary mp5
set class_specops_primary_attachment none
set class_specops_secondary usp
set class_specops_secondary_attachment silencer
set class_specops_perk1 c4_mp
set class_specops_perk2 specialty_explosivedamage
set class_specops_perk3 specialty_bulletaccuracy
set class_specops_grenade flash_grenade
set class_specops_camo camo_none
set class_specops_frags 1
set class_specops_special 1

//************************************************** ****************************
// heavygunner class default loadout
//************************************************** ****************************
set class_heavygunner_primary saw
set class_heavygunner_primary_attachment none
set class_heavygunner_secondary usp
set class_heavygunner_secondary_attachment none
set class_heavygunner_perk1 specialty_specialgrenade
set class_heavygunner_perk2 specialty_armorvest
set class_heavygunner_perk3 specialty_bulletpenetration
set class_heavygunner_grenade concussion_grenade
set class_heavygunner_camo camo_none
set class_heavygunner_frags 1
set class_heavygunner_special 1

//************************************************** ****************************
// demolitions class default loadout
//************************************************** ****************************
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment none
set class_demolitions_secondary beretta
set class_demolitions_secondary_attachment none
set class_demolitions_perk1 rpg_mp
set class_demolitions_perk2 specialty_explosivedamage
set class_demolitions_perk3 specialty_longersprint
set class_demolitions_grenade smoke_grenade
set class_demolitions_camo camo_none
set class_demolitions_frags 1
set class_demolitions_special 1

//************************************************** ****************************
// sniper class default loadout
//************************************************** ****************************
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary beretta
set class_sniper_secondary_attachment silencer
set class_sniper_perk1 specialty_specialgrenade
set class_sniper_perk2 specialty_bulletdamage
set class_sniper_perk3 specialty_bulletpenetration
set class_sniper_grenade flash_grenade
set class_sniper_camo camo_none
set class_sniper_frags 1
set class_sniper_special 1

set class_assault_movespeed 0.95
set class_specops_movespeed 1.00
set class_heavygunner_movespeed 0.875
set class_demolitions_movespeed 1.00
set class_sniper_movespeed 1.00

set scr_enable_nightvision 1
set scr_enable_music 1
set scr_enable_hiticon 1

//************************************************** ****************************
// Enables Dropping of Specified Weapon Class
//************************************************** ****************************
set class_assault_allowdrop 1
set class_specops_allowdrop 1
set class_heavygunner_allowdrop 1
set class_demolitions_allowdrop 1
set class_sniper_allowdrop 1

//************************************************** ****************************
// Assault Rifles
//************************************************** ****************************
set weap_allow_m16 1
set weap_allow_ak47 1
set weap_allow_m4 1
set weap_allow_g3 1
set weap_allow_g36c 1
set weap_allow_m14 1
set weap_allow_mp44 1

//************************************************** ****************************
// Assault Attachments
//************************************************** ****************************
set attach_allow_assault_none 1
set attach_allow_assault_gl 1
set attach_allow_assault_reflex 1
set attach_allow_assault_silencer 1
set attach_allow_assault_acog 1

//************************************************** ****************************
// SMG
//************************************************** ****************************
set weap_allow_mp5 1
set weap_allow_skorpion 1
set weap_allow_uzi 1
set weap_allow_ak74u 1
set weap_allow_p90 1

//************************************************** ****************************
// SMG Attachments
//************************************************** ****************************
set attach_allow_smg_none 1
set attach_allow_smg_reflex 1
set attach_allow_smg_silencer 1
set attach_allow_smg_acog 1

//************************************************** ****************************
// Shotguns
//************************************************** ****************************
set weap_allow_m1014 1
set weap_allow_winchester1200 1

//************************************************** ****************************
// Shotgun Attachments
//************************************************** ****************************
set attach_allow_shotgun_none 1
set attach_allow_shotgun_reflex 1
set attach_allow_shotgun_grip 1

//************************************************** ****************************
// LMG
//************************************************** ****************************
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1

//************************************************** ****************************
// LMG Attachments
//************************************************** ****************************
set attach_allow_lmg_none 1
set attach_allow_lmg_reflex 1
set attach_allow_lmg_grip 1
set attach_allow_lmg_acog 1

//************************************************** ****************************
// Sniper Rifles
//************************************************** ****************************
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1

//************************************************** ****************************
// Sniper Attachments
//************************************************** ****************************
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1

//************************************************** ****************************
// Pistols
//************************************************** ****************************
set weap_allow_beretta 1
set weap_allow_colt45 1
set weap_allow_usp 1
set weap_allow_deserteagle 1
set weap_allow_deserteaglegold 1

//************************************************** ****************************
// Pistol Attachments
//************************************************** ****************************
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1

//************************************************** ****************************
// Grenades
//************************************************** ****************************
set weap_allow_frag_grenade 1
set weap_allow_concussion_grenade 1
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1
//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150
set scr_dm_timelimit 10
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 250
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 700
set scr_war_timelimit 10
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 2
set scr_sab_timelimit 0
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
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 11
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 10
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT INCLUDED IN COD4
//************************************************** ****************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15

//************************************************** ****************************
// KING OF THE HILL
//************************************************** ****************************
set scr_koth_scorelimit 350
set scr_koth_timelimit 0
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

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_allowkillcam 1
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 0
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 1
set scr_game_forceuav 0
set scr_game_hardpoints 1

//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 0
set scr_team_teamkillspawndelay 20
set scr_team_kickteamkillers 0

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 0
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 1
/************************************************** ****************************
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//************************************************** ****************************
set g_gametype ""
//
set sv_mapRotation "gametype sd map mp_convoy gametype dm map mp_backlot gametype sd map mp_bloc gametype war map mp_bog gametype sd map mp_countdown gametype dm map mp_crash gametype sd map mp_crossfire gametype sab map mp_citystreets gametype sd map mp_farm gametype dm map mp_overgrown gametype sd map mp_pipeline gametype war map mp_showdown gametype sd map mp_strike gametype dm map mp_vacant gametype sd map mp_cargoship gametype sab map mp_convoy gametype sd map mp_backlot gametype dm map mp_bloc gametype sd map mp_bog gametype war map mp_countdown gametype sd map mp_crash gametype dm map mp_crossfire gametype sd map mp_citystreets gametype sab map mp_farm gametype sd map mp_overgrown gametype dm map mp_pipeline gametype sd map mp_showdown"