Page 1 of 2

Posted: Thu Mar 17, 2005 1:27 pm
by Rednaxela
Aurg... I find that it's hard to find enough keybinding space on a desktop keyboard, let alone a palm pilot or something :P

Posted: Thu Mar 17, 2005 3:05 pm
by cavesomething
that leads to another point [cue topic split] keybinding profiles, by which I mean sets of keybindings that are mapped to different characters or servers. and which the client can switch between. This would make it easier to map certain keys, because then a set of keyboard mappings would only need to cope with one character.

Posted: Thu Mar 17, 2005 7:00 pm
by Mith
easy enough... useradd :P

Posted: Thu Mar 17, 2005 8:15 pm
by cavesomething
It is somewhat inconvenient to have a user for every crossfire character though, especially since I tend to install clients in $HOME

it also wouldn't preserve other settings, such as screen size and window layout, changing them a half dozen times would be at best inconvenient.

Besides which it is possible that the same character may want to have two different bindings, one for chatting and trading, one for questing and fighting.

hmm, I wonder if I could adapt cfclient to start acting more like vim (consider the fun that could be caused by players diving on the escape key to change out of insert mode :twisted: )

:wq

Posted: Thu Mar 17, 2005 11:56 pm
by woo
I just run a froentend script to my crossfire client allowing me to select the keys file i want loaded - i.e.
crossfire woo
crossfire majorwoo
etc...

Posted: Fri Mar 18, 2005 12:21 am
by Cowboy
cavesomething wrote:It is somewhat inconvenient to have a user for every crossfire character though, especially since I tend to install clients in $HOME

it also wouldn't preserve other settings, such as screen size and window layout, changing them a half dozen times would be at best inconvenient.

Besides which it is possible that the same character may want to have two different bindings, one for chatting and trading, one for questing and fighting.

hmm, I wonder if I could adapt cfclient to start acting more like vim (consider the fun that could be caused by players diving on the escape key to change out of insert mode :twisted: )

:wq
I don't know about the window positionings, but I'll see what I can come up with for changing
keybindings. It doesn't seem that difficult, in theory, but I havn't looked at the code for it yet.

Posted: Fri Mar 18, 2005 12:27 am
by cavesomething
And are you going to add a new keybinding for it? :D

Posted: Fri Mar 18, 2005 12:59 am
by woo
keybindings and window sizes are stored in different files (on *NIX anyhow)
keybindings are stored in ~/.crossfire/keys
window positions are stored in ~/crossfire/gdefaults and ~/.crossfire/gwinpos

Theoretically it would be possible to take this and just have the server check for a bindings file ~/.crossfire/<charactername>.keys and failing that, fall back on ~/.crossfire/keys

Posted: Fri Mar 18, 2005 1:11 am
by cavesomething
there could be an issue there though, I can change keybindings before connecting to a server.

Posted: Fri Mar 18, 2005 5:46 am
by Rednaxela
I wonder... would it work to make a keybinding to switch keybindings :P Of course, that currently is limited severly due to the max length of one keybinding...