r/CounterStrikeBinds • • Jan 13 '19

Ghetto-ass bomb timer

272 Upvotes

Now, this seems really obvious, but through Googling I haven't found anything similar so I made this. It's offset by one second to account for the time it takes to press the button. Sorry if you don't like the sounds or time intervals, it's just really annoying to sit through and test this.

alias "25s" "sndplaydelay 14 ui/beep07"
alias "20s" "sndplaydelay 19 ui/beep07"
alias "15s" "sndplaydelay 24 buttons/blip2"
alias "10s" "sndplaydelay 29 buttons/blip2"
alias "5s" "sndplaydelay 34 ui/beep22"
alias "bombtimer" "25s;20s;15s;10s;5s;"
bind "k" "bombtimer"

EDIT: I tried having it count every second after 10 but that didn't work for whatever reason, it just skipped some of the aliases randomly, dunno if it's fixable.


r/CounterStrikeBinds • • May 28 '20

The most Troll Worthy Crosshair ever....

181 Upvotes

////////////////////////////////////////////// Seizure Warning \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

.................. Seriously... Do not watch the video or use this crosshair if you have Epilepsy

Step 1. Save this into your configs as ( Stupid_Crosshair.cfg )

cl_crosshair_drawoutline "0"

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_friendly_warning "0"

cl_crosshair_outlinethickness "0.000000"

cl_crosshair_sniper_show_normal_inaccuracy "0"

cl_crosshair_sniper_width "1"

cl_crosshair_t "0"

cl_crosshairalpha "255"

cl_crosshaircolor "5"

cl_crosshaircolor_b "0.000000"

cl_crosshaircolor_g "0.000000"

cl_crosshaircolor_r "0"

cl_crosshairdot "0"

cl_crosshairgap "-440"

cl_crosshairgap_useweaponvalue "0"

cl_crosshairsize "440"

cl_crosshairstyle "3"

cl_crosshairthickness "500"

cl_crosshairusealpha "1"

cl_fixedcrosshairgap "-2"

Go to console in game and bind it with...

bind 8 "exec Stupid_Crosshair.cfg"

(can use whatever key you want )

Next... Copy Paste these strings one at a time in your console.

bind "w" "+forward; toggle cl_crosshaircolor 1 2 3 4 5

"bind "s" "+back; toggle cl_crosshaircolor 1 2 3 4 5

"bind "a" "+moveleft; toggle cl_crosshaircolor 1 2 3 4 5

"bind "d" "+moveright; toggle cl_crosshaircolor 1 2 3 4 5

"bind "CTRL" "+duck; toggle cl_crosshaircolor 1 2 3 4 5

"bind "SPACE" "+jump; toggle cl_crosshaircolor 1 2 3 4 5

"bind "MOUSE1" "+attack; toggle cl_crosshaircolor 1 2 3 4 5"

Now.

Type in console,

Host_writeconfig Troll

and press enter.

Now... When you wanna troll people in Casual, you can

exec Troll.cfg

to press the 8 Key to activate the most troll Crosshair of all time...

You might want to have your original Crosshair or config bound to another key so you can swap between them.

Ps, if you have a built in Crosshair on your monitor, it will help to use that with this crosshair.

As Built in Crosshairs cant be seen by spectating players.

Sometimes when I get kills in Casual with this, kids will think I'm cheating and it's totally hilarious.

For added effect, you can change the Transparency in the Crosshair Menu as well.

Anyways, I attached a video of what it looks like.

Enjoy!

////////////////////////////////////////////// Seizure Warning \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

................. Again, Do not watch the video or use this crosshair if you have Epilepsy.


r/CounterStrikeBinds • • Jan 18 '21

how could kenny throw the bomb so fast?

150 Upvotes

r/CounterStrikeBinds • • Jun 01 '20

Custom key caps with binds

129 Upvotes

r/CounterStrikeBinds • • Mar 31 '23

Unsolved You will not walk and clear decals at the same time. And u will like it!

Post image
125 Upvotes

r/CounterStrikeBinds • • Mar 07 '20

Lineup Finder - Here's a script I made to make it easier to find smokes. Let me know what you think!

Thumbnail
youtube.com
100 Upvotes

r/CounterStrikeBinds • • Apr 15 '21

CSGO Config and Console Cheat Sheet (VAC safe)

97 Upvotes

This so called "Cheat Sheet" should help you when creating your own binds, toggles etc.
It holds all relevant information in one place and comes with examples and descriptions, showing you what can or can't be done when creating your own custom binds for CSGO.

Preview/Download: CSGO_Config_and_Console_Cheat_Sheet.pdf

Edit: Changed link to new version, this time the link is final.
Updated to v1.1 taking the suggestion from u/tuthc into account.
Updated to v1.2 which now contains a link to an "empty" autoexec.cfg


r/CounterStrikeBinds • • Nov 10 '20

Finally, it's here - the calculator

87 Upvotes

How to use it? It couldn't be less simple. First, convert your numbers into binary. Then, paste each digit separately into your console, entering "+" to add (and "*" to multiply) the next number and "=" to get the sum.

Example: We want to find 23 * 58 + 762

  1. convert into binary: 23 -> 1011, 58 -> 111010, 762 -> 1011111010

  2. input into your console (each "." represents pressing enter): 1.0.1.1.*.1.1.1.0.1.0.+.1.0.1.1.1.1.1.0.1.0.=.

  3. profit

Just put this into one of your .cfg files (for example autoexec.cfg) and ascend your gameplay to another level:

// Calculator \\
alias "1_inp_0_ali" "start_0"
alias "2_inp_0_ali" "alias 1 3_inp_1_ali; alias 0 3_inp_0_ali; 2_dig_num"
alias "3_inp_0_ali" "alias 1 4_inp_1_ali; alias 0 4_inp_0_ali; 3_dig_num"
alias "4_inp_0_ali" "alias 1 5_inp_1_ali; alias 0 5_inp_0_ali; 4_dig_num"
alias "5_inp_0_ali" "alias 1 6_inp_1_ali; alias 0 6_inp_0_ali; 5_dig_num"
alias "6_inp_0_ali" "alias 1 7_inp_1_ali; alias 0 7_inp_0_ali; 6_dig_num"
alias "7_inp_0_ali" "alias 1 8_inp_1_ali; alias 0 8_inp_0_ali; 7_dig_num"
alias "8_inp_0_ali" "alias 1 9_inp_1_ali; alias 0 9_inp_0_ali; 8_dig_num"
alias "9_inp_0_ali" "alias 1 10_inp_1_ali; alias 0 10_inp_0_ali; 9_dig_num"
alias "10_inp_0_ali" "alias 1 error_inptoolarge; alias 0 error_inptoolarge; 10_dig_num"
alias "1_inp_1_ali" "operator_res; alias 1_inp 1_inp_1; alias 1 2_inp_1_ali; alias 0 2_inp_0_ali; 1_dig_num"
alias "2_inp_1_ali" "alias 2_inp 2_inp_1; alias 1 3_inp_1_ali; alias 0 3_inp_0_ali; 2_dig_num"
alias "3_inp_1_ali" "alias 3_inp 3_inp_1; alias 1 4_inp_1_ali; alias 0 4_inp_0_ali; 3_dig_num"
alias "4_inp_1_ali" "alias 4_inp 4_inp_1; alias 1 5_inp_1_ali; alias 0 5_inp_0_ali; 4_dig_num"
alias "5_inp_1_ali" "alias 5_inp 5_inp_1; alias 1 6_inp_1_ali; alias 0 6_inp_0_ali; 5_dig_num"
alias "6_inp_1_ali" "alias 6_inp 6_inp_1; alias 1 7_inp_1_ali; alias 0 7_inp_0_ali; 6_dig_num"
alias "7_inp_1_ali" "alias 7_inp 7_inp_1; alias 1 8_inp_1_ali; alias 0 8_inp_0_ali; 7_dig_num"
alias "8_inp_1_ali" "alias 8_inp 8_inp_1; alias 1 9_inp_1_ali; alias 0 9_inp_0_ali; 8_dig_num"
alias "9_inp_1_ali" "alias 9_inp 9_inp_1; alias 1 10_inp_1_ali; alias 0 10_inp_0_ali; 9_dig_num"
alias "10_inp_1_ali" "alias 10_inp 10_inp_1; alias 1 error_inptoolarge; alias 0 error_inptoolarge; 10_dig_num"
alias "1_dig_num" "alias 1_inp_1 1_prop"
alias "2_dig_num" "alias 1_inp_1 2_prop; alias 2_inp_1 1_prop"
alias "3_dig_num" "alias 1_inp_1 3_prop; alias 2_inp_1 2_prop; alias 3_inp_1 1_prop"
alias "4_dig_num" "alias 1_inp_1 4_prop; alias 2_inp_1 3_prop; alias 3_inp_1 2_prop; alias 4_inp_1 1_prop"
alias "5_dig_num" "alias 1_inp_1 5_prop; alias 2_inp_1 4_prop; alias 3_inp_1 3_prop; alias 4_inp_1 2_prop; alias 5_inp_1 1_prop"
alias "6_dig_num" "alias 1_inp_1 6_prop; alias 2_inp_1 5_prop; alias 3_inp_1 4_prop; alias 4_inp_1 3_prop; alias 5_inp_1 2_prop; alias 6_inp_1 1_prop"
alias "7_dig_num" "alias 1_inp_1 7_prop; alias 2_inp_1 6_prop; alias 3_inp_1 5_prop; alias 4_inp_1 4_prop; alias 5_inp_1 3_prop; alias 6_inp_1 2_prop; alias 7_inp_1 1_prop"
alias "8_dig_num" "alias 1_inp_1 8_prop; alias 2_inp_1 7_prop; alias 3_inp_1 6_prop; alias 4_inp_1 5_prop; alias 5_inp_1 4_prop; alias 6_inp_1 3_prop; alias 7_inp_1 2_prop; alias 8_inp_1 1_prop"
alias "9_dig_num" "alias 1_inp_1 9_prop; alias 2_inp_1 8_prop; alias 3_inp_1 7_prop; alias 4_inp_1 6_prop; alias 5_inp_1 5_prop; alias 6_inp_1 4_prop; alias 7_inp_1 3_prop; alias 8_inp_1 2_prop; alias 9_inp_1 1_prop"
alias "10_dig_num" "alias 1_inp_1 10_prop; alias 2_inp_1 9_prop; alias 3_inp_1 8_prop; alias 4_inp_1 7_prop; alias 5_inp_1 6_prop; alias 6_inp_1 5_prop; alias 7_inp_1 4_prop; alias 8_inp_1 3_prop; alias 9_inp_1 2_prop; alias 10_inp_1 1_prop"
alias "inp_res" "alias 1 1_inp_1_ali; alias 0 1_inp_0_ali; alias 1_inp none; alias 2_inp none; alias 3_inp none; alias 4_inp none; alias 5_inp none; alias 6_inp none; alias 7_inp none; alias 8_inp none; alias 9_inp none; alias 10_inp none"
alias "1_dig_0" "alias 1_dig 1_dig_1; alias p_1_dig echo 1; alias mult_fold_1 mult_fold_1_ali"
alias "1_dig_1" "alias 1_dig 1_dig_0; 2_dig; alias p_1_dig echo 0; alias mult_fold_1 none"
alias "2_dig_0" "alias 2_dig 2_dig_1; alias p_2_dig echo 1; alias mult_fold_2 mult_fold_2_ali"
alias "2_dig_1" "alias 2_dig 2_dig_0; 3_dig; alias p_2_dig echo 0; alias mult_fold_2 none"
alias "3_dig_0" "alias 3_dig 3_dig_1; alias p_3_dig echo 1; alias mult_fold_3 mult_fold_3_ali"
alias "3_dig_1" "alias 3_dig 3_dig_0; 4_dig; alias p_3_dig echo 0; alias mult_fold_3 none"
alias "4_dig_0" "alias 4_dig 4_dig_1; alias p_4_dig echo 1; alias mult_fold_4 mult_fold_4_ali"
alias "4_dig_1" "alias 4_dig 4_dig_0; 5_dig; alias p_4_dig echo 0; alias mult_fold_4 none"
alias "5_dig_0" "alias 5_dig 5_dig_1; alias p_5_dig echo 1; alias mult_fold_5 mult_fold_5_ali"
alias "5_dig_1" "alias 5_dig 5_dig_0; 6_dig; alias p_5_dig echo 0; alias mult_fold_5 none"
alias "6_dig_0" "alias 6_dig 6_dig_1; alias p_6_dig echo 1; alias mult_fold_6 mult_fold_6_ali"
alias "6_dig_1" "alias 6_dig 6_dig_0; 7_dig; alias p_6_dig echo 0; alias mult_fold_6 none"
alias "7_dig_0" "alias 7_dig 7_dig_1; alias p_7_dig echo 1; alias mult_fold_7 mult_fold_7_ali"
alias "7_dig_1" "alias 7_dig 7_dig_0; 8_dig; alias p_7_dig echo 0; alias mult_fold_7 none"
alias "8_dig_0" "alias 8_dig 8_dig_1; alias p_8_dig echo 1; alias mult_fold_8 mult_fold_8_ali"
alias "8_dig_1" "alias 8_dig 8_dig_0; 9_dig; alias p_8_dig echo 0; alias mult_fold_8 none"
alias "9_dig_0" "alias 9_dig 9_dig_1; alias p_9_dig echo 1; alias mult_fold_9 mult_fold_9_ali"
alias "9_dig_1" "alias 9_dig 9_dig_0; 10_dig; alias p_9_dig echo 0; alias mult_fold_9 none"
alias "10_dig_0" "alias 10_dig 10_dig_1; alias p_10_dig echo 1; alias mult_fold_10 mult_fold_10_ali"
alias "10_dig_1" "alias 10_dig 10_dig_0; 11_dig; alias p_10_dig echo 0; alias mult_fold_10 none"
alias "11_dig_0" "alias 11_dig 11_dig_1; alias p_11_dig echo 1"
alias "11_dig_1" "alias 11_dig 11_dig_0; alias p_11_dig echo 0; error_outputtoolarge"
alias "mult_fold_1_ali" "alias mult_dig_1 1_dig"
alias "mult_fold_2_ali" "alias mult_dig_2 2_dig"
alias "mult_fold_3_ali" "alias mult_dig_3 3_dig"
alias "mult_fold_4_ali" "alias mult_dig_4 4_dig"
alias "mult_fold_5_ali" "alias mult_dig_5 5_dig"
alias "mult_fold_6_ali" "alias mult_dig_6 6_dig"
alias "mult_fold_7_ali" "alias mult_dig_7 7_dig"
alias "mult_fold_8_ali" "alias mult_dig_8 8_dig"
alias "mult_fold_9_ali" "alias mult_dig_9 9_dig"
alias "mult_fold_10_ali" "alias mult_dig_10 10_dig"
alias "mult_1" "mult_1_ali"
alias "mult_1_ali" "alias mult_1 add_all_mult"
alias "add_all_mult" "mult_dig_1; mult_dig_2; mult_dig_3; mult_dig_4; mult_dig_5; mult_dig_6; mult_dig_7; mult_dig_8; mult_dig_9; mult_dig_10"
alias "mult_2" "mult_1; mult_1"
alias "mult_3" "mult_2; mult_2"
alias "mult_4" "mult_3; mult_3"
alias "mult_5" "mult_4; mult_4"
alias "mult_6" "mult_5; mult_5"
alias "mult_7" "mult_6; mult_6"
alias "mult_8" "mult_7; mult_7"
alias "mult_9" "mult_8; mult_8"
alias "mult_10" "mult_9; mult_9"
alias "mult_save" "mult_fold_1; mult_fold_2; mult_fold_3; mult_fold_4; mult_fold_5; mult_fold_6; mult_fold_7; mult_fold_8; mult_fold_9; mult_fold_10"
alias "mult_dig_res" "alias mult_dig_1 none; alias mult_dig_2 none; alias mult_dig_3 none; alias mult_dig_4 none; alias mult_dig_5 none; alias mult_dig_6 none; alias mult_dig_7 none; alias mult_dig_8 none; alias mult_dig_9 none; alias mult_dig_10 none"
alias "mult_fold_res" "alias mult_fold_1 none; alias mult_fold_2 none; alias mult_fold_3 none; alias mult_fold_4 none; alias mult_fold_5 none; alias mult_fold_6 none; alias mult_fold_7 none; alias mult_fold_8 none; alias mult_fold_9 none; alias mult_fold_10 none"
alias "dig_count_res" "alias 1_dig 1_dig_0; alias 2_dig 2_dig_0; alias 3_dig 3_dig_0; alias 4_dig 4_dig_0; alias 5_dig 5_dig_0; alias 6_dig 6_dig_0; alias 7_dig 7_dig_0; alias 8_dig 8_dig_0; alias 9_dig 9_dig_0; alias 10_dig 10_dig_0; alias 11_dig 11_dig_0"
alias "print_res" "alias p_1_dig echo 0; alias p_2_dig echo 0; alias p_3_dig echo 0; alias p_4_dig echo 0; alias p_5_dig echo 0; alias p_6_dig echo 0; alias p_7_dig echo 0; alias p_8_dig echo 0; alias p_9_dig echo 0; alias p_10_dig echo 0; alias p_11_dig echo 0"
alias "num_system_res" "dig_count_res; print_res; mult_fold_res; mult_dig_res"
alias "+" "plus_ali"
alias "*" "mult_ali"
alias "plus_ali" "mult_dig_res; mult_save; inp_shove; inp_res; add_mode"
alias "mult_ali" "mult_dig_res; mult_save; inp_shove; inp_res; mult_mode"
alias "add_mode" "alias start_0 none; alias 1_prop 1_dig; alias 2_prop 2_dig; alias 3_prop 3_dig; alias 4_prop 4_dig; alias 5_prop 5_dig; alias 6_prop 6_dig; alias 7_prop 7_dig; alias 8_prop 8_dig; alias 9_prop 9_dig; alias 10_prop 10_dig"
alias "mult_mode" "alias start_0 start_0_mult; alias 1_prop mult_1; alias 2_prop mult_2; alias 3_prop mult_3; alias 4_prop mult_4; alias 5_prop mult_5; alias 6_prop mult_6; alias 7_prop mult_7; alias 8_prop mult_8; alias 9_prop mult_9; alias 10_prop mult_10"
alias "inp_shove" "alias mult_1 mult_1_ali; 1_inp; 2_inp; 3_inp; 4_inp; 5_inp; 6_inp; 7_inp; 8_inp; 9_inp; 10_inp"
alias "start_0_mult" "alias * mult_0_res; alias + add_0_res; alias = equ_0_res"
alias "add_0_res" "operator_res; calculator_res"
alias "mult_0_res" "operator_res; calculator_res; mult_mode"
alias "equ_0_res" "operator_res; calculator_res; equ_ali"
alias "operator_res" "alias * mult_ali; alias + plus_ali; alias = equ_ali"
alias "=" "equ_ali"
alias "equ_ali" "mult_dig_res; mult_save; inp_shove; print; calculator_res"
alias "print" "p_11_dig; p_10_dig; p_9_dig; p_8_dig; p_7_dig; p_6_dig; p_5_dig; p_4_dig; p_3_dig; p_2_dig; p_1_dig"
alias "calculator_res" "inp_res; num_system_res; add_mode; alias error_outputtoolarge error_outputtoolarge_ali"
alias "none" ""
alias "error_inptoolarge" "echo ERROR: This input number is too large! Maximum input value: 1023 (up to 10 digits in binary). You can keep going, but only the last 11 didits of the solution will be printed."
alias "error_decimal" "echo ERROR: This calculator only works with binary numbers!"
alias "error_outputtoolarge_ali" "alias error_outputtoolarge none; echo ERROR: The output has more than 11 digits. Only the last 11 digits of the solution will be printed."
alias "calculator_init" "operator_res; calculator_res; alias 2 error_decimal; alias 3 error_decimal; alias 4 error_decimal; alias 5 error_decimal; alias 6 error_decimal; alias 7 error_decimal; alias 8 error_decimal; alias 9 error_decimal"
calculator_init
// Calculator - END \\

Note: each summand/factor needs to be smaller than 1024 and the sum needs to be smaller than 2048. Also, the output is in binary as well.


r/CounterStrikeBinds • • Mar 10 '15

Display damage given in the top left corner

82 Upvotes

Not technically a bind

developer 1
con_enable "1"
con_filter_text "Damage Given"
con_filter_text_out "Player:"
con_filter_enable "2"

you can make it a switch script, but I did not test it myself:

developer "1"
con_filter_text "Damage"
con_filter_text_out "Player:"
con_filter_enable "2"
bind “Key” “displaydamage”

//Displaydamage – Switch Script
alias displaydamage “displaydamage_on”
alias displaydamage_on “con_filter_text Damage; con_filter_text_out Player:; con_filter_enable 2; developer 1; alias displaydamage “displaydamage_off””
alias displaydamage_off “con_filter_enable 0; developer 0; alias displaydamage “displaydamage_on””

r/CounterStrikeBinds • • Aug 03 '20

VAC ban troll working for 2020

80 Upvotes

Before you could you something like this:

bing 9 "say glhf VAC has detecteda cheater on this server"

but if you put a lot of spaces it does show them so instead you can use this:

bind 9 "say glhfᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠᅠVAC has detected a cheater on the server"

made of 2 invisible symbols repeating one after another "ᅠ" "ᅠᅠ"


r/CounterStrikeBinds • • Mar 07 '21

Cool binds for CS

Thumbnail
youtu.be
65 Upvotes

r/CounterStrikeBinds • • Jul 08 '20

[THREAD] WHAT ARE BEST VIDEO SETTINGS AND WHY

Post image
65 Upvotes

r/CounterStrikeBinds • • Mar 12 '19

I think it will be appreciated here

65 Upvotes

r/CounterStrikeBinds • • Sep 20 '20

Does anybody know the autoexec command to disable this?

Post image
57 Upvotes

r/CounterStrikeBinds • • Feb 13 '22

Solved Fake reload bind I made.

55 Upvotes
// FAKE RELOAD
alias +reloadfake "+reload; r_cleardecals"
alias -reloadfake "-reload; use weapon_knife; slot2; slot1"
bind v +reloadfake

Press v (or another key) to play the reload sound, then quick-switch to your primary weapon, or secondary if you only have pistol. the clear decals isn't needed but I like it.

For situations like this woxic play


r/CounterStrikeBinds • • Nov 07 '20

Guide Improved crouch jump bind.

55 Upvotes

If you use a crouch jump bind, this will be a direct upgrade and has no downside. It will prevent the crouch from your crouchjump key and your crouch key from negating each other.

Example: +crouchjump -> +crouch -> -crouchjump would normally result in an uncrouched state even though your crouch is held down. With this bind, you will always be crouched if at least one of your two keys is pressed down.

Just replace the key in line 2 with your crouch key.

bind "SPACE" "+cjump"
bind "<REPLACE CROUCH KEY HERE>" "+ccrouch"
alias "+cjump" "+duck; +jump; spec_mode; alias nDuck_c"
alias "-cjump" "-jump; nDuck_j; alias nDuck_c -duck"
alias "+ccrouch" "+duck; alias nDuck_j"
alias "-ccrouch" "nDuck_c; alias nDuck_j -duck"
alias "nDuck_j" "-duck"
alias "nDuck_c" "-duck"

I am not saying you should use a crouchjump bind. But if you do, do it this way.


r/CounterStrikeBinds • • Mar 26 '21

Bomb timer with actual text

53 Upvotes

The Idea

After seeing the Ghetto-ass bomb timer, by u/TheElderNigs , I couldn't stop thinking if it would be possible to make a similar thing with actual text. Firstly, I found this steam guide that showed how to output text. Then, there was the time problem. A few years ago Valve deleted the wait command, but I found this python program by u/kevinhaze that allows you to use a delay command, that works the same way. I also took the idea of assuming that the key will be pressed around 1.5s after the bomb plant, when the phrase "The bomb has been planted" finishes, from the Ghetto-Ass Bomb Timer (Slightly Improved) by u/Coofie.

How does it work?

When you hear the end of "The bomb has been planted" press the bound key (bind "yourkey" "echo exectn bombtimer.csctl") and it will start. Here's the pastebin. !!!!WARNING!!!! this is meant to be saved as a .csctl file.

Demo: pay attention to the top-left corner

Modifications

If you want to change the colors of the text, switch the different log_color console values for others. Here's a steam guide with different colors.

The way it is setup, when it's over, it will fall back to the damage given on top left corner. If you do not use it, switch alias "filter_time" "con_filter_text time_" for alias "filter_time" "developer 1; con_filter_enable 2; con_filter_text time_" and alias "filter_damage" "con_filter_text damage Given" for alias "filter_damage" "developer 0".

Edit: Valve cheat protected the developer 1 command, so it doesn't work anymore.


r/CounterStrikeBinds • • Jan 07 '20

The cleanest autoexec.cfg you will ever seen, the last you will ever need: human-readable explanations for every line of commands

52 Upvotes

This configuration features:

  • Pro player settings. These are based on former Cloud9 player Shroud's config.

  • Human-readable explanations for every line of commands

  • Gameplay optimizations in technical aspects

    • Minimize shifting when firing the Weapon

    • Disable unnecessary video/audio effects

    • Optimize audio latency by 50%

  • Useful shortcuts:

    • Jump throw: j

    • Crouch jump: v

    • Clutch bind: n

    • Radar zoom keys: . and ,

    • Buydrop key: p

    • Clear blood: ALT

    • Hold this posistion: h

    • Numpad quick buy shortcuts

    • z for smoke, x for flash and c for grenade

  • Practice mode: prac command. Useful for warmups. By the way, I highly recommend Yprac workshop maps.

Check the files on https://gist.github.com/BirkhoffLee/8a7f3e4acefc279b6b046de5bb414daa. There's syntax highlighting so it's easy to your eyes.


r/CounterStrikeBinds • • Sep 08 '23

Guide Quick breakdown of my CS2 autoexec

48 Upvotes
// Crosshair settings
alias baseCrosshair "cl_crosshairgap_useweaponvalue 0;cl_crosshairstyle 4;cl_crosshaircolor 5;cl_crosshaircolor_r 0;cl_crosshaircolor_g 255;cl_crosshaircolor_b 255;cl_crosshairdot 0;cl_crosshairalpha 255;cl_crosshair_outlinethickness 1;cl_crosshair_drawoutline 1;cl_crosshairthickness 0.2"

// Aliases to switch crosshairs
// gap 3 is AK accurate angle
alias grenadeCrosshair "alias toggleCrosshair mainCrosshair;baseCrosshair;cl_crosshairgap 11;cl_crosshairsize 1000;cl_crosshair_t 0"
alias mainCrosshair "alias toggleCrosshair grenadeCrosshair;baseCrosshair;cl_crosshairgap -1;cl_crosshairsize 3;cl_crosshair_t 1"
mainCrosshair
bind mouse3 toggleCrosshair

// Aliases to reset crosshair when releasing an attack or switching from grenades
alias +cAttack "+attack"
alias -cAttack "-attack;mainCrosshair"
alias +cAttack2 "+attack2"
alias -cAttack2 "-attack2;mainCrosshair"
bind mouse1 +cAttack
bind mouse2 "+cAttack2"

I have middle mouse button toggle a grenade lineup crosshair, that automatically goes away when the grenade is thrown

// Duckjump
// There are some lineups that require a normal jump so r sets space to normal
// jump for a single press, turns the hud red to inform the player, and juggles
// binds so you can't get yourself into a broken state (Like stuck crouching)
alias +generalJump "+jump;spec_mode;unbind x;cl_hud_color 0"
alias -generalJump "-jump;bind x setSingleJump;cl_hud_color 0"
alias +djump "+generalJump;+duck"
alias -djump "-generalJump;-duck"
alias +sjump "+generalJump"
alias -sjump "-generalJump;bind space +djump"
alias setSingleJump "bind space +sjump;bind x -sjump;cl_hud_color 6"
-sjump

I use duckjump. The lineups are almost identical in jumpthrows, but in some rare cases I need a normal jump for a grenade lineup (Inferno car to newbox molly is one example) so x toggles on a single normal jump which will go back to duckjump when pressed. The HUD turns red when this is enabled to show the user (Could also do crosshair color or something)

// Lookdrop
alias +relook "+reload;-cAttack;-cAttack2"
alias -relook "-reload;+lookatweapon;-lookatweapon"
bind mouse4 +relook

Reload now does the frfrfr thing when you're full on ammo, but it also releases both attack buttons (Or rather the attack aliases that reset the crosshair) so you can do perfect middleclick throws and jumpthrows. Lots of key real estate saved

// Dropknife
alias dropknife "drop;slot3"
bind g dropknife

You can now switch to knife after dropping instead of your gun. Great for ditching the bomb in a rush.

// Bomb/healthshot on the same button
bind 5 "slot5;slot12"

Saves us a key

// Tab with extra info
alias +scoreinfo "+showscores;cl_showfps 1;cq_netgraph 1"
alias -scoreinfo "-showscores;cl_showfps 0;cq_netgraph 0"
bind tab +scoreinfo
cl_scoreboard_mouse_enable_binding +cAttack2

Used to have net_graphtext on here too, but it's gone now so this will have to do. Have to use cl_scoreboard_mouse_enable_binding if you've aliased +attack2

// Quickswitch
alias +quickswitch slot3
alias -quickswitch lastinv
bind q +quickswitch

Quickswitch. Basic stuff

// Turn 180 (Hit it twice to 360 :P)
// yaw value should be turn angle degrees / (m_yaw * sensitivity)
// 90 / (0.022 * 1) = 4090.9090909
// 180 / (0.022 * 1) = 8181.8181818
// zoom_sensitivity_ratio is too much of a pain to figure out so just don't use
// this while zoomed. Ratio doesn't take effect during the press event, and it
// differs between zoom levels and is capped at 3...
// bind r yaw 8180 1 1

Turn 180 degrees with a button press. (This is setup for 1 sens) I tried getting it to work while zoomed but zoom_sensitivity_ratio wouldn't cooperate so I gave up.

Edit: Reports that some people are getting banned by vac live for spamming this so I've commented it out above

// Toggle voice chat
alias voiceon "+voicerecord;bind - voiceoff"
alias voiceoff "-voicerecord;bind - voiceon"
voiceoff

Voice chat toggle for when I have my hands full

// Buy binds for rifles column
bind kp_multiply buy famas
bind kp_9 buy m4a1
bind kp_6 buy ssg08
bind kp_3 buy aug
bind kp_del buy awp

// Buy binds for mid column
bind kp_divide buy nova
bind kp_8 buy xm1014
bind kp_5 buy mp5sd
bind kp_2 buy p90
bind kp_0 buy mp9

// Buy binds for util
bind uparrow buy vest
bind downarrow buy vesthelm

// Buy binds for pistols (Only 3 keys in left column so deagle is top right)
bind kp_7 buy elite
bind kp_4 buy p250
bind kp_1 buy fn57
bind kp_minus buy deagle

I've made the first 3 numpad columns match the game's buy UI, with the deagle (bottom pistol) being left over for numpad -

I've always used the arrows for armor/helmet/kit/zeus, but I only enable kit and zeus when shift is held.

// Buy grenade binds that fall back to holding it if we already have one
alias buynade "buy hegrenade;slot6"
alias buyflash "buy flashbang;slot7"
alias buysmoke "buy smokegrenade;slot8"
alias buydecoy "buy decoy;slot9"
alias buymolly "buy molotov;slot10"

// Open chat with enter, team chat with shift+enter
// Restart match in practice mode with p, normal mode with shift+p
// Grenades are [4fcz6], shift+[4fcz6] to buy
// Disables taser/defuser binds (left/right arrow) without shift
alias +shiftbinds "bind enter messagemode2;bind p exec unpractice;bind 4 buynade;bind f buyflash;bind c buysmoke;bind z buymolly;bind 6 buydecoy;bind leftarrow buy taser;bind rightarrow buy defuser"
alias -shiftbinds "bind enter messagemode;bind p exec practice;bind 4 slot6;bind f slot7;bind c slot8;bind z slot10;bind 6 slot9;unbind leftarrow;unbind rightarrow"
  • I have specific binds for my grenade types so I can pull them out quickly, and pressing shift+ the grenade bind will buy one

  • I have chat with enter, team chat with shift+enter

  • Enable kit and zeus when shift is held, disable otherwise

  • And then there's bind p exec practice. This lets me set practice mode settings and restart the match, and unset them with shift+p

Notice that I haven't bound +shiftbinds to anything yet.

// Practice help commands
bind [ noclip
bind ] sv_rethrow_last_grenade
alias clearsmoke "ent_fire smokegrenade_projectile kill"
bind . clearsmoke
alias +gamespeed "host_timescale 10"
alias -gamespeed "host_timescale 1"
bind / +gamespeed

Commonly used practice server commands (Rethrow last grenade, noclip, clear smokes, fastforward time) are bound to specific buttons. My practice script comes with a menu to do other less common things (I'll post it if there's any interest)

// While walking do the binds above, but also up the radar size and volume
// We lower the voip volume so only the game sounds get louder
alias +walkshift "+sprint;+shiftbinds;cl_radar_scale 0.75;volume 1;voipSwitchHalf"
alias -walkshift "-sprint;-shiftbinds;cl_radar_scale 0.5;volume 0.5;voipSwitchFull"

bind shift +walkshift
bind rshift +shiftbinds

With right shift we just do binds related stuff, with leftshift we also walk (Which is now +sprint not +speed) and zoom in the radar, double the volume, and use the voipSwitchHalf alias. Helps a lot in clutches.

The complicated part is voipSwitchHalf: I have to lower the voice_scale by the same factor I raise volume or my eardrums will get blown out every time I shift, and I also use my mouse wheel to raise and lower the voice chat volume, and it has to keep working if I do this while shifting.

The voice volume stuff was way more complicated than it needed to be since snd_gamevolume snd_gamevoicevolume and snd_voipvolume do nothing useful...

// Scrolls volume up and down
alias voipupFull "toggle voice_scale 0 0.01 0.04 0.09 0.16 0.25 0.36 0.49 0.64 0.81 1 1"
alias voipdownFull "toggle voice_scale 0 0 1 0.81 0.64 0.49 0.36 0.25 0.16 0.09 0.04 0.01 0"
alias voipupHalf "toggle voice_scale 0 0.005 0.02 0.045 0.08 0.125 0.18 0.245 0.32 0.405 0.5 0.5"
alias voipdownHalf "toggle voice_scale 0 0 0.5 0.405 0.32 0.245 0.18 0.125 0.08 0.045 0.02 0.005 0"
alias voipSwitchFull "toggle voice_scale 0 0 0.005 0.01 0.02 0.04 0.045 0.09 0.08 0.16 0.125 0.25 0.18 0.36 0.245 0.49 0.32 0.64 0.405 0.81 0.5 1.0;bind mwheelup voipupFull;bind mwheeldown voipdownFull"
alias voipSwitchHalf "toggle voice_scale 0 0 0.01 0.005 0.04 0.02 0.09 0.045 0.16 0.08 0.25 0.125 0.36 0.18 0.49 0.245 0.64 0.32 0.81 0.405 1.0 0.5;bind mwheelup voipupHalf;bind mwheeldown voipdownHalf"

We have here a bunch of numbers. CS2 uses logarithmic scaling for volume, so 30% volume is actually 0.09. With this setup voice volume will go up/down by 10% when you scroll your mouse wheel, without wrapping. But that's only the first 2 lines.

The next 2 are how far up or down to move the voice volume when you're in "Half voice volume" mode.

The last 2 are the actual toggle halving or doubling the voice volume respectively, and they switch the mouse wheel binds to the correct scale.

-walkshift

// Reset volume since we just ran voipSwitchFull
voice_scale 0.25

Finally we set all the non-shift binds and reset volume to "50%"

host_writeconfig

alias autoExecCompleted true

Save settings and set an alias so we can see that it actually ran.

I'm sure there are a few neat tricks in here you've never thought of :)

Anyway, I'll take suggestions if you have them. My e v and b keys are basically freed up for more stuff now :)


r/CounterStrikeBinds • • Apr 25 '20

The most complete guide of CS:GO console codes ever made!

Thumbnail
steamcommunity.com
48 Upvotes

r/CounterStrikeBinds • • Feb 26 '21

Troll your friends in private sv's with this command

46 Upvotes

I found a command which immediately 'unplants' the bomb and moves it to the T's spawn. It's clear_bombs .


r/CounterStrikeBinds • • Jun 24 '21

How do you customize TAB to look like this?

Post image
44 Upvotes

r/CounterStrikeBinds • • Apr 22 '20

Automating execution and timing of console commands over telnet, from python.

43 Upvotes

I put together a python project that allows you to execute CS:GO console commands over telnet. I recently came across a launch option that exists in the CS:GO client, -netconport. Googling this turns up very little, and almost nothing in the context of CS:GO. This was the only thing I could find relating to CS:GO, but it gives a good idea of how to use this interface.

It turns out this launch option starts a telnet server on the specified port, and allows you to connect directly to the CS:GO console from anything that can act as a telnet client. In this case, python's 'telnetlib'.

This is incredibly useful because it basically allows full programmatic control of the client using only interfaces that are built-in to the client (no hooks or hacky workarounds). The launch option is unprotected and can be used freely.

It would be fairly easy to do something like read all chat messages from players in a game and pipe them into some python chatbot library, and pipe the bot's responses right back to the game in the form of a say command. The result would be you holding a conversation in chat while you're just playing the game normally. The great thing about python and open-source software in general is that these kinds of cool libraries and tools are frequently made and freely shared among the community, which greatly expands what's possible for an individual.

I've put together a python program that allows you to create script files comprised of console commands, or custom defined commands like the included delay command, which sleeps for x.xxxx seconds in between commands. This allows fine control of execution timing. These script files can be executed from in-game with keypresses or from the console. For example: Press H to perform a stutter-step and fire an accurate shot., or Press O to say the navy-seal copypasta word-by-word in chat. And that's not to even mention the applications for things requiring a lot of automation (skin screenshot bots, demo render bots, etc). The only input I don't think is possible is mouse movements, although I could be wrong. There are a couple example script files included in the github to give you an idea of how to use it.

Also, please note that while this functionality is built into the client and 100% VAC-Safe, it would assumedly fall into the same category as mouse macros, autohotkey, and the like. I've never heard of someone being banned for these things, but it is still a possibility and I make no promises. I won't be responsible if it happens.

Link to project: https://github.com/403-Fruit/csctl

Feel free to submit issues/suggestions/contributions you may have.


r/CounterStrikeBinds • • Jul 06 '21

Bind to toggle these four actions at once?

42 Upvotes