Looking at the code in the gtk client, it seems it does try to use
playername.keys on win32.
Ideally, we'd have functions like:
clear_key_bindings()
load_key_bindings(key set)
On client startup, it would load a default keyset.
It would then scan the keys directory, and turn each keyset found into a
menu option, so you could have an option like:
Key bindings -> (list of keysets to choose)
Selecting one, would clear the old bindings, and load the new ones.
You'd also have a save key bindings option, to save the current bindings, to
a certain name, or save them to be the default.
Does this seem logical? If so, I think I can manage to implement it (my C isn't
amazing, but the logic is simple enough I should be able to manage)
Thoughts?
[Topic Split] Options for keybinding management
Moderator: Board moderators
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
Should be easy enough, there would have to be a client command anyway, like:Aaron wrote:should be after you log in, it promts you to load a keybing set. it should also have a link in the menu so we can call it for spellcasting.bind and fighting.bind. then we could also map it to keys, so F11 does spellcasting, and F12 will be my warior.
keymap warrior
You could bind that to a key in a different keymap.
Might take some time, and cause a bit of confusion if you are binding keys to adjust
the key bindings, but the average player probably wouldn't bother, and those that
wanted to take the time, could enjoy the flexibility.
I'll start playing with this over the weekend, and see how it goes.