beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.68k stars 276 forks source link

Disable Alt+Scroll While Grid Building (Alt+Shift) #3581

Open calmilamsy opened 1 month ago

calmilamsy commented 1 month ago

Description

Tin, basically just make Alt+Scroll just not do it's thing when holding down Alt+Shift.

Why?

When I use the grid build mode, I have to avoid scrolling, or I get the centered map-wide view, which is awkward when I want to zoom out a little for a better view after picking out my contructors and autopiloting hotkeys for building.

What area of the game does this feature request pertain?

Settings, Controls or Hotkeys

Other (optional)

Shifting the bind to Ctrl+Shift+Scroll would also work I think, but I figured the best way for muscle memory would be to do what's mentioned on the title.

I could be missing some interaction that folk rely on, but nothing comes to mind.

MeSaber commented 4 weeks ago

CTRL+scroll might need the same treatment.

WatchTheFort commented 4 weeks ago

In general, we need to decouple modifier keys from camera controls, because they universally interfere with other functions

sprunk commented 4 weeks ago

Just unbind movefast, moverotate, and all the other movefoo. (Don't allow to rebind them because they suck.)

salinecitrine commented 4 weeks ago

In general, we need to decouple modifier keys from camera controls, because they universally interfere with other functions

Just unbind movefast, moverotate, and all the other movefoo. (Don't allow to rebind them because they suck.)

I agree, particularly because even if we handle the case while placing buildings, that will leave pseudo-building (pregame_build and blueprints) with the same issue.

sprunk commented 4 weeks ago

I don't even mean conflicts with other actions and wasting an important key, though those are good reasons as well. Holding a key to pan slower/faster is just very inefficient compared to other means to move the camera. Would anybody ask for it if it wasn't already there?

kvanbere commented 1 week ago

+1 I actually mentioned this here as well #3523 , the camera key bindings made it very difficult to understand how to grid build properly for me.