Counter-Strike 2

Counter-Strike 2

View Stats:
HensWens Jul 2, 2024 @ 4:01am
Bind flash and smoke to mouse
Hello

dose anyone knows how to bind flash and somke to mouse 1 and mouse 2 ?
I want to use the flash when i press ctrl + mouse1
and use smoke when i press ctrl + mouse 2

Thx for answers
< >
Showing 1-8 of 8 comments
that would require some external software for mouse binding, like maybe if you have a razer mouse or a4tech x7 or something it would probably be possible, but honestly even in their binding software I couldn't find that functionality

I can imagine a dirty hack though, a program running in the background all the time, detecting if you currently have CTRL held down, and if you have, using the registry, rebinding mouse1 and mouse2 to 7 and 8 keyboard keys (those are the default bindings for the flash and for the smoke right?), and if you don't, back to mouse1 and mouse2, and it runs every 20 milliseconds or so. maybe also detects if cs2.exe is running or not so it doesn't do that all when you're not playing.

but this solution would require some actual programming

I don't think there's a way for players to bind actions to multiple keys held at the same time in CS2 or in Source games in general
apple Jul 2, 2024 @ 7:16am 
Originally posted by HensWens:
Hello

dose anyone knows how to bind flash and somke to mouse 1 and mouse 2 ?
I want to use the flash when i press ctrl + mouse1
and use smoke when i press ctrl + mouse 2

Thx for answers
hmmmmm
LeMonKy Jul 3, 2024 @ 12:32am 
Or you can use mouse side buttons as modifiers rather than keyboard. Then you can use your mouse software
vee Jul 3, 2024 @ 1:22am 
go to ...\Steam\steamapps\common\Counter-Strike Global Offensive\GAME\csgo\cfg and look if you have an autoexec.cfg.

If you DON'T have an autoexec then make three copies of any .cfg file (e.g. gamemode_competitive_short.cfg), rename one of them to "autoexec", one to "use_default" and the last to "use_nades".

If you DO have an autoexec then just make two copies of a random .cfg and rename them to "use_default" and "use_nades".

assuming you're creating a NEW autoexec delete everything that was copied over and put in the following
alias +modify_ctrl "+duck; exec use_nades" alias -modify_ctrl "-duck; exec use_default" bind ctrl "+modify_ctrl"
(I'm assuming you're using ctrl to duck/crouch. If you don't then remove "+duck;" and "-duck;" and/or replace those commands with whatever else you're using on ctrl)

Save and close the autoexec and then open and cleanse the "use_default" config from everything that was copied over and put in
bind "mouse1" "+attack" bind "mouse2" "+attack2"

for the "use_nades" config you do the same but put in
bind "mouse1" "slot7" bind "mouse2" "slot8"

If everything is done right you shouldn't need to do anything else but maybe put "exec autoexec" into your in-game console.
Last edited by vee; Jul 3, 2024 @ 1:36am
Originally posted by vee:
go to ...\Steam\steamapps\common\Counter-Strike Global Offensive\GAME\csgo\cfg and look if you have an autoexec.cfg.

If you DON'T have an autoexec then make three copies of any .cfg file (e.g. gamemode_competitive_short.cfg), rename one of them to "autoexec", one to "use_default" and the last to "use_nades".

If you DO have an autoexec then just make two copies of a random .cfg and rename them to "use_default" and "use_nades".

assuming you're creating a NEW autoexec delete everything that was copied over and put in the following
alias +modify_ctrl "+duck; exec use_nades" alias -modify_ctrl "-duck; exec use_default" bind ctrl "+modify_ctrl"
(I'm assuming you're using ctrl to duck/crouch. If you don't then remove "+duck;" and "-duck;" and/or replace those commands with whatever else you're using on ctrl)

Save and close the autoexec and then open and cleanse the "use_default" config from everything that was copied over and put in
bind "mouse1" "+attack" bind "mouse2" "+attack2"

for the "use_nades" config you do the same but put in
bind "mouse1" "slot7" bind "mouse2" "slot8"

If everything is done right you shouldn't need to do anything else but maybe put "exec autoexec" into your in-game console.
ohhhhh I completely forgot about this technique, nice, this should work
󠁳Chiyoko Jul 3, 2024 @ 1:53am 
Originally posted by vee:
for the "use_nades" config you do the same but put in
bind "mouse1" "slot7" bind "mouse2" "slot8"
Just saying to OP, that it will allow you to switch to the grenades, but not "using" (throwing) them with ctrl+click. To throw you have to release ctrl and then press mouse button again.
Also it will lead to that you won't be able to shoot, use knife, throw nades and zoom while crouching, except you get another crouch bind for that.
coda Jul 3, 2024 @ 1:57am 
Am I the one, who found this binds astronomically stupid?
vee Jul 3, 2024 @ 2:00am 
I wouldn't recommend it but that is what OP is asking for.
Binding nades to zxc is easier.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jul 2, 2024 @ 4:01am
Posts: 8