Can't turn with mouse

Get support for Unvanquished.
Post Reply
User avatar
JOURNEYMAN
Dragoon
Posts: 342
Joined: Thu Mar 08, 2012 9:42 pm UTC

Can't turn with mouse

Post by JOURNEYMAN »

I can't turn with the mouse. Every time I move the mouse, instead of turning to the direction, I just move to that direction (backward, forward, and sideways.) I tried deleting the *.cfg files and doing /exec default.cfg, but nothing seems to work. This was happening before the Alpha 14 but it would return to normal when I quit and restart the game, but now restarting doesn't work either. My laptop and Mac doesn't do this. Only occurs on Vista.
What else can be done to fix this? Is there anyway to write the bind for the mouse to turn?

Grab reality by the balls and squeeeeze!

Image

User avatar
Kynes
Posts: 78
Joined: Tue Mar 06, 2012 10:05 pm UTC

Re: Can't turn with mouse

Post by Kynes »

This is a result of the +strafe command. Disable it with:

Code: Select all

/-strafe

I have no idea why this command even exists. It was bound to ALT by default in Tremulous, and Unvanquished inherited it.

User avatar
JOURNEYMAN
Dragoon
Posts: 342
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: Can't turn with mouse

Post by JOURNEYMAN »

Ok. I went over the *.cfg files and deleted all the +strafe from the binds, and it worked.

Grab reality by the balls and squeeeeze!

Image

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Can't turn with mouse

Post by Anomalous »

For each +strafe, you need a -strafe. Normally, that'll happen on key-up.

As for why: strafe converts turning into stepping and mouse free-look into movement. I expect that it affects joystick control too. Whether it should be a default bind, I'm not sure, but I think that I'd keep the command available for those who have use for it.

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

Post Reply