Skip to content

Instantly share code, notes, and snippets.

@RasmusRynell
Last active October 2, 2023 18:21
Show Gist options
  • Select an option

  • Save RasmusRynell/e08ca6385275e5b428bb6ae805a68b65 to your computer and use it in GitHub Desktop.

Select an option

Save RasmusRynell/e08ca6385275e5b428bb6ae805a68b65 to your computer and use it in GitHub Desktop.
clear //Clear console
echo Config Loading (1/2)
//--------------------------------------------------------------//
// Content
// 1. Main Settings
// 2. Bindings
// 3. Crosshair
// 4. Hud
// 5. Radar
// 6. Mouse
// 7. Viewmodel
// 8. Bob
// 9. Rates
// 10. Net
// 11. Video
// 12. Sound
// 13. Other
// 14. Scripts
//--------------------------------------------------------------//
echo Main Settings loaded
// 1. Main Settings
+cl_show_team_equipment //Shows teammates equipment
cl_righthand "0" //Left Handed
cl_color 1 //Sets color to purple
voice_enable "1" //Enables microphone
voice_mixer_volume "1" //Enables microphone volume
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_join_advertise "2" //Let friends join your community servers
//--------------------------------------------------------------//
echo Bindings loaded
// 2. Bindings
// CONTROLS
bind "MWHEELDOWN" "+jump" //Jump with MWDOWN
bind "space" "+jump"
bind w "+forward" //move forward
bind s "+back" //move back
bind a "+moveleft" //move left
bind d "+moveright" //move fight
bind r "+reload" //reload
bind t "+lookatweapon" //inspect
bind "\" "toggleconsole" //Console
bind 1 slot1 //primary
bind 2 slot2 //secondary
bind 3 slot3 //melee
bind 5 slot5 //bomb
bind 4 slot6 //HE grenade
bind f slot7 //flash
bind v slot8 //smoke
bind x slot9 //decoy
bind c slot10 //molotov/incendiary
bind q lastinv //quickswitch
bind n "r_cleardecals"
bind mouse5 "+voicerecord"
bind mouse4 "toggle cl_righthand"
bind h "toggle gameinstructor_enable"
unbind mwheelup
//--------------------------------------------------------------//
echo Crosshair loaded
// 3. Crosshair
crosshair "1"
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1.000000"
cl_crosshair_sniper_width "1"
cl_crosshairalpha "300"
cl_crosshaircolor "4"
cl_crosshaircolor_b "0"
cl_crosshaircolor_g "0"
cl_crosshaircolor_r "255"
cl_crosshairdot "0"
cl_crosshairgap "-1.500000"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "2.500000"
cl_crosshairstyle "4"
cl_crosshairthickness "0.500000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-4.5"
//--------------------------------------------------------------//
echo Hud loaded
// 4. Hud
hud_scaling "0.8"
hud_showtargetid "1"
cl_hud_bomb_under_radar "1"
cl_hud_color "7"
cl_hud_playercount_showcount "0"
cl_hud_healthammo_style "1"
cl_hud_background_alpha "0.5"
cl_showloadout "1"
safezonex "0.95"
safezoney "1"
cl_hud_playercount_pos "0"
cl_hud_healthammo_style "0" //Reverted hud style due to hidden burst mode
cl_show_clan_in_death_notice "1"
//--------------------------------------------------------------//
echo Radar loaded
// 5. Radar
cl_teammate_colors_show 2
cl_radar_scale "0.3"
cl_radar_always_centered "0"
cl_hud_radar_scale "1.15"
cl_radar_icon_scale_min "1"
cl_radar_rotate "1"
//--------------------------------------------------------------//
echo Mouse loaded
// 6. Mouse
sensitivity "0.8"
zoom_sensitivity_ratio_mouse "0.9"
m_rawinput "1"
m_mouseaccel2 "0"
m_mouseaccel1 "0"
m_customaccel "0"
m_mousespeed "0"
//--------------------------------------------------------------//
echo Viewmodel loaded
// 7. Viewmodel
viewmodel_fov "68"
viewmodel_offset_x "1.5"
viewmodel_offset_y "2.000000"
viewmodel_offset_z "-2"
viewmodel_recoil "0"
//--------------------------------------------------------------//
echo Bob loaded
// 8. Bob (Less movement when you move around with weapons)
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobcycle "0.98"
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
//--------------------------------------------------------------//
echo Rates loaded
// 9. Rates
rate "786432" //Your download rate to the server. Max rate: "786432"
cl_cmdrate "128" //Max number of command packets sent to server per second
cl_updaterate "128" //Number of packets per second you are requesting from the server
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)
cl_lagcompensation "1" //Lag compensation helps by eliminating combat latency from client side view
cl_predict "1" //Skip waiting for server feedback and simulate client side movement in real-time
cl_predictweapons "1" //Skip waiting for server feedback and perform client side prediction of weapon effects
//--------------------------------------------------------------//
echo Net loaded
// 10. Net (Netgraph)
//Show netgraph when checking scoreboard
net_graph "1"
net_graphheight "3000"
net_graphproportionalfont "1"
//--------------------------------------------------------------//
echo Video loaded
// 11. Video
fps_max "0" //Max frames per second, setting it to 0 causes long loading times
fps_max_menu "0" //Max frames per second in main-menu
mat_monitorgamma "1.6" //Sets Brightness to highest, highly recommended
mat_monitorgamma_tv_enabled "0" //Turn off TV Mode for less off-set light
mat_powersavingsmode "0" //Disables power saving mode
mat_queue_mode "-1" //The queue/thread mode the material system should use, setting this to 2 gave me an FPS boost
r_dynamic "0" //Affects dynamic lighting, turned off for more FPS
r_drawtracers_firstperson "1" //Remove first person tracers, does not impact gameplay, just makes it easier to spray
//--------------------------------------------------------------//
echo Sound loaded
// 12. Sound
volume "0.05"
voice_scale "0.5" //Turn down volume of other players to 40% (RECOMMENDED)
snd_hwcompat 0
snd_musicvolume_multiplier_inoverlay "0" //Music volume multiplier when Steam Overlay is active
snd_deathcamera_volume 0 // Music in deathcamera
snd_mapobjective_volume 0 // Music that starts when bomb is planted
snd_menumusic_volume 0 // Music in main menu
snd_roundend_volume 0 // Music when round ends
snd_roundstart_volume 0 // Music when round starts
snd_tensecondwarning_volume 0.10 // 10 Second bomb music timer (actually 9.7 seconds) (recommended on)
snd_mvp_volume 0.05
snd_mute_mvp_music_live_players 1
sv_cheats 1
snd_front_headphone_position 53.2 // Replace the “xx.x” with your screen resolution (e.g: 43.2 for 5:4 or 45.0 for 4.3 or 50.2 for 16:10 or 53.2 for 16:9)
snd_rear_headphone_position 90 // Small adjustments here can give you a better idea on the direction from which the sound comes from.
snd_headphone_pan_exponent 1.2 // Sounds over medium or long distances are louder without affecting close sound cues.
snd_headphone_pan_radial_weight 0.5 // Makes it easier to locate sounds due to increases or decreases in volume.
sv_cheats 0
//--------------------------------------------------------------//
echo Other loaded
// 13. Other
func_break_max_pieces 0 //Less clutter from breaking vents (especially on Mirage)
cl_use_opens_buy_menu 0 //Disables E from opening buy-menu, really useful
cl_autowepswitch 0 //Disable auto-weapon switch
mm_dedicated_search_maxping 25 //Maxping Search in Matchmaking
//--------------------------------------------------------------//
echo Scripts loaded
// 14. Scripts
echo
echo !
echo f(keys)
echo f8 - fix fps when lagging on cache for example (logaddress_add 1)
echo f9 - reload exec
echo f10 - clutch bind (mute all)
echo
echo Numpad keys
echo 7 - drop teammate
echo
echo Arrows(keys)
echo left - left handed
echo right - right handed
echo
echo Console
echo Load whatever gamemode you want with the "map" command. For example "map de_dust2; competitive"
echo !
echo
bind KP_HOME "buy ak47;buy m4a1_silencer;buy m4a4;slot1;drop;say_team I drop"
bind f9 "exec sumss"
bind leftarrow "cl_righthand 0"
bind rightarrow "cl_righthand 1"
bind uparrow "cl_crosshairalpha 255;cl_crosshaircolor 5;cl_crosshaircolor_b 255;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshairdot 0;cl_crosshairgap -10;cl_crosshairsize 1.6;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 0.6;cl_fixedcrosshairgap -10;cl_crosshair_outlinethickness 0.5;cl_crosshair_drawoutline 0;cl_crosshairstyle 5"
bind downarrow "cl_crosshairalpha 255;cl_crosshaircolor 4;cl_crosshaircolor_b 0;cl_crosshaircolor_r 255;cl_crosshaircolor_g 0;cl_crosshairdot 0;cl_crosshairgap -1.5;cl_crosshairsize 2.5;cl_crosshairstyle 4;cl_crosshairusealpha 1;cl_crosshairthickness 0.5;cl_fixedcrosshairgap -1.5;cl_crosshair_outlinethickness 1;cl_crosshair_drawoutline 1;cl_crosshairstyle 4"
alias "casual" "game_type 0; game_mode 0"
alias "competitive" "game_type 0; game_mode 1"
alias "wingman" "game_type 0; game_mode 2"
alias "armsrace" "game_type 1; game_mode 0"
alias "demolition" "game_type 1; game_mode 1"
alias "deathmatch" "game_type 1; game_mode 2"
alias "custom" "game_type 3; game_mode 0"
// Jump Throw Script
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
bind "alt" "+jumpthrow"
// Clutch bind
alias "clutch" "clutchon"
alias "clutchon" "voice_enable 0; gameinstructor_enable 1; cl_clearhinthistory; r_cleardecals; playvol buttons\blip2 0.5; alias clutch clutchoff;"
alias "clutchoff" "voice_enable 1; gameinstructor_enable 0; playvol buttons\blip1 0.5; alias clutch clutchon;"
bind f7 clutch
// Show map top left
con_enable 1
con_filter_enable 2
con_filter_text_out "game:mapgroupname"
con_filter_text "game:map"
// Useful shortcuts for popular commands in console
alias "d" "disconnect"
alias "q" "quit;exit"
alias "r" "retry"
alias "rs" "mp_restartgame 1"
// Show FPS with scoreboard in the top-left corner (less performance load than netgraph)
alias "+fps" "+score; cl_showfps 1"
alias "-fps" "-score; cl_showfps 1"
// Toggle netgraph
bind "TAB" "+net_on"
alias "+net_on" "net_graphheight 0; +fps; alias togglenet "togglenet_off""
alias "-net_on" "net_graphheight 2000; -fps; alias togglenet "togglenet_on""
alias +incvol "incrementvar volume 0 2 0.02;+speed";voice_scale 0.5"
alias -incvol "incrementvar volume 0 2 -0.02;-speed";voice_scale 0.5"
bind SHIFT +incvol
// Display damage (toggle bind)
alias displaydamage "displaydamage_on"
alias displaydamage_on "con_filter_text Damage Given To; con_filter_text_out Player:; con_filter_enable 2; developer 1; playvol buttons\blip1 0.5; alias displaydamage "displaydamage_off""
alias displaydamage_off "con_filter_enable 0; developer 0; playvol buttons\blip2 0.5; alias displaydamage "displaydamage_on""
bind "f5" "displaydamage"
// Fix fps
alias fps_fix "say_team 'logaddress_add 1' in console for fps fix ;logaddress_add 1"
bind f8 fps_fix
bind y +spray_menu
//--------------------------------------------------------------//
host_writeconfig //Write config
echo Config Loaded (2/2) //This just confirms that the config has ended successfully
echo Keep in mind that sensitivity is set up for "Windows 6/11 (middle)" and "800 dpi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment