PDA

View Full Version : Double binding question


julz_d
03-05-2008, 01:34 AM
Hi, I am trying to figure out a way to get around a binding problem. I want to bind "mouse2" to "_altattack" and to "_speed".

This would enable me to use mouse2 for alt. fire and also use mouse2 for handbrake when I'm in a vehicle.

reyalp
03-05-2008, 01:39 AM
You cannot combine commands that begin with an _

Tangles
03-05-2008, 01:42 AM
I don't think he's trying to combine commands, but have mouse2 do two separate functions depending on whether he's on foot or in a vehicle.

julz_d
03-05-2008, 01:43 AM
That's unfortunate, as you are not even using mouse2 in a vehicle if it's binded to alt. fire. What a waste of controls that is.

Is this a bug? Has it been reported if it is?

julz_d
03-05-2008, 01:44 AM
I don't think he's trying to combine commands, but have mouse2 do two separate functions depending on whether he's on foot or in a vehicle.

Yeah you explained it better than I did lol

thanks :)

Tangles
03-05-2008, 01:46 AM
If this is the case, I use the following

bind "MOUSE3" "_activate" "" "default"
bind "MOUSE3" "_speed" "" "vehicle"

to have Mouse3 as my "USE" button when I'm on foot, and as an 'E-Brake' when I'm driving in vehicles so I can slide around corners and stuff :)

julz_d
03-05-2008, 01:56 AM
If this is the case, I use the following

bind "MOUSE3" "_activate" "" "default"
bind "MOUSE3" "_speed" "" "vehicle"

to have Mouse3 as my "USE" button when I'm on foot, and as an 'E-Brake' when I'm driving in vehicles so I can slide around corners and stuff :)

Thanks, worked like a charm! :cool: I will note that it appears you MUST have mouse3 or whatever in all capital letters.

edit: whoops incorrect syntax. It only worked with

bind "MOUSE3" "_activate" "MOUSE3" "default"
bind "MOUSE3" "_speed" "MOUSE3" "vehicle"

reyalp
03-05-2008, 02:45 AM
Thanks, worked like a charm! :cool: I will note that it appears you MUST have mouse3 or whatever in all capital letters.

edit: whoops incorrect syntax. It only worked with

bind "MOUSE3" "_activate" "MOUSE3" "default"
bind "MOUSE3" "_speed" "MOUSE3" "vehicle"
You shouldn't need the second MOUSE3. That's for a modifier key.

edit:
I apologize for answering the wrong question ;)

You mind find these links useful:
Useful Binds, Tweaks, Scripts, & More (http://community.enemyterritory.com/forums/showthread.php?t=19338)
advanced binding features (http://community.enemyterritory.com/forums/showthread.php?t=4161)
console and cfg file information (http://community.enemyterritory.com/forums/showthread.php?t=9160)

julz_d
03-05-2008, 03:28 AM
You shouldn't need the second MOUSE3. That's for a modifier key.

edit:
I apologize for answering the wrong question ;)

You mind find these links useful:
Useful Binds, Tweaks, Scripts, & More (http://community.enemyterritory.com/forums/showthread.php?t=19338)
advanced binding features (http://community.enemyterritory.com/forums/showthread.php?t=4161)
console and cfg file information (http://community.enemyterritory.com/forums/showthread.php?t=9160)

No ploblem, I don't think I phrased the original question very well anyway;

I don't know why, but I couldn't get the bind to work without the second MOUSE3 in there. It just wouldn't do anything at all without it. Anyway I'm set now, becuase i can use mouse 2 to alt fire/hankdbrake and mouse 5 for lean left/fire decoy.

Edit: I'm running version 1.4 if that helps any

nick_ss
03-05-2008, 05:36 AM
Try the following bind, see if it works.

bind "mouse2" "_speed" "" "badger"

This should make your mouse2 as a handbrake in an Armadillo. But you probably have to do this to all vehicles, since I keep all my vehicle binds in separately. You probably don't need handbrake for some vehicles, e.g. cyclops, titan etc.

You can also use the space bar for hand brake in vehicles, I find that quite easy.

Just a question through : is there a reason why you use mouse 5 for lean, rather than q?

julz_d
03-05-2008, 09:28 AM
Try the following bind, see if it works.

bind "mouse2" "_speed" "" "badger"

This should make your mouse2 as a handbrake in an Armadillo. But you probably have to do this to all vehicles, since I keep all my vehicle binds in separately. You probably don't need handbrake for some vehicles, e.g. cyclops, titan etc.

You can also use the space bar for hand brake in vehicles, I find that quite easy.

Just a question through : is there a reason why you use mouse 5 for lean, rather than q?

Reason is: I don't use WASD but use the Keyboard uup,left,down,right keys; and I have a 5 button mouse that I use 2 buttons to lean left and right.