Skip to content

Instantly share code, notes, and snippets.

@cilindrox
Last active June 1, 2018 22:39
Show Gist options
  • Save cilindrox/dbf708dc7c9d596446340b8d7b61198c to your computer and use it in GitHub Desktop.
Save cilindrox/dbf708dc7c9d596446340b8d7b61198c to your computer and use it in GitHub Desktop.
// link to "iw3mp.exe" +set dedicated 1 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate
// Put this file under CoD4/main install folder
set sv_hostname "chorilan"
// Security
set g_password ""
set rcon_password "changeMe!"
// Maximum Clients
set sv_maxclients "8"
set sv_privateclients "6"
// Max Ping
set sv_maxping "60"
// Rate
set sv_maxRate "25000"
// Cheating protection
set sv_floodProtect "1"
set sv_reconnectlimit "3"
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set sv_punkbuster "0"
set g_antilag "0"
// Class type limits
// 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 0
set perk_allow_specialty_grenadepulldeath 0
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 0
set perk_allow_specialty_specialgrenade 0
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1
// Defaul loadouts
// Assault
set class_assault_primary m4
set class_assault_primary_attachment reflex
set class_assault_secondary colt45
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
set class_specops_primary mp5
set class_specops_primary_attachment reflex
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
set class_heavygunner_primary saw
set class_heavygunner_primary_attachment reflex
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
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment none
set class_demolitions_secondary deserteagle
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
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary deserteagle
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
// Misc
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
set scr_hardcore 1
// Disable respawn delay
scr_dm_playerrespawndelay 2
// scr_dm_waverespawndelay 2
// 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
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
set g_gametype "dm"
// L-XL range Maps
// http://callofduty.wikia.com/wiki/Category:Call_of_Duty_4:_Modern_Warfare_Multiplayer_Maps
// mp_bloc
// mp_overgrown
// mp_convoy
// mp_broadcast
// mp_countdown
// mp_creek
// mp_pipeline
// Map rotation
set sv_mapRotation "gametype dm map mp_backlot
gametype dmmap mp_bog
gametype dm map mp_crossfire
gametype dm map mp_carentan
gametype dm map mp_showdown
gametype dm map mp_crash
gametype dm map mp_citystreets
gametype dm map mp_cargoship
gametype dm map mp_killhouse
gametype dm map mp_farm
gametype dm map mp_shipment
gametype dm map mp_strike
gametype dm map mp_vacant"
set sv_maprotationcurrent ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment