Skip to content

Instantly share code, notes, and snippets.

@billmote
Last active August 3, 2017 11:38
Show Gist options
  • Save billmote/d2dbf9576455cb7ddfa1 to your computer and use it in GitHub Desktop.
Save billmote/d2dbf9576455cb7ddfa1 to your computer and use it in GitHub Desktop.
CS:GO key mappings and custom config
// This list of "buy aliases" is used by the AutoBuy system.
// The system begins with the first alias in the list, and attempts to purchase it.
// If a primary weapon is successfully purchased, all later primary weapon aliases are skipped.
// Similarly, secondary weapon buy alias are skipped once a seconary weapon has been purchased.
// You can customize this file to reflect your weapon and equipment preferences and priorities.
//
// Attempting to purchase a weapon that shares a slot with another weapon on that team
// (like the m4a1 and m4a1_silencer), will purchase the weapon currently equipped in that slot if possible.
//
// The console command for autobuy is "autobuy"
//
// The available buy aliases and their names as shown on the buy menu are:
// (Many weapons have more than one buy alias)
//
// galil
// galilar
// ak47
// scout
// sg552
// awp
// g3sg1
// famas
// m4a1
// m4a1_silencer
// aug
// sg556
// scar20
// ssg08
// glock
// deagle
// elite
// fn57
// hkp2000
// usp_silencer
// p250
// tec9
// taser
// xm1014
// mag7
// mac10
// ump45
// p90
// bizon
// mp7
// mp9
// m249
// negev
// nova
// primammo
// secammo
// vest
// vesthelm
// flashbang
// hegrenade
// smokegrenade
// molotov
// incgrenade
// decoy
// defuser
////------- BUY LIST SHOUlD GO HERE -------////
m4a1
ak47
p90
famas
galil
bizon
mp9
mac10
primammo
secammo
// Mac Path /Users/billmote/Library/Application\ Support/Steam/SteamApps/common/Counter-Strike\ Global\ Offensive/csgo/cfg
// Useful site: http://csgohelp.com/aliases-toggles-binds/
bind "F1" "jpeg"
// bind "F3" autobuy, do not tamper with
// bind "F4" rebuy, do not tamper with
// Buy generated @ http://62.210.236.193/csgobindsgenerator/
bind "kp_end" "buy p250; "
bind "kp_downarrow" "buy tec9; buy fiveseven; "
bind "kp_pgdn" "buy mp9; buy mac10; "
bind "kp_leftarrow" "buy bizon; "
bind "kp_5" "buy famas; buy galilar; "
bind "kp_rightarrow" "buy p90; "
bind "kp_home" "buy m4a1; buy ak47; "
bind "kp_uparrow" "buy sg556; buy aug; "
bind "kp_pgup" "buy awp; "
bind "kp_ins" "buy vesthelm; buy vest; buy defuser;"
bind "kp_del" "buy vest; "
bind "kp_enter" "buy hegrenade; buy flashbang; buy molotov; buy incgrenade; buy smokegrenade; buy decoy; "
// Zoom the Radar without affecting the Use key.
bind "E" "+radar"
alias "+radar" "+use; cl_radar_always_centered 1; cl_radar_scale 0.60"
alias "-radar" "-use; cl_radar_always_centered 0; cl_radar_scale 0.30"
// Duck & Fire, toggle on/off with 2
alias dfire "dfireon"
alias dfireon "bind mouse1 +fire; alias dfire dfireoff"
alias dfireoff "bind mouse1 +attack; alias dfire dfireon"
alias +fire "+duck; wait; wait; wait; +attack"
alias -fire "-attack; -duck"
bind "2" "dfire"
// Show the Netgraph
net_graph "1"
net_graphheight "9999"
net_graphpos "2"
unbind "TAB"; bind "TAB" "+scorenet; r_cleardecals"
alias "+scorenet" "+showscores; net_graphheight 0"
alias "-scorenet" "-showscores; net_graphheight 9999"
// For Cole :)
bind "H" "use weapon_c4;drop"
// Change the crosshair style
bind "O" "incrementvar cl_crosshairstyle 0 5 1"
// Switch to primary. If primary then switch to secondary.
bind "Q" "invnextnongrenade"
// Bind mouse 5 to reload on Mac
bind "COMMAND" "+reload"
//bind "R" "+reload"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+speed"
bind "MOUSE4" "+reload"
bind "MOUSE5" "+jump"
cl_crosshairstyle 4
// Duck+Jump (hold to remain crouched after jump)
alias +djump "+jump;+duck"
alias -djump "-jump;-duck"
bind space "+djump"
bind "Z" "radio1"
bind "=" "+jump"
bind "1" "use weapon_knife; use weapon_flashbang;"
bind "R" "use weapon_knife; use weapon_hegrenade;"
bind "3" "use weapon_knife; use weapon_smokegrenade;"
bind "4" "use weapon_knife; use weapon_incgrenade; use weapon_molotov;"
bind "5" "use weapon_knife; use weapon_decoy;"
// Adjust in-game voice chat volume with pgup/pgdn
// http://csgo.gamebanana.com/scripts/7567
alias "ngmin" "voice_scale 0;echo |*__________| VOICE 0% MINIMUM!;alias ngup ng1;alias ngdn ngmin"
alias "ng1" "voice_scale 0.1;echo |_*_________| VOICE 10%;alias ngup ng2;alias ngdn ngmin"
alias "ng2" "voice_scale 0.2;echo |__*________| VOICE 20%;alias ngup ng3;alias ngdn ng1"
alias "ng3" "voice_scale 0.3;echo |___*_______| VOICE 30%;alias ngup ng4;alias ngdn ng2"
alias "ng4" "voice_scale 0.4;echo |____*______| VOICE 40%;alias ngup ng5;alias ngdn ng3"
alias "ng5" "voice_scale 0.5;echo |_____*_____| VOICE 50%;alias ngup ng6;alias ngdn ng4"
alias "ng6" "voice_scale 0.6;echo |______*____| VOICE 60%;alias ngup ng7;alias ngdn ng5"
alias "ng7" "voice_scale 0.7;echo |_______*___| VOICE 70%;alias ngup ng8;alias ngdn ng6"
alias "ng8" "voice_scale 0.8;echo |________*__| VOICE 80%;alias ngup ng9;alias ngdn ng7"
alias "ng9" "voice_scale 0.9;echo |_________*_| VOICE 90%;alias ngup ng10;alias ngdn ng8"
alias "ng10" "voice_scale 1;echo |__________*| VOICE 100% MAXIMUM!;alias ngdn ng9"
alias "ngup" "ng1"
alias "ngdn" "ng1"
bind "pgup" "ngup"
bind "pgdn" "ngdn"
// Adjust in-game voice chat volume with home/end
// http://csgo.gamebanana.com/scripts/8200
alias "vgmin" "volume 0;echo |*__________| VOLUME 0% MINIMUM;alias vgup vg1;alias vgdn vgmin"
alias "vg1" "volume 0.1;echo |_*_________| VOLUME 10%;alias vgup vg2;alias vgdn vgmin"
alias "vg2" "volume 0.2;echo |__*________| VOLUME 20%;alias vgup vg3;alias vgdn vg1"
alias "vg3" "volume 0.3;echo |___*_______| VOLUME 30%;alias vgup vg4;alias vgdn vg2"
alias "vg4" "volume 0.4;echo |____*______| VOLUME 40%;alias vgup vg5;alias vgdn vg3"
alias "vg5" "volume 0.5;echo |_____*_____| VOLUME 50%;alias vgup vg6;alias vgdn vg4"
alias "vg6" "volume 0.6;echo |______*____| VOLUME 60%;alias vgup vg7;alias vgdn vg5"
alias "vg7" "volume 0.7;echo |_______*___| VOLUME 70%;alias vgup vg8;alias vgdn vg6"
alias "vg8" "volume 0.8;echo |________*__| VOLUME 80%;alias vgup vg9;alias vgdn vg7"
alias "vg9" "volume 0.9;echo |_________*_| VOLUME 90%;alias vgup vgmax;alias vgdn vg8"
alias "vgmax" "volume 1;echo |__________*| VOLUME 100% MAXIMUM;alias vgup vgmax;alias vgdn vg9"
alias "vgup" "vg1"
alias "vgdn" "vg1"
bind "home" "vgup"
bind "end" "vgdn"
// Simple volume control w/output to log, but up loops back to muted and visa-vis for down
//bind "home" "incrementvar volume 0 1 0.1; volume;"
//bind "end" "incrementvar volume 0 1 -0.1; volume;"
// Toggle duck-and-fire on/off
// http://css.gamebanana.com/scripts/114
alias dfire "dfireon"
alias dfireon "bind mouse1 +fire; alias dfire dfireoff"
alias dfireoff "bind mouse1 +attack; alias dfire dfireon"
alias +fire "+duck; wait; wait; wait; +attack"
alias -fire "-attack; -duck"
bind "t" "dfire"
//bind "1" "enemyspot"
//bind "2" "sectorclear"
//bind "3" "holdpos"
//bind "4" "followme"
//bind "5" "coverme"
//bind "6" "takingfire"
// Unused keys
// j
// l
// n
// p
// t
//FATAL1TY's Fatal Autoexec http://csgo.gamebanana.com/scripts/9157
//Auto Weapon Switch
cl_autowepswitch "0"
//Bobbing and Movement Shifting - remove all the dumb view bob
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_bobamt_vert "0"
cl_showloadout "1"
cl_bobcycle "1"
//Viewmodel - Quake style
viewmodel_fov "68"
viewmodel_offset_x "-2.000000"
viewmodel_offset_y "2.0"
viewmodel_offset_z "-2.000000"
viewmodel_presetpos "0"
//HUD
cl_hud_playercount_showcount 1
//Bypass OS Interface & Acceleration - yes
m_rawinput "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
zoom_sensitivity_ratio_mouse 1 // you want your AWP/SSG'08 have the same sensitivity when either scoped in or out
//Max Ping - adjust for preference
mm_dedicated_search_maxping "100" // we dont wanna get put in a server where we have 200 ping
//Custom Server Annoyance remover
cl_disablehtmlmotd "1"
cl_downloadfilter "nosounds"
//Performance & Rates - rates for 128 tick servers, matchmaking is 64 but this is usually fine
cl_forcepreload "1"
cl_interp "0"
cl_interp_ratio "1"
cl_cmdrate "128"
cl_updaterate "128"
rate "128000"
max_fps 0
bind "w" "+forward; r_cleardecals"
bind "a" "+moveleft; r_cleardecals"
bind "d" "+moveright; r_cleardecals"
bind "s" "+back; r_cleardecals"
bind "mouse1" "+attack; r_cleardecals"
r_cheapwaterend "1"
r_cheapwaterstart "1"
r_dynamic "0"
r_drawtracers_firstperson "0"
r_eyegloss "0"
r_eyemove "0"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
sys_antialiasing "0"
sys_refldetail "0"
muzzleflash_light "0"
cl_debugrumble "0"
cl_detail_avoid_force "0"
cl_detail_avoid_radius "0"
cl_detail_avoid_recover_speed "0"
cl_detail_max_sway "0"
mat_hdr_enabled "0"
adsp_debug "0"
mat_queue_mode "2"
cl_buy_favorite_quiet "0"
cl_buy_favorite_nowarn "0"
budget_show_history "0"
cl_clearhinthistory "1"
cl_debugrumble "0"
cl_rumblescale "0"
//Crosshair
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.500000"
cl_crosshair_dynamic_splitalpha_innermod "0.300000"
cl_crosshair_dynamic_splitalpha_outermod "0.600000"
cl_crosshair_dynamic_splitdist "-16.500000"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "220.000000"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-18.000000"
cl_crosshairgap_useweaponvalue "1"
cl_crosshairscale "0"
cl_crosshairsize "2.500000"
cl_crosshairstyle "2"
cl_crosshairthickness "17.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
//Radar - radar settings + adjustment on numpad enter
cl_radar_rotate "0"
cl_radar_always_centered "0"
cl_radar_scale "0.32"
cl_radar_icon_scale_min "0.5"
bind "kp_enter" "incrementvar cl_radar_scale 0.32 0.52 0.05" // this lets you adjust radar scale on numpad enter
//Gun Tracers - these are bad, really misleading
r_drawtracers_firstperson "0"
//Help Messages - you dont need these
gameinstructor_enable "0"
cl_autohelp "0"
cl_showhelp "0"
//Sound - less delayed, better sound
windows_speaker_config "1"
snd_mixahead "0.05"
snd_musicvolume "0"
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "1"
snd_rear_headphone_position "90"
bind "kp_minus" "toggle voice_enable 1 0" // this lets you turn voice on and off on numpad minus
//Netgraph
net_graph "1"
net_graphheight "9999"
alias "+scorenet" "+showscores; net_graphheight 0"
alias "-scorenet" "-showscores; net_graphheight 9999"
bind "TAB" "+scorenet"
//Sound Effect
play commander\train_bodydamageheadshot_04
//ASCII loading art - remove if you wish to, I think it's cool :P
host_writeconfig
clear
echo "Thanks for using fatal1ty's F4T4L config!"
echo "You're now officially better at CS:GO"
echo "________________________________ .____ "
echo "\_ _____/ | \__ ___/ | || |"
echo " | __)/ | |_| | / | || |"
echo " | \/ ^ /| |/ ^ / |___"
echo " \___ /\____ | |____|\____ ||_______ \"
echo " \/ |__| |__| \/"
echo ""
echo "Check fatal1ty.tk for updates on this awesome config!"
// http://csgo.gamebanana.com/scripts/9147
/*
Hello, Here is a script that will optimize both your FPS and connection in CS:GO
For further optimizatio you can add these commands to your CS:GO launch options in Steam:
-nod3d9ex -freq 60 -refresh 60 -processheap -novid -nojoy -noforcemparms
-noforcemaccel -high -tickrate 128 -threads 4 -noforce -noforcemaccel
-noforcemparms -noforcemspd -noforcercemspd -nojoy -noheap -noaafonts
-noipx -console +exec autoexec
You can also use the MM server picker to optimize your connection: http://csgo.gamebanana.com/tools/5684
!!!BEFORE YOU USE THE ABOVE!!!
Be sure to set -freq and -refresh to your monitors refresh rate
Be sure to set -threads to the amount of threads your CPU supports.
Enjoy a buttery smooth CS:GO experience! :)
*/
//Powerchopper's CS:GO optimizing script.
//Start
clear
echo Optimization started...
echo Optimizing frame rate...
r_cleardecals //Clears blood and bullet holes
clear_anim_cache //Clears cache
cl_forcepreload 1 //Preloads stuff
muzzleflash_light 0 //Removes muzzleflash form your gun
fps_max 9999 //Sets max fps to 9999
fps_max_menu "60" //Sets max fps in the menu to 60(you dont need more)
cl_disablefreezecam "1"
mat_hdr_enabled "0"
adsp_debug "0"
mat_queue_mode "2"
cl_buy_favorite_quiet "0"
cl_buy_favorite_nowarn "0"
budget_show_history "0"
cl_clearhinthistory "1"
cl_debugrumble "0"
cl_rumblescale "0"
r_cheapwaterend "1"
r_cheapwaterstart "1"
r_dynamic "0"
r_drawtracers_firstperson "0"
r_eyegloss "0"
r_eyemove "0"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
sys_antialiasing "0"
sys_refldetail "0"
muzzleflash_light "0"
cl_debugrumble "0"
cl_detail_avoid_force "0"
cl_detail_avoid_radius "0"
cl_detail_avoid_recover_speed "0"
cl_detail_max_sway "0"
clear
echo Optimization started...
echo Optimizing frame rate...
echo Done!
echo Optimizing network connection...
mm_dedicated_search_maxping "50" //sets max mm search ping to 50
rate 128000 //Set tickrate to 128
cl_interp "0"
cl_timeout 1337 //Set connection timeout to 1337 seconds
cl_interp_ratio "1"
cl_lagcompensation "1"
cl_forcepreload "1"
cl_predict "1"
cl_predictweapons "1"
net_maxroutable "1200"
net_steamcnx_allowrelay "1"
sv_forcepreload "1"
net_splitrate "3"
net_allow_multicast "0"
cl_interpolate "1"
cl_resend "6"
cl_downloadfilter "nosounds"
cl_allowdownload "1"
cl_allowupload "0"
clear
echo Optimization started...
echo Optimizing frame rate...
echo Done!
echo Optimizing network connection...
echo Done!
echo Optimized!
//End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment