Tile selection behind the objects doesn't work on Linux and Mac OS
In the vanilla, SHIFT can be used to select a tile which is hidden behind an object (a fridge, for example). At the moment on Linux and Mac OS SHIFT is used to move backwards (#40).
See comments in 6ee4812
There is clearly not enough modification keys on Linux, when the ALT is occupied by windows manager (ALT + left mouse clik doesn't work on Ubunut by default).
Moving backward is also very important, so we cannot just dump it in favour of tile selection.
My suggestion is to use CAPSLOCK as tile selection modifier. That will affect only Mac OS and Linux builds. Windows builds will have vanilla behaviour.
https://bitbucket.org/gennady/ja2-stracciatella/branch/capslock_as_tile_selection_modifier
@misanthropos can you try this branch out and tell what you think
Comments (4)
-
-
Many people disable or change Caps Lock to a different key. Some keyboards even don't have it at all. So I'm not sure if this is the best solution. Perhaps you could use (Ctrl && Shift) as the modifier?
-
Thats interesting! If they are able to change the Caps Lock to a different key - then they should be able to do the same for ALT.
CTRL is used to grab stuff and be used together with SHIFT (to pickup something behind objects/persons).
I have never seen a keyboard without CAPS LOCK - my guess is there are only few or maybe designed for gamers?
Personally I use SHIFT much more often than ALT - since walking backwards is used only in combat in certain moments while I use SHIFT a lot to select a spot behind a group to place another person there.
Yes... sometimes it is not a good idea to do so ;) Grenades/Mortar/LAW, haha.
And CAPS LOCK is just an alternative to ALT - you can use both.
-
reporter - changed status to resolved
Fixed in dc4c0bb
Disable Shift as replacement for Alt (Option) on Linux and Mac OS X
Shift was used as replacement for Alt to allow moving backward (issue
#40), but it turned out not to be a good solution.Now to move backward use:
- Option + Left button mouse (LBM) on Mac OS X
- Alt + LBM or Alt + Meta (WinKey) + LBM on Linux, depending on your desktop environment
This fixes issue
#123and reverts changes made for issue#40.If there are still users of one-button Mac mouse, you are out of luck, sorry. You should start the game with flag -no3btnmouse, that will allow you to use Command + mouse click as replacement for right mouse button, but you won't be able to move backward.
- Log in to comment
Thanks for picking up this issue (and of course for maintaining and improving this great game).
Well - I tried your modification. Let me make these points:
Using CAPSLOCK is a good idea, but
I am certain there are ways to release the ALT-Key for Ubuntu/Gnome... thats rather the right way for a solution to that as it is getting to the problem at its root.