Skip to content

Commit 7f35432

Browse files
author
J Puglisi
committed
fun
1 parent 2332c18 commit 7f35432

2 files changed

Lines changed: 61 additions & 22 deletions

File tree

autoexec.cfg

Lines changed: 60 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,15 @@ cl_predictweapons "1"
4141
// ((vertical pixels of in-game resolution) * 2.667) / (desired inches moved to complete a 180 turn) = (Required DPI)
4242
// (((1200) * 2.667)) / 8) = 400 dpi.
4343

44-
sensitivity "1.05"
44+
45+
// *****************************************
46+
// We use the sensitivity command in many places, so it is better to have a macro for it
47+
// for consistent use.
48+
49+
alias _sensitivity "sensitivity 1.05"
50+
51+
_sensitivity
52+
4553
zoom_sensitivity_ratio_mouse "1.0"
4654
m_rawinput "1"
4755
m_pitch "0.022"
@@ -144,7 +152,7 @@ cl_hud_radar_scale "1.3"
144152
cl_draw_only_deathnotices "0"
145153
cl_righthand "1"
146154
cl_showloadout "0"
147-
cl_showpos "0"
155+
cl_showpos "1"
148156
cl_showfps "0"
149157
cl_show_clan_in_death_notice "1"
150158
cl_inv_showdividerline "0"
@@ -296,16 +304,13 @@ bind t "use weapon_molotov;use weapon_incgrenade"
296304
bind g "drop"
297305
bind b "buymenu;impulse 101" // impulse 101 Gives player full health, all weapons, and ammo. This is just set for servers with sv_cheats 1.
298306
bind h "bot_place" // places bot
299-
//bind n "+jumpthrow" // Throw a perfect nade while throwing.
300307
bind i "show_loadout_toggle"
301-
bind o "say .noclip"
302-
bind p "noclip"
303-
bind / "say .ready" // ready
308+
bind p "say .noclip;echo ;noclip"
304309
bind tab "+ng"
305310
bind shift "+speed;r_cleardecals" // r_cleardecals clears,bullet holes and blood decals. Helps clean environment.
306311
bind ctrl "+duck; r_cleardecals"
307312
bind CAPSLOCK "+speed"
308-
bind space "+jump"
313+
bind space "+longjump"
309314
bind enter "messagemode"
310315
bind \ "messagemode2"
311316
bind del "echo Executing autoexec; exec autoexec"
@@ -339,13 +344,15 @@ bind F10 "disconnect"
339344
bind SEMICOLON "+spray_menu"
340345
bind RSHIFT "hrup"
341346
bind j "getpos_exact"
342-
bind k "human_readable"
347+
bind k "human_readable;human_readable_ext"
348+
bind "'" "+moveup"
349+
bind "/" "+movedown"
343350

344351
// Aliases
345352

346353
// Gives human readable output of our bindings.
347-
alias human_readable "echo ******** KEY BINDINGS ****************;echo -------------------------------------------------------; bind t;bind o;bind p;bind [;bind ];bind -;bind =;bind 0;bind f1;bind f2;bind f3;bind f4;bind f5;bind n;bind h;bind del;bind ins;bind home;bind l;bind rshift;bind semicolon;bind mouse3;bind mouse4;bind mouse5;bind MWHEELDOWN;bind MWHEELUP;bind kp_enter;bind j;bind x;bind F10;echo -------------------------------------------------------"
348-
354+
alias human_readable "echo ******** KEY BINDINGS ****************;echo -------------------------------------------------------; bind t;bind o;bind p;bind [;bind ];bind -;bind =;bind f1;bind f2;bind f3;bind f4;bind f5;bind h;bind del;bind ins;bind home;bind l;bind rshift;bind semicolon;bind mouse3;bind mouse4;bind mouse5;bind MWHEELDOWN;bind MWHEELUP;bind kp_enter;bind j;bind x;bind F10;bind space;bind alt;bind n;echo -------------------------------------------------------"
355+
alias human_readable_ext "echo alt+0 will run VoiceToggle, which toggles voice_enable on and off.;echo hrup(by default bind is RSHIFT) toggles radar HUD scaling. This is different from cl_radar_scale. alias drop_weapon buy p250, you can change that for when dropping teammates;echo -------------------------------------------------------;"
349356

350357

351358
// Default 0-9 binds, kept for later use.
@@ -418,14 +425,24 @@ alias "VoiceToggle" "VoiceOn"
418425
alias "+togglevoice" "voice_enable 1; playvol buttons\blip2 0.5;echo voice_enable set to 1"
419426
alias "-togglevoice" "voice_enable 0; playvol buttons\blip1 0.5;echo voice_enable set to 0"
420427

421-
alias alt0 "bind 0 VoiceToggle"
422-
alias +altbinds "alt0"
423-
alias -altbinds "default0"
428+
// Unconvential naming of drop_weapon so its easy to remember and change in conosole.
429+
430+
bind n "echo alias drop_weapon buy p250;alias drop_weapon buy p250"
431+
alias drop_weapon "buy p250"
432+
alias "PistolDrop" "use weapon_knife;drop_weapon;drop;say_team alias drop_weapon buy [param]:use weapon_knife:drop_weapon:drop"
433+
434+
alias "+alt0" "bind 0 VoiceToggle"
435+
alias "-alt0" "default0"
436+
alias "+alt9" "bind 9 PistolDrop"
437+
alias "-alt9" "default9"
438+
alias "+altbinds" "+alt0;+alt9"
439+
alias "-altbinds" "-alt0;-alt9"
424440

425-
alias +strafe_sens "sensitivity 3.1;+strafe"
426-
alias -strafe_sens "sensitivity 1.05;-strafe"
441+
alias "StrafeOn" "sensitivity 6; +strafe; alias StrafeToggle StrafeOff"
442+
alias "StrafeOff" "_sensitivity; -strafe; alias StrafeToggle StrafeOn"
443+
alias "StrafeToggle" "StrafeOn"
427444

428-
bind ALT "+strafe_sens; +altbinds"
445+
bind ALT "+altbinds;StrafeToggle"
429446

430447
alias "+leftknife" "cl_righthand 0; use weapon_knife"
431448
alias "-leftknife" "cl_righthand 1; use weapon_knife"
@@ -445,10 +462,10 @@ alias "+reload_stop" "use weapon_knife"
445462
alias "-reload_stop" "lastinv"
446463

447464
// Practice config for your local server. Press F2 to enable it. It also toggles noclip.
448-
alias "practice" "sv_cheats 1;impulse 101;sv_showimpacts 0;sv_showimpacts_penetration 0;sv_showbullethits 0;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_dash;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 7;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_buy_anywhere 1;mp_teammates_are_enemies 1;bot_stop 1;mp_warmup_end" // practice mode
465+
alias "practice" "sv_cheats 1;impulse 101;sv_showimpacts 0;sv_showimpacts_penetration 0;sv_showbullethits 0;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_dash 1;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 7;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_buy_anywhere 1;mp_teammates_are_enemies 1;bot_stop 1;mp_warmup_end;mp_weapons_allow_typecount 5" // practice mode
449466

450467
// Good warmup config for local server. Press INS key to enable it.
451-
alias "warmup" "sv_cheats 1;god;mp_warmup_start;mp_warmup_pausetimer 1;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101" // bot warmup mode
468+
alias "warmup" "sv_cheats 1;god;mp_warmup_start;mp_warmup_pausetimer 1;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101;mp_weapons_allow_typecount 5" // bot warmup mode
452469

453470
// surfing aliases, I don't use these but they may be helpful to others.
454471
alias "savepos" "writeip; con_logfile cfg/banned_ip.cfg; getpos_exact; con_logfile ."
@@ -457,12 +474,34 @@ alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
457474
458475
459476
// Practice config for practice of nades. Press F1 to enable it. It also toggles noclip.
460-
alias "nadepractice" "sv_cheats 1;sv_infinite_ammo 1;ammo_grenade_limit_total 5;mp_warmup_end;mp_freezetime 0;mp_roundtime 60;mp_roundtime_defuse 60;sammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_dash;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 7;sv_showimpacts 1;mp_limitteams 0;mp_autoteambalance 0;mp_maxmoney 60000;mp_startmoney 60000;mp_buytime 9999;mp_buy_anywhere 1;"
461-
477+
alias "nadepractice" "sv_cheats 1;bot_zombie 1;sv_infinite_ammo 1;ammo_grenade_limit_total 6;mp_warmup_end;mp_freezetime 0;mp_roundtime 60;mp_roundtime_defuse 60;sv_grenade_trajectory 1;sv_grenade_trajectory_dash 1;sv_grenade_trajectory_thickness 0.5;sv_grenade_trajectory_time 10;sv_showimpacts 1;mp_limitteams 0;mp_autoteambalance 0;mp_maxmoney 60000;mp_startmoney 60000;mp_buytime 9999;mp_buy_anywhere 1;mp_weapons_allow_typecount 5;"
462478
463479
// nice and simple deathmatch
464480
alias "local_dm" "bot_kick;sv_cheats 1;mp_warmup_end;mp_randomspawn 1;mp_freezetime 0;mp_autoteambalance 0;mp_limitteams 0;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_dont_shoot 1;god;bot_difficulty 3;mp_respawn_on_death_ct 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;mp_buytime 9999;mp_maxrounds 100;mp_roundtime 45;sv_infinite_ammo 1;mp_teammates_are_enemies 1;mp_restartgame 1; say > LOCAL DEATMATCH NOW LIVE <"
465481
482+
483+
alias +kduck "+duck; -klook"
484+
alias -kduck "-duck"
485+
486+
// Decided I wanted duck+jump on spacebar since I mostly use wheeldown on mouse.
487+
alias +duckjump "+duck; +jump"
488+
alias -duckjump "-duck; -jump"
489+
490+
// Longer jump, with cast_ray which draws a line on the server(if sv_cheats enabled)
491+
alias +jumpthrow2 "+longjump;-attack;-attack2;cast_ray"
492+
alias -jumpthrow2 "-longjump"
493+
494+
// Cancels forward momentum which improves your strafe
495+
alias +longjump "+duck; +jump; +klook; -forward"
496+
alias -longjump "-duck; -jump; -klook; -forward"
497+
498+
// Just set dm_server = whatever in console before running 'connect_dm'.
499+
// eg. alias dm_server="connect ffa.fragshack.com;connect_dm"
500+
alias "dm_server" "connect dm.jasonr.stream"
501+
alias "connect_dm" "cl_draw_only_deathnotices 1; volume 0.005; voice_enable 0; dm_server"
502+
503+
alias bbox "developer 1; ent_absbox player"
504+
466505
// Crazy yaw alias.
467506
// 0.22(default m_yaw) * sensitivity = m_yaw
468507
// toggle sensitivity to (current sensitivity / 4) = 0.0421052631578947
@@ -485,7 +524,7 @@ echo "----- dek's autoexec cfg loaded -----"
485524
exec buybinds.cfg
486525
exec crosshairs.cfg
487526
echo ""
488-
echo "Press key 'K' in game to see a list of binds."
527+
echo "Press key 'K' in game to see a list of binds with details."
489528
echo ""
490529
echo "https://gitdek.github.io/CSGOConfigs/ for updates"
491530
echo ""

buybinds.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ bind a "+aa"
7474
bind s "+sa"
7575
bind d "+da"
7676
bind z "za"
77-
bind x "+jumpthrow"
77+
bind x "+jumpthrow2"
7878
bind c "ca"
7979
bind f "+fa"
8080

0 commit comments

Comments
 (0)