Skip to content

Instantly share code, notes, and snippets.

@kiwec

kiwec/autoexec.cfg

Last active Dec 7, 2020
Embed
What would you like to do?
// Aliases
alias +bouton4 "+use;gameinstructor_enable 1"
alias -bouton4 "-use;r_cleardecals; gameinstructor_enable 0"
alias micon "+voicerecord; alias togglemic micoff"
alias micoff "-voicerecord; alias togglemic micon"
alias togglemic "micon"
alias "+scorenet" "+showscores; net_graphheight 0"
alias "-scorenet" "-showscores; net_graphheight 9999"
alias +kforward "+forward;cl_crosshaircolor_r 0;cl_crosshaircolor_g 250; cl_crosshaircolor_b 0"
alias -kforward "-forward;cl_crosshaircolor_r 0;cl_crosshaircolor_g 250; cl_crosshaircolor_b 0"
alias +kback "+back;cl_crosshaircolor_b 0;cl_crosshaircolor_g 0; cl_crosshaircolor_r 250"
alias -kback "-back;cl_crosshaircolor_b 0;cl_crosshaircolor_g 0; cl_crosshaircolor_r 250"
alias +kleft "+moveleft;cl_crosshaircolor_b 250;cl_crosshaircolor_g 0; cl_crosshaircolor_r 250"
alias -kleft "-moveleft;cl_crosshaircolor_b 250;cl_crosshaircolor_g 0; cl_crosshaircolor_r 250"
alias +kright "+moveright;cl_crosshaircolor_b 250;cl_crosshaircolor_g 250; cl_crosshaircolor_r 0"
alias -kright "-moveright;cl_crosshaircolor_b 250;cl_crosshaircolor_g 250; cl_crosshaircolor_r 0"
alias +recharger "+reload;+lookatweapon"
alias -recharger "-reload;-lookatweapon"
alias +knife "slot3; +lookatweapon"
alias -knife "-lookatweapon"
alias +zeus "slot3;slot11;+lookatweapon;bind f +knife; bind mouse1 +attack"
alias -zeus "-lookatweapon"
// Auto ping
alias +endshoot "+attack"
alias -endshoot "-attack; bind mouse1 +shoot"
alias +shoot "+attack; player_ping; bind mouse1 +endshoot"
alias -shoot "-attack"
bind mouse1 +shoot
// Movement
bind w +kforward
bind s +kback
bind a +kleft
bind d +kright
bind ctrl +duck
bind shift +speed
bind space +jump
bind mwheelup +jump
bind mwheeldown +jump
// Weapons
bind g drop
bind q "slot1; bind f +zeus; bind mouse1 +shoot"
bind e "slot2; bind f +zeus; bind mouse1 +shoot"
bind f "+zeus"
bind v "slot4; bind f +zeus; bind mouse1 +attack"
bind c "slot5; bind f +zeus; bind mouse1 +attack"
bind r +recharger
// Util
bind DEL toggleconsole
bind mouse4 +bouton4
bind F1 togglemic
bind i +scorenet
bind m teammenu
bind n buymenu
bind c +voicerecord
// Troll
bind leftarrow +left
bind rightarrow +right
bind downarrow "toggle m_yaw 0.022 1000"
// HUD
cl_showpos 1
cl_showfps 1
safezonex 0.85
safezoney 1
// Game
voice_enable 1
voice_loopback 1
fps_max 500
sensitivity 1.25
// Crosshair
cl_crosshairalpha "255"
cl_crosshairstyle "4"
cl_crosshaircolor "5"
cl_crosshaircolor_b "0"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "0"
cl_crosshairdot "1"
cl_crosshairgap "0"
cl_crosshairsize "2"
cl_crosshairusealpha "1"
cl_crosshairthickness "1"
cl_fixedcrosshairgap "0"
cl_crosshair_outlinethickness "0"
cl_crosshair_drawoutline "0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment