Forums Index >> Modding >> How do i bind text to mouse buttons



Page : <1> :


This is what I have so far in my main.cs

If (!$server::dedicated) {
moveMap.bindCmd(mouse, "right click", "", "commandToServer('messageSent', "/tm Im smoking, I need to PASS!");");

Im not really sure what the bind is for right click.. Anyone know?

Id really like to find out because my uber mouse has 8 buttons and up, down, left, right scrolls. Instead of me pressing buttons on my keyboard I want to use these buttons on my mouse to speak.

BTW, my mouse is a wireless logitech MX1000 which cost me £35

 

 

 

 

Last edited: Wednesday, May 31, 2006 at 12:53:01 PM

Wednesday, May 31, 2006 at 9:36:27 AM

You need to replace "right click" with "button1"

Button0 is the left click and I think Button 2 is the scrolly thing

 

 

 

 

Thursday, June 01, 2006 at 9:04:15 AM

Hmm, I got the right click to work but I cant get the rest of the buttons to work...

 

 

 

 

Thursday, June 01, 2006 at 10:19:26 AM

I dont know about any more buttons other than left, right, and scrolly...
As for left click... That one is obviously used to shoot with so it isnt going to work :P

 

 

 

 

Thursday, June 01, 2006 at 12:02:03 PM

Guess im going to need to experiment with different numbers :)

I dont even think TT can support that many buttons on a mouse.

 

 

 

 

Friday, June 02, 2006 at 1:35:21 AM

Think this is a LOCK

my blaster will destroy u!

Friday, June 02, 2006 at 7:11:32 AM

I will decide wether or not my thread which is 2 days old needs to be locked.

I still need confirmation that TT supports more than button3 on a mouse.

 

 

 

 

Friday, June 02, 2006 at 11:41:31 AM

Pedro, if you find any more that work post em here please or email whichever is easiest.

 

 

 

 

Monday, June 05, 2006 at 4:19:09 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald