Skip to content

Instantly share code, notes, and snippets.

@revunix
Last active October 11, 2023 18:56
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 revunix/45e797a88eed1e603de42cfa5a8ae75f to your computer and use it in GitHub Desktop.
Save revunix/45e797a88eed1e603de42cfa5a8ae75f to your computer and use it in GitHub Desktop.
cs2rev.cfg
// RevUnix autoexec.cfg (11.10.2023)
// Launch options
// -novid -console -refresh 165 -language english +exec cs2rev.cfg
// General
fps_max "400"
fps_max_ui "120"
fps_max_tools "120"
cl_allow_animated_avatars 0
cl_playerspray_auto_apply 1
con_enable 1
r_show_build_info 1
rate 786432
sensitivity "1"
zoom_sensitivity_ratio 1.2
mm_dedicated_search_maxping 25
cl_clanid 34620704
// aliases
alias on "+forward; +moveleft; +left; echo AFK-Script - [is now on]"
alias off "-forward; -moveleft; -left; echo AFK-Script - [is now off]"
alias dc "disconnect"
alias q "quit"
alias chat "toggle ignoremsg 0 1"
alias mute "toggle cl_mute_enemy_team 0 1"
// Follow Recoil on/off
alias toggleMouse1Mode "shootrOn";
alias shootrOn "bind mouse1 +shootr;alias toggleMouse1Mode attackOn";
alias attackOn "bind mouse1 +attack; alias toggleMouse1Mode shootrOn";
alias +shootr "+attack; cl_crosshair_recoil true; cl_crosshaircolor 1";
alias -shootr "-attack; cl_crosshair_recoil false; cl_crosshaircolor 0;";
bind "F8" "toggleMouse1Mode";
// Viewmodel
viewmodel_offset_x "2.5"
viewmodel_offset_y "1.5"
viewmodel_offset_z "-1.5"
viewmodel_fov "68"
// Tweaks
alias +crouchjump "+jump; +duck"
alias -crouchjump "-duck; -jump"
bind "space" "+crouchjump"
bind "mwheeldown" "+jump"
bind "mwheelup" "+jump"
// BuyScript
bind "leftarrow" "buy vest;"
bind "downarrow" "buy vesthelm;buy vest;"
bind "rightarrow" "buy defuser;"
bind "uparrow" "buy deagle;"
bind "]" "buy smokegrenade;"
bind "[" "buy flashbang;"
bind "P" "buy hegrenade;"
bind "\" "buy molotov;buy incgrenade;"
bind "DEL" "buy m4a1_silencer;buy ak47"
bind "PGDN" "buy awp;"
bind "pgup" "buy mp9;"
//bind "w" "+forward"
//bind "d" "+moveright"
//bind "a" "+moveleft"
//bind "s" "+back"
//bind "SHIFT" "+speed"
//bind "CTRL" "+crouch"
alias "_checkw" "-forward; alias checkw"
alias "+w" "+forward; alias checkw _checkw"
alias "-w" "checkw"
bind "w" "+w"
alias "_checks" "-back; alias checks"
alias "+s" "+back; alias checks _checks"
alias "-s" "checks"
bind "s" "+s"
alias "_checka" "-left; alias checka"
alias "+a" "+left; alias checka _checka"
alias "-a" "checka"
bind "a" "+a"
alias "_checkd" "-right; alias checkd"
alias "+d" "+right; alias checkd _checkd"
alias "-d" "checkd"
bind "d" "+d"
alias "_checkcrouch" "-duck; alias checkcrouch"
alias "+crouch" "+duck; alias checkcrouch _checkcrouch"
alias "-crouch" "checkcrouch"
bind "ctrl" "+crouch"
alias "_checkwalk" "-sprint; alias checkwalk"
alias "+walk" "+sprint; alias checkwalk _checkwalk"
alias "-walk" "checkwalk"
bind "shift" "+walk"
// HUD & Radar
hud_scaling "1"
cl_hud_color "0"
cl_radar_always_centered "false"
cl_radar_scale "0.35"
cl_radar_rotate "true"
cl_radar_icon_scale_min "0.6"
cl_radar_square_with_scoreboard "false"
alias chatbind "chatbind1"
alias chatbind1 "say "GH HF";alias chatbind chatbind2"
alias chatbind2 "say "Kebab $3";alias chatbind chatbind3"
alias chatbind3 "say "lowballer";alias chatbind chatbind4"
alias chatbind4 "say "From Zero to Hero XD";alias chatbind chatbind5"
alias chatbind5 "say "Cool story bro";alias chatbind chatbind1"
bind "o" chatbind
// __________
// | FINISH |
//
host_writeconfig
echo "Successfully loaded RevUnix's Config"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment