Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Last active March 9, 2019 03:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexclifford/5406aa240d4bedee58126e43027dc139 to your computer and use it in GitHub Desktop.
Save alexclifford/5406aa240d4bedee58126e43027dc139 to your computer and use it in GitHub Desktop.
// Launch Options
// -high -novid -dxlevel 81 -lv -nojoy -noaafonts -threads 4 +exec autoexec.cfg
con_enable "1"
cl_autowepswitch "0"
cl_use_opens_buy_menu "0"
closeonbuy "1"
// Mouse
sensitivity "0.9"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
// Audio
volume "0.5"
voice_enable "1"
voice_scale "0.5" // receive volume
voice_mixer_volume "1" // mic volume
snd_mixahead "0.05" // sound delay
snd_pitchquality "1"
snd_ducking_off "1"
snd_front_headphone_position "90"
snd_rear_headphone_position "90"
snd_headphone_pan_exponent "1.2"
snd_headphone_pan_radial_weight "1"
snd_mute_losefocus "1" // mute game when alt-tabbed
dsp_enhance_stereo "0"
snd_menumusic_volume "0"
snd_deathcamera_volume "0"
snd_mvp_volume "0"
snd_dzmusic_volume "0"
cl_mute_all_but_friends_and_party "0"
snd_async_flush
gameinstructor_enable "0"
// HUD
hud_scaling "0.80"
hud_showtargetid "1"
cl_hud_background_alpha "0.100000"
cl_hud_bomb_under_radar "0"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "0.950000"
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font
// Radar
cl_radar_always_centered "0"
cl_radar_rotate "1"
cl_radar_scale "0.4"
cl_radar_icon_scale_min "0.4"
cl_radar_square_with_scoreboard "0"
// Reposition gun model to mimic source
viewmodel_presetpos "0"
viewmodel_fov "68"
viewmodel_offset_x "2.500000"
viewmodel_offset_y "0"
viewmodel_offset_z "-1.500000"
// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.5"
// Reduce gun and scope shifting/bobbing when moving
cl_bobcycle "2" // 0.98 is enforced by ESEA/ESL
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
// Crosshair
cl_crosshairalpha "255"
cl_crosshaircolor "1"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairsize "2.5"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "0"
cl_crosshair_drawoutline "0"
// Binds
unbind y
unbind u
unbind k
unbind alt
unbind f1
unbind f3
unbind f4
bind t "+voicerecord"
bind q "lastinv"
bind w "+forward"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind z "radio1"
bind x "radio2"
bind c "radio3"
bind e "+use"
bind r "+reload"
bind v "use weapon_molotov;use weapon_incgrenade;showmouse" // molotov + mouse on scoreboard
bind f "+lookatweapon"
bind g "drop"
bind b "buymenu;impulse 101" // $$$
bind n "bot_place" // places bot
bind h "+jumpthrow" // it's back!
bind . "say .budibudibudibudi;say .ready;say !ready" // custom ready for pugs
bind / "say ;say .dbserver; say .players" // bitcoins
bind tab "+ng"
bind shift "+speed; r_cleardecals"
bind ctrl "+duck; r_cleardecals"
bind space "+jump"
bind enter "messagemode"
bind \ "messagemode2"
bind home "spectate"
bind del "exec autoexec"
bind ins "warmup" // bot warmup
bind f2 "rebuy"
bind 1 "slot1"
bind 2 "slot2"
bind 3 "slot3"
bind 4 "slot4"
bind 5 "slot5"
bind 6 "say ;noclip;say .noclip;practice" // noclip + practice mode
bind 0 "toggle voice_enable"
bind - "toggle voice_scale 1 0" // toggle voice volume
bind = "toggle volume 0.6 0.1 0" // toggle game volume
bind [ "incrementvar cl_radar_scale 0 1 -.05" // decrease radar scale
bind ] "incrementvar cl_radar_scale 0 1 +.05" // increase radar scale
bind MWHEELDOWN "invnext"
bind MWHEELUP "invprev"
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind q "showmouse"
// Buy binds in separate cfg
exec buybinds.cfg
// Aliases
alias "showmouse" // for mouse on scoreboard
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-showscores; net_graph 0"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
host_writeconfig // write settings to config.cfg
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment