project-navigation
Personal tools

Author Topic: mouse buttons  (Read 4253 times)

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
mouse buttons
« on: July 08, 2007, 07:26:38 am »
(for those who don't know) in the current development version the mouse buttons have been changed. the state now is

LMB: move
MMB: cancel aiming / move
RMB: turn without moving

LMB turn as standard, is the right way to go, methinks.

i (and a few others, I'd wager) are now in an adjustment phase were we try and turn with the MMB, leading to, erm, poor disposition of troops.

so, at last, here is my question/suggestion:
why is the MMB both cancel and move?
could it not just be cancel?

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
mouse buttons
« Reply #1 on: July 08, 2007, 11:49:44 am »
The above is, in fact, outdated.

RMB also cancels aiming now, just like MMB. As such, the MMB's functions are now all redundant as all basic actions are now handled by LMB and RMB.

In my opinion, the MMB should be assigned some function that is not critical (handled by the GUI by default) but still often used. Something like setting RF on or off. Or maybe crouch/stand.

Ideally, we should have a new configuration menu ingame that lets people assign functions to keys and mouse buttons.

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
mouse buttons
« Reply #2 on: July 08, 2007, 07:21:08 pm »
small problem with RMB to both cancel aim and turn is that you have to leave the pointer in the right place, or you end up turning and losing 1TU. A small, but potentially critical mistake.

perhaps if someone was aiming when they RMB click, the actor should stop aiming, then a second click would be required if they want to turn too.

If people are in agreement - I think this might be within my abilities to do a patch.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
mouse buttons
« Reply #3 on: July 08, 2007, 07:23:55 pm »
Not only do I agree, I encourage you to try.

Offline Level

  • Rookie
  • ***
  • Posts: 15
    • View Profile
mouse buttons
« Reply #4 on: July 12, 2007, 11:05:07 pm »
I agree blondandy.
The middle button could be used for camera rotation.

Offline blondandy

  • Sergeant
  • *****
  • Posts: 391
    • View Profile
mouse buttons
« Reply #5 on: July 13, 2007, 12:19:41 pm »
mattn applied this patch to trunk already. now

Code: [Select]

LMB: if in firemode (ie aiming) then fire
     else move
RMB: if not in firemode, then turn.
     if in firemode, then cancel firemode.
 


i like the idea of MMB turn camera, as mousewheel is zoom. it puts camera controls in the same place. perhaps MMB drag could change pitch and yaw of camera.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
mouse buttons
« Reply #6 on: July 13, 2007, 12:25:41 pm »
Sounds like a good idea to me, but I don't think we have any behavior in the game that relies on keeping a button pressed down. I'm not sure if it's possible right off the bat.