1

Unified buy binds, for example binding D to buy defuser and S to buy smoke improve the flow of game as I don't have to open the buy menu in the first place. Unfortunately creating a bind unbinds the respective key bind.

I have tried creating an alias, but this results in the same outcome:

alias "+movesmoke" "+back; buy smokegrenade"
alias -movesmoke -back
bind s +movesmoke

3 Answers 3

1

I don't recommend using the main movement keys to buy something. You might cause the spam filter to trigger (too many commands in a short amount of time), which will block further commands for some time.

What you're asking for is:
bind S "+back; buy smokegrenade"

...but a better solution is using unused keys, like the numpad or some F-keys. You can even buy a complete loadout within seconds. That's how I do it.

For example:

bind KP_INS "buy vesthelm;buy vest"
bind KP_DEL "buy defuser"
bind KP_ENTER "buy smokegrenade"
bind KP_PLUS "buy hegrenade;buy incgrenade;buy molotov"
bind KP_MINUS "buy flashbang"

This will let you buy your equipment without any problems. 0 buys armor, , buys a defuser and the right sided keys all grenades. You can extend this by using the numbers to buy specific weapons or even a donation button: bind KP_5 "buy m4a1;buy ak47;drop" (this buys a rifle and drops it right away).^

Edit:

Combining a "+something" command with other stuff seems to cause unexpected behavior. You can avoid this by using an alias. I have successfully tested this one:

alias +mvgren "+back; buy smokegrenade"
alias -mvgren "-back"
bind s "+mvgren"

(you can name that alias whatever you want)

16
  • bind S +back; buy smokegrenade doesn't appear to work, my own grenade bind bind enter "buy smokegrenade; buy flashbang" does. Grenade is only purchased when I enter the command.
    – user598527
    Oct 19, 2017 at 11:41
  • Have you used this command recently? Do I have to unbind the S key first perhaps?
    – user598527
    Oct 19, 2017 at 11:48
  • @user198327 try encasing in "", bind s "command; command". Can't test it here, but the syntax should work, since I use similar settings. It could as well be that the game blocks additional binds on movement keys.
    – dly
    Oct 19, 2017 at 12:15
  • 1
    @user198327 yep.. new buy binds need some getting used to. Do other keys work and buy the correct items and only the s key causes this issue?
    – dly
    Oct 20, 2017 at 6:32
  • 1
    @user198327 I found the problem and edited my answer.
    – dly
    Oct 21, 2017 at 13:05
1

In Counter-Strike 1.6 and before you could bind multiple actions to a button by using ; separator, I'm pretty sure this is the same for CS:GO. For example, this bind will make you kill with 1 shot, even if you shoot in the air(even with a flashbang):

bind mouse1 "+attack;kill"
3
  • "kill with one shot"? Do you mean "attack with one click", when you don't have a gun equipped?
    – user598527
    Oct 19, 2017 at 15:10
  • @user198327 kill just kills yourself. If you bind it to a key you have a suicide button.
    – dly
    Oct 20, 2017 at 6:35
  • @dly yes, that's it. So you will basically shoot and 1 shot will be enough for a kill :D
    – Novarg
    Oct 20, 2017 at 7:27
1

Using alias isn't necessary. Unless you want to give your commands a name, alias only adds complexity and length (source).

Binds for your examples:

bind s "+back;buy smokegrenade;"
bind d "+moveright;buy defuser;"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .