[1.04b11] Toggle for Mouse Map Move

Moderator: Vic

Post Reply
User avatar
Malevolence
Posts: 1801
Joined: Sat Apr 03, 2010 11:12 am

[1.04b11] Toggle for Mouse Map Move

Post by Malevolence »

In another thread, I suggested player assigned keybinds. Most importantly for me personally, keybinds for W-A-S-D to move the map views.

I also suggest a toggle to disable the default map movement when the mouse moves to the edges of the main window.

Using multiple monitors, I routinely have a runaway map. I also sometimes inadvertently trigger map moves when moving the cursor to hover for a tooltip.

I'll live with the arrows in the interim. [:)]
Nicht kleckern, sondern klotzen!

*Please remember all posts are made by a malevolent, autocratic despot whose rule is marked by unjust severity and arbitrary behavior. Your experiences may vary.
zgrssd
Posts: 5105
Joined: Tue Jun 09, 2020 1:02 pm

RE: Toggle for Mouse Map Move

Post by zgrssd »

Regarding the edge scroling, do you have mouse lock turned off? Because that is what it is there for.
User avatar
Malevolence
Posts: 1801
Joined: Sat Apr 03, 2010 11:12 am

RE: Toggle for Mouse Map Move

Post by Malevolence »

ORIGINAL: zgrssd

Regarding the edge scroling, do you have mouse lock turned off? Because that is what it is there for.

Yes. It is off. Mouse Lock allows the cursor to leave the game window. It does not effect the map movement.

Test it with a multi-monitor setup.

I assume the code is only testing cursor position at the edge, not timing a pause at the edge before executing the map movement. I imagine about 250ms (about 15 ticks) would be sufficient.

Moving the cursor in another monitor causes the map to move (while the game has focus). As the player needs to select something in the other monitor to have focus, it cause the map to scroll wildly.

Moving the cursor on the desktop for example, causes this wild map movement.

Finally, moving the cursor back into the game's monitor also causes the position test to begin moving the map yet again.

Nicht kleckern, sondern klotzen!

*Please remember all posts are made by a malevolent, autocratic despot whose rule is marked by unjust severity and arbitrary behavior. Your experiences may vary.
User avatar
Tchey
Posts: 88
Joined: Wed Jun 17, 2020 5:02 am
Contact:

RE: Toggle for Mouse Map Move

Post by Tchey »

In another thread, I suggested player assigned keybinds.
Most importantly for me personally, keybinds for W-A-S-D to move the map views.
I also suggest a toggle to disable the default map movement when the mouse moves to the edges of the main window.


Yes.

Key rebinding. We don’t all have qwerty layout, or are lefty, or disabled, or anything
Rebinding keys is simply a must in any game for many reasons.

Also yes for stopping edge moves, and a way to use the mouse to pan the view, like maybe MMB (with rebinding option of course).
* Jeux1d100 ? Le blog Jeux1d100.net sur les jeux indécents et Linux, et la chaîne YouTube *
User avatar
Malevolence
Posts: 1801
Joined: Sat Apr 03, 2010 11:12 am

RE: Toggle for Mouse Map Move

Post by Malevolence »

Repeat. Version 1.04b11.
Nicht kleckern, sondern klotzen!

*Please remember all posts are made by a malevolent, autocratic despot whose rule is marked by unjust severity and arbitrary behavior. Your experiences may vary.
Post Reply

Return to “Suggestions and Feedback”