Author Topic: Can't disable mouse button 4,5 from casting abilities  (Read 3359 times)

Offline Precog

  • Newbie
  • *
  • Posts: 3
Can't disable mouse button 4,5 from casting abilities
« on: April 25, 2012, 01:36:10 am »
I use my mouse to voice communicate with other people. My mouse keys cannot be unbounded/changed. They cast abilities that I do not want cast.

Offline Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #1 on: April 25, 2012, 03:44:11 am »
Wait...you can't unbind the mouse keys in the controls? I was fairly sure that was possible. I'm at work atm so I can't try either, but I'm pretty sure you're supposed to be able to do that.
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline tigersfan

  • Arcen Games Contractor
  • Arcen Staff
  • Master Member Mark II
  • *****
  • Posts: 1,599
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #2 on: April 25, 2012, 05:37:44 am »
I use my mouse to voice communicate with other people. My mouse keys cannot be unbounded/changed. They cast abilities that I do not want cast.

If you go into "Settings" then "View and Edit Controls" you should be able to do whatever you want with the controls.

Offline Precog

  • Newbie
  • *
  • Posts: 3
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #3 on: April 25, 2012, 08:25:55 am »
I hope I'm mistaken, but I go to the abilities section where it shows "Use Ability In Slot 1 through 5" And I've set everything to None for 3, 4, and 5, so it is completely blank. It still casts the ability in 3, 4, and 5.

Offline Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #4 on: April 25, 2012, 08:28:21 am »
I hope I'm mistaken, but I go to the abilities section where it shows "Use Ability In Slot 1 through 5" And I've set everything to None for 3, 4, and 5, so it is completely blank. It still casts the ability in 3, 4, and 5.
That would be a bug then. Can you report it on Mantis please? Link is in my signature.
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #5 on: April 25, 2012, 09:24:43 am »
Nope!  Not a bug.  This isn't something you can change in the settings.

However, you can change it by closing the game and then opening your inputbindings.dat file directly (it's in your RuntimeData folder in the steam's folder for the game).

If you search for Ingame_MouseAbility4, Ingame_MouseAbility5, etc, then you will see those mappings.  Where it says "Mouse3" as a value, that's referring to your 4th mouse input binding.  You can change that to None.

What we really need to do is make this editable through the user interface, but not anything but mouse keys bindable to it.  We hid this because of players binding keyboard keys to the mouse controls and then having tons of problems.  But I hadn't thought of voice chat on the mouse buttons; thanks for that!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline EagleMountain

  • Newbie Mark III
  • *
  • Posts: 25
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #6 on: April 25, 2012, 02:49:51 pm »
Hi Chris,

I could have a issue like this or some kind of hybrid. I have the non-steam version and have not had this problem before (ok my game updated with 15 patches, so its been some time since I played it last time  :D).

But starting a new world and picking up the first spell starts a never ending casting of the first spell. I first thought it was some of my joystick that messed something up, and pulled them out but it didn't help. And my mouse works just fine...

Any suggestions?

Cheers
Mark
-Men do not quit playing because they grow old. They grow old because they quit playing. -- Oliver Wendell Holmes

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #7 on: April 25, 2012, 02:56:49 pm »
Hi Mark,

When you hover over things that can be left-clicked with your mouse, is it automatically clicking them?  If not, it definitely doesn't sound like anything to do with your mouse buttons being held down.

Beyond that, the suspicion goes to the gamepads and the keyboard.  You could go into the keybindings and remove the gamepad/axis bindings for the regular ability 1 if you like.  Or if you've not restarted the game since unplugging the gamepads, you may wish to do that to fix it; unity only notices gamepad removal/additions when it starts up.

Actually having the analog stick set to the right or left improperly on your gamepad (such as it laying upside down and hitting the analog stick when it was plugged in or your computer powered on), would cause this.  The xbox 360 controller, which this game is defaulting to these days, uses ability 1 via its left trigger.  That same mapping in unity corresponds to left movement in most other gamepads or joysticks.

If you don't plan on using a gamepad or joystick, you can just unbind those in your settings file and not worry about it any more at all, of course.

Hope that helps!
Chris
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline EagleMountain

  • Newbie Mark III
  • *
  • Posts: 25
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #8 on: April 25, 2012, 03:05:17 pm »
Thanks Chris,

Will try it out.

Cheers
Mark
-Men do not quit playing because they grow old. They grow old because they quit playing. -- Oliver Wendell Holmes

Offline EagleMountain

  • Newbie Mark III
  • *
  • Posts: 25
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #9 on: April 25, 2012, 03:25:47 pm »
Yes that did it. It was my joysticks - thanks again  :)
-Men do not quit playing because they grow old. They grow old because they quit playing. -- Oliver Wendell Holmes

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #10 on: April 25, 2012, 03:41:56 pm »
My pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #11 on: April 25, 2012, 04:01:12 pm »
I use my mouse to voice communicate with other people. My mouse keys cannot be unbounded/changed. They cast abilities that I do not want cast.

Just added to the release notes for 1.001 (which we hope to have out tonight) :

Quote
* The Use Mouse Ability 1-7 keybinds are now again visible on the Abilities tab of the View/Edit Controls window so that you can change them (this is necessary if you want to unbind mouse button 4 or 5 or something like that).
** They can only take mouse buttons, and cannot take keyboard or gamepad input.
** The keybinds for mouse ability 8-10 are still gone because Unity can only recognize the first 7 mouse buttons in any event.
** Thanks to Precog for pointing out a case we had missed where rebinding these is actually necessary.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Precog

  • Newbie
  • *
  • Posts: 3
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #12 on: April 25, 2012, 07:11:01 pm »
Thanks guys for the response.  :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Can't disable mouse button 4,5 from casting abilities
« Reply #13 on: April 25, 2012, 07:34:07 pm »
You bet!  Thanks for the suggestion. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk