Lemmings Forums

NeoLemmix => NeoLemmix Main => Archived Bugs & Suggestions => Topic started by: Nepster on January 29, 2016, 05:14:41 PM

Title: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: Nepster on January 29, 2016, 05:14:41 PM
Status: Made the following changes:

Exit: Alt+X -> Alt+F4 (which already worked anyway)
Add Terrain: Ctrl+Shift+T > Alt+T
Add Object: Ctrl+Shift+O > Alt+O
Add Steel Area: Ctrl+Shift+S > Alt+S

Others I'm a bit wary of changing as they're generally either already just a single key, or are standard ones that apply to most Windows apps (eg. Ctrl+N for new, Ctrl+C for copy, etc).

Leaving the topic open for now in case further discussion is desired.
Title: Re: [SUGGESTION] [EDITOR] Simplify hotkeys
Post by: Nepster on January 29, 2016, 05:20:28 PM
The current hotkeys are e.g.
As single letters aren't yet used for anything, I wonder why we have so complicated hotkey-combinations? Why not use "T" for Insert Terrain, "Esc" for Exit, etc.? Especially the Shift+Ctrl+... combinations are not user-friendly.
Title: Re: [SUGGESTION] [EDITOR] Simplify hotkeys
Post by: namida on January 30, 2016, 12:23:40 AM
I'm not sure why it specifically has Alt+X configured for Exit, rather than the more-standard Alt+F4 (which still works anyway). Changed this so that the menu just lists the standard Alt+F4 next to Exit.

I've changed the insert piece hotkeys to just be a single key, as per your suggestions. Most of the other ones are the standard ones you'd expect in Windows programs (eg. Ctrl+N for new, Ctrl+C for copy, etc) so I'd be quite wary of changing those.
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: Nepster on January 30, 2016, 09:50:17 AM
I looked at the experimental release and there are still some ugly "Shift + Ctrl + ..."-combinations left. So I propose the following further changes:
Moreover I noticed that the Inspector window has several options described as "Erase" suggesting with the underline some sort of hotkey. However I cannot make any such hotkeys work for me. So please make it clear what the hotkeys actually are. If they don't yet exist, please add them, e.g. as
All these hotkeys should work for both objects and terrain pieces, depending what is currently selected.

If you have better suggestions how to map these hotkeys, please tell. With the above I just tried to map similar functions to hotkeys lying next to each other respectively keeping the current letter for the hotkey.
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: Simon on January 30, 2016, 09:57:52 AM
I weakly recommend caution with plain [S] for saving, for it clobbers the file without asking. No objections otherwise.

Standard Windows behavior is [Ctrl]-[S] to save, and [Ctrl]-[Shift]-[S] or [F12] to save as.

-- Simon
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: Nepster on January 30, 2016, 10:22:46 AM
Good point. I'll change my previous post accordingly.

And something I forgot to mention above: Similarly to New Level, Close Level, ... add a single letter hotkey (and not only "Ctrl + ...") for Cut (X), Copy (C) and Paste (V).
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: namida on February 01, 2016, 07:07:38 AM
I knew there was a reason that the keys weren't just single keys alone. If you try out the experimental version that includes this change, and try to make a complete level, you'll notice very quickly why.

Spoiler
These keys are captured (and their effects occur) while trying to type in text, for example, the level's title. This probably can be fixed somehow, but is not worth the effort.

Still, Ctrl+Shift+Key is not nessecary. Since Shift+Key has the same problem, and Ctrl+Key has conflicts; I'm changing the shortcuts to Alt+Key.
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: Nepster on February 01, 2016, 05:05:02 PM
Hmm, I see. But "Esc" for Exit and especially a hotkey for Trigger Areas (e.g. F7) can be added without problems, no?

And please keep this suggestion in mind for the time, when you overhaul the Inspector and Level Properties window. Then would be a good time to change the priority of textboxes vs. hotkeys and to implement the simplified hotkeys.

PS: Alt+S and Alt+T had conflicts as well. Originally this opened the Selection resp. the Tools dropdown menu, similar to the still working Alt+F, Alt+E, Alt+V, Alt+H. But as these are useless functions anyway, I don't mind the remapping of Alt+S and Alt+T at all.
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: namida on February 01, 2016, 05:19:33 PM
I'll certianly keep it in mind, but I'm not sure how much can or can't be done without significantly overhauling other parts of the editor as well. Unlike the player code, which while a bit messy in parts, mostly makes sense at this point and most things can be done; the editor code is possibly the messiest, hardest-to-follow thing in existance, and most (not all, mind you) of the mess results not from modifications made before I really knew what I was doing, but simply from the original state of the editor's code (do keep in mind that the source for the stable version of the Lemmix Editor had been lost, and the NeoLemmix Editor was made based off an alpha version). Ideally I'd like to just replace the whole thing at some point, but I'm not sure if I'd ever actually get around to doing such a thing.
Title: Re: [SUGGESTION] [EDITOR] [ADDED] Simplify hotkeys
Post by: namida on February 04, 2016, 03:06:08 AM
Since there seems to be no new input on this that's practical at this point in time, I'm closing this topic now.