Upvote Upvoted 0 Downvote Downvoted
Class-specific bind
posted in Q/A Help
1
#1
0 Frags +

Right now, I have my mouse4 bound for my alternative attack.
This is mainly for my Soldier, as I have my right mouse bound to crouch as I find it easier to rocket jump that way.
Therefore, when I use the cow-mangler, I use mouse4 to use the charge shot.

However, with my other classes, I have set a reset.cfg to allow mouse2 to still be used for their alternative attacks. e.g. I can still use mouse2 to cloak or uber.
However, I did these scripts ages ago (and so forgot how they worked) and now I've started to notice mouse4 also works as an alternative attack key for these class other than soldier, so I accidentally pop or I accidentally de-cloak using mouse4.

I was just wondering how I make it so that mouse4 only uses the alternative attack for Soldier, and how to make it so that on all the other classes mouse4 does nothing?

Right now, I have my mouse4 bound for my alternative attack.
This is mainly for my Soldier, as I have my right mouse bound to crouch as I find it easier to rocket jump that way.
Therefore, when I use the cow-mangler, I use mouse4 to use the charge shot.

However, with my other classes, I have set a reset.cfg to allow mouse2 to still be used for their alternative attacks. e.g. I can still use mouse2 to cloak or uber.
However, I did these scripts ages ago (and so forgot how they worked) and now I've started to notice mouse4 also works as an alternative attack key for these class other than soldier, so I accidentally pop or I accidentally de-cloak using mouse4.

I was just wondering how I make it so that mouse4 only uses the alternative attack for Soldier, and how to make it so that on all the other classes mouse4 does nothing?
2
#2
2 Frags +

Sounds like you just don't have anything in your reset cfg to unbind whatever you have set for mouse4 is set to. Try unbinding it in your reset cfg and just make sure it's getting rebound when you exec your soldier cfg

Sounds like you just don't have anything in your reset cfg to unbind whatever you have set for mouse4 is set to. Try unbinding it in your reset cfg and just make sure it's getting rebound when you exec your soldier cfg
3
#3
1 Frags +

you can make configs for each class (like scout.cfg demoman.cfg etc) and just individually set it up so that whatever key you want +attack2 bound to on each class via the config

as for an unload config im not too sure about that.

you can make configs for each class (like scout.cfg demoman.cfg etc) and just individually set it up so that whatever key you want +attack2 bound to on each class via the config

as for an unload config im not too sure about that.
4
#4
3 Frags +

make an allclass.cfg, put exec allclass.cfg at the top of all the class configs

then you can put bind mouse4 "+attack2" in the soldier config and unbind mouse4 in the allclass config

soldier config would look like this:

exec allclass.cfg
bind mouse4 "+attack2"
make an allclass.cfg, put exec allclass.cfg at the top of all the class configs

then you can put bind mouse4 "+attack2" in the soldier config and unbind mouse4 in the allclass config

soldier config would look like this:
[code]exec allclass.cfg
bind mouse4 "+attack2"[/code]
Please sign in through STEAM to post a comment.