Page 1 of 1
Improved keyboard support
Posted: Fri Nov 02, 2018 9:14 am
by pango
Many things can be triggered from keyboard already, but sometimes I wish for more
Like <T> <H> to ride horse and <T> <F> to dismount, that kind of thing.
Shortcuts in menus:
- Yes/No
- Travel menu
- Talk/Sell/Repair
- ... (you name it)
Difficulty here may be to make those shortcuts translation-ready.
Re: Improved keyboard support
Posted: Fri Nov 02, 2018 9:15 am
by pango
And the elephant in the room, but harder to implement...
Reaching for your spellbook or worse your list of trinkets and potions break the rhythm of combat:
- keyboard shortcuts for spells and magic items.
They're obviously too many to map them all, so assignments would have to be user-modifiable.
Re: Improved keyboard support
Posted: Wed Sep 11, 2019 1:22 am
by pango
I started adding keyboard shortcuts to standard dialog boxen:
https://github.com/Interkarma/daggerfal ... rd-support
They're several "special" dialog boxen, rest, travel, so this is far from complete...
Re: Improved keyboard support
Posted: Wed Sep 11, 2019 7:09 pm
by Cliffworms
Great ideas!
Using the "Use" key to quickly close loot/shopping/dialogue windows would be great too.
It would make for faster interactions, especially when you are asking around for rumors and have to ask several NPCs in a row.
Re: Improved keyboard support
Posted: Wed Sep 11, 2019 8:32 pm
by pango
I added support for options menu, rest menu, transportation menu.
I used the same Yes/No shortcut settings for dialog boxen and daedra princes prompts.
Also, I moved hardcoded loading screen and travel map shortcuts to external settings.
I'm not sure how to enumerate all the menus that exist in game; Guild prompts, shop prompts, it seems they're plenty and I'm sure to forget some of them...
(Same URL):
https://github.com/Interkarma/daggerfal ... rd-support
Re: Improved keyboard support
Posted: Sat Sep 14, 2019 11:47 am
by pango
I borrowed the HotkeySequence class from the Automap, extended it to support both physical and virtual modifiers (say, not only have LeftControl and RightControl modifiers, but also Control that matches either), then switched modifiers logic to ANDed instead of ORed together...
So for example the Inventory categories can be mapped to F1, F2, F3 and F4, or Control-W for weapons, Control-C for clothing, etc.
https://github.com/Interkarma/daggerfal ... rd-support
Re: Improved keyboard support
Posted: Sat Sep 21, 2019 9:53 pm
by jayhova