Skip to content

Instantly share code, notes, and snippets.

@bigyank
Last active October 28, 2019 09:51
Show Gist options
  • Save bigyank/70fb2c482e0dd441441182084120d8ee to your computer and use it in GitHub Desktop.
Save bigyank/70fb2c482e0dd441441182084120d8ee to your computer and use it in GitHub Desktop.
my config for auto exec
echo Config Loaded!!! (1/2) //This confirms that the config has been loaded
// 1. Main Settings
con_enable "1" //Enables Console
gameinstructor_enable "0" //Removes in-game instructions
cl_showhelp "0" //Removes on-screen help
cl_autohelp "0" //Removes automatic help
cl_disablefreezecam "1" //Disables Freezecam
cl_disablehtmlmotd "1" //Removes "Message of the day" page when joining a server
cl_autowepswitch "0" //Disable auto-weapon switch
cl_forcepreload "1" //preloads whole map
cl_join_advertise "0" //Let friends join your community servers
lobby_default_privacy_bits2 "0" //Set default lobby permissions to "friends need invite"
spec_replay_autostart "0" //Disable Auto-start Killer Replay when available
cl_mute_enemy_team "1" // mute enemy team (both chat and voice)
tv_nochat "1" //disables chat in GOTV
// 2. Keybinds
bind kp_slash "buy p90"
bind kp_multiply "buy mp7;buy mp9"
bind kp_minus "buy mag7"
bind kp_home "buy awp"
bind kp_uparrow "buy aug"
bind kp_pgup "buy famas;buy galilar"
bind kp_leftarrow "buy deagle"
bind kp_5 "buy tec9"
bind kp_rightarrow "buy p250"
bind kp_end "buy incgrenade;buy molotov"
bind kp_downarrow "buy flashbang"
bind kp_pgdn "buy smokegrenade"
bind kp_ins "buy vesthelm"
bind kp_del "buy vest"
bind kp_plus "buy m4a1;buy ak47"
bind kp_enter "buy defuser"
// 3. Radar (Optimized radar settings)
cl_teammate_colors_show "1" //Show teammates as separate colors without letter
cl_hud_radar_scale "1" //Radar size, not too big and not too small
cl_radar_scale "0.5" //Radar map scale size, 0.4 works on all maps
cl_radar_always_centered "0" //Centers map instead of player
cl_radar_icon_scale_min "0.4" //Minimum player icon scale
// 4. Mouse ("Raw Input" & "No Acceleration")
m_rawinput "1" //Enable Raw Input for perfect precision (Raw input is unavailable on OSX)
m_mouseaccel2 "0" //Disables windows mouse acceleration initial threshold, safety precaution
m_mouseaccel1 "0" //Disables windows mouse acceleration initial threshold, safety precaution
m_customaccel "0" //Custom mouse acceleration disabled
m_mousespeed "0" //Windows mouse acceleration disabled, just for precaution
zoom_sensitivity_ratio_mouse "0.818933027098955175" //Fixes your zoom sensitivity to act as your real sensitivity, default value is 1
// 5. Viewmodel
viewmodel_fov 68 ; viewmodel_offset_x 1 ; viewmodel_offset_y 2 ; viewmodel_offset_z -1 ; viewmodel_presetpos 0
viewmodel_recoil "0" //Disables viewmodel reactions to weapon recoil & aimpunch (from Update: 2018-03-01)
// 6. Bob (Less movement when you move around with weapons)
cl_bob_lower_amt "5" //How much the viewmodel lowers when running, set to lowest for less distraction
cl_bobamt_lat "0.1" //How much the viewmodel moves side to side when running, set to lowest for less distraction
cl_bobamt_vert "0.1" //How much the viewmodel moves up and down when running, set to lowest for less distraction
cl_bobcycle "0.98" //The frequency at which the viewmodel bobs, set to default
cl_viewmodel_shift_left_amt "0.5" //Lowers the crouching animation of the viewmodel
cl_viewmodel_shift_right_amt "0.25" //Lowers the crouching animation of the viewmodel
// 7. Rates (These network settings are optimized for high speed internet)
cl_interp "0" //Sets the interpolation amount, always set this to 0
cl_interp_ratio "1" //Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate)
// 8. Net (Netgraph positioning)
net_graph "1" //Shows my network usage data
net_graphheight "10" //Changes height
net_graphmsecs "400" //The latency graph represents this many milliseconds
net_graphpos "2" //Positioning of Net Graph
net_graphproportionalfont "1" //Makes font smaller
net_graphshowinterp "1" //Shows interpolation value
net_graphshowlatency "1" //Shows latency value
net_graphsolid "1" //Solid Net Graph
net_graphtext "1" //Shows text fields
net_maxroutable "1200" //Requested max packet size before packets are split
net_scale "5" //Makes font smaller
// 9. Sound (and music, does not affect volume)
snd_hwcompat "0" //Enables "Advanced 3D Audio Processing"
snd_musicvolume_multiplier_inoverlay "0" // Disable music volume when Steam Overlay is active
voice_scale "0.4" //Turns down the volume of other players voice to 40%
snd_deathcamera_volume "0" //Volume of the death camera music
snd_dzmusic_volume "0" //Volume of the Danger Zone victory music
snd_mapobjective_volume "0" //Volume of map objective music
snd_menumusic_volume "0" //Volume of the main menu music
snd_music_selection "2" //Tracking rotating music for players with no music packs equipped
snd_musicvolume_multiplier_inoverlay "0" //Music volume multiplier when Steam Overlay is active
snd_mute_mvp_music_live_players "0" //MVP music is muted if players from both teams are still alive
snd_mvp_volume "0" //Volume of the MVP music
snd_roundend_volume "0" //Volume of round end music
snd_roundstart_volume "0" //Volume of round start music
snd_tensecondwarning_volume "0.03" //10 Second warning music
dsp_enhance_stereo "0";
snd_mixahead "0.05";
snd_pitchquality "1";
snd_mvp_volume "0.11";
snd_mute_losefocus "0";
snd_surround_speakers "0"
// RECOMMENDED HEADPHONES SETTINGS
windows_speaker_config "1"
snd_front_headphone_position "45.0"
snd_rear_headphone_position "90.0"
snd_headphone_pan_exponent "1.2"
snd_headphone_pan_radial_weight "0.5"
// 10. Other
cl_use_opens_buy_menu "0" //Disables E from opening buy-menu, really useful
mm_dedicated_search_maxping "80" //Maxping Search in Matchmaking
func_break_max_pieces "0" //Less clutter from breaking vents (especially on Mirage)
echo Config Loaded!!! (2/2) //This just confirms that the config has ended successfully
// 11. Jump Throw (For Smokes)
alias "+jumpthrow" "+jump; -attack"
alias "-jumpthrow" "-jump"
bind "v" "+jumpthrow" //Bind to whatever you prefer (Default Mouse5)
// 12. CLEAR BLOOD
bind "w" "+forward;r_cleardecals"
// 13. TALK
bind "mouse4" +voicerecord
// 14. SWITCH PRIMARY AND SECONDARY WEAPON
alias prim "slot1; bind q sec"
alias sec "slot2; bind q prim"
bind q prim
bind 1 "slot1; bind q sec"
bind 2 "slot2; bind q prim"
bind 3 "slot3; bind q prim"
bind 4 "slot4; bind q prim"
bind 5 "slot5; bind q prim"
// 15. Shortcuts for popular commands in console (nice to use)
alias "r" "retry"
alias "rs" "mp_restartgame 1"
alias "v1" "voice_enable 1"
alias "v0" "voice_enable 0"
alias "bk" "bot_kick"
alias "aim" "map workshop\243702660\aim_botz"
bind "Home" "disconnect"
bind "End" "quit;exit"
// 16. Hud
hud_scaling "0.95" //Scales hud elements to maximum value
hud_showtargetid "1" //Enables display of target names, important
cl_hud_bomb_under_radar "1" //Draws bomb under radar, convenient
cl_hud_color "10" //Makes the hud color pink
cl_hud_playercount_showcount "1" //Shows player numbers instead of avatars
cl_hud_playercount_pos "1" //Puts player information in the bottom instead of top
cl_hud_healthammo_style "0" //Reverted hud style due to hidden burst mode
cl_hud_background_alpha "0.4" //Hidden but still visible black bars, easy on the eyes
cl_showloadout "1" //So it doesnt fade out the weapon slots, very annoying otherwise
cl_teamid_overhead_always "2" //Always show team behind walls with equiptment
safezonex "1" //Screen width percentage for the hud
safezoney "1" //Screen height percentage for the hud
cl_show_clan_in_death_notice "0" //Steamtag name will not show next to player names
// 17 . Nade binds
bind "f" "use weapon_flashbang"
bind "x" "use weapon_smokegrenade"
bind "g" "use weapon_hegrenade"
bind "4" "use weapon_molotov; use weapon_incgrenade"
// 18. CALLOUTS
bind "LEFTARROW" "callvote StartTimeOut" //for timeout
bind "RIGHTARROW" "callvote" // for vote menu
// 19. TOGGLE NETGRAPH WITH SCOREBOARD
net_graph "1";
net_graphpos "2";
net_graphheight "1";
alias "+scorenet" "+showscores; net_graph 1";
alias "-scorenet" "-showscores; net_graph 0";
bind "tab" "+scorenet"
// 20. MANUAL VOLUME CHANGE
alias "volmin" "volume 0.0;echo |*__________| VOLUME 0% MINIMUM!;alias volup vol1;alias voldn ngmin"
alias "vol1" "volume 0.1;echo |_*_________| VOLUME 10%;alias volup vol2;alias voldn volmin"
alias "vol2" "volume 0.2;echo |__*________| VOLUME 20%;alias volup vol3;alias voldn vol1"
alias "vol3" "volume 0.3;echo |___*_______| VOLUME 30%;alias volup vol4;alias voldn vol2"
alias "vol4" "volume 0.4;echo |____*______| VOLUME 40%;alias volup vol5;alias voldn vol3"
alias "vol5" "volume 0.5;echo |_____*_____| VOLUME 50%;alias volup vol6;alias voldn vol4"
alias "vol6" "volume 0.6;echo |______*____| VOLUME 60%;alias volup vol7;alias voldn vol5"
alias "vol7" "volume 0.7;echo |_______*___| VOLUME 70%;alias volup vol8;alias voldn vol6"
alias "vol8" "volume 0.8;echo |________*__| VOLUME 80%;alias volup vol9;alias voldn vol7"
alias "vol9" "volume 0.9;echo |_________*_| VOLUME 90%;alias volup vol10;alias voldn vol8"
alias "vol10" "volume 1.0;echo |__________*| VOLUME 100% MAXIMUM!;alias voldn vol9"
alias "volup" "vol2"
alias "voldn" "volmin"
bind "UPARROW" "volup"
bind "DOWNARROW" "voldn"
// 21. Video (Video settings and FPS Boosts)
fps_max "300"
mat_monitorgamma_tv_enabled "0" //Turn off TV Mode for less off-set light
mat_powersavingsmode "0" //Disables power saving mode
mat_queue_mode "2" //The queue/thread mode the material system should use, setting this to 2 gave me an FPS boost
r_dynamic "1" //Gunfire Lightning. Spot Enemies Easier.
r_drawtracers_firstperson "1" //Remove first person tracers, does not impact gameplay, just makes it easier to spray
mat_monitorgamma "1.2" //Sets Brightness to highest, highly recommended
// 22. BHOPS
bind "mwheelup" "+jump" //For them bhops
bind "mwheeldown" "+jump" //For them bhops
// 22. CROUCH Jump
alias +DJUMP "+jump; +duck"
alias -DJUMP "-JUMP; -DUCK"
bind space "+DJUMP"
//Final part
host_writeconfig //Store current settings to config.cfg
echo Scripts Loaded (2/2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment