Mythruna

General Category => General Discussion => Topic started by: Nebin on May 10, 2012, 10:25:41 AM



Title: Key bindings
Post by: Nebin on May 10, 2012, 10:25:41 AM
Hey

I've started to check this game out on my own, and i must say it's (gonna be) brilliant.

I do have a minor problem: i do not have a qwerty keyboard, and as such, playing is very difficult.
Is it possible to give the option to change your keybindings?

Thank you, and apologies if i posted in the wrong board


Title: Re: Key bindings
Post by: pspeed on May 10, 2012, 12:53:14 PM
Hey

I've started to check this game out on my own, and i must say it's (gonna be) brilliant.

I do have a minor problem: i do not have a qwerty keyboard, and as such, playing is very difficult.
Is it possible to give the option to change your keybindings?

Thank you, and apologies if i posted in the wrong board

Sorry you are having trouble.  The board is fine.

I've been delaying putting configurable key bindings in because a) the types of bindings will still change very often and b) it takes a lot of time to make a proper key binding UI.

Still, if I understand what a few other standard bindings would be then maybe I can support non-qwerty keyboards without having to build a fully configurable key binding user interface.  That might solve the problem at least for the main movement keys.


Title: Re: Key bindings
Post by: Nebin on May 11, 2012, 02:01:40 AM
I use a (Belgian) azerty keyboard
(http://en.wikipedia.org/wiki/AZERTY) - wiki link

I understand this is hardly a priority, but thanks for looking into it :)


Title: Re: Key bindings
Post by: pspeed on May 11, 2012, 11:07:41 PM
So, one of the benefits of having a scripting engine already built in with hooks in various places is that I can temporarily solve some problems like this.

I'm attaching a script that can add AZERTY keyboard support to your Mythruna install.

Installation:

In your Mythruna install directory (where you have client.log, lwjgl.dll, etc.) make a directory called "mods".

Under this directory, make a directory called "ui-init".

So you will end up with something that looks like:
mythruna/mods/ui-init

Save the attached script into that directory.

When you run Mythruna again, you should now have Z and S to move forward and back and Q and D to move left and right.  (The original WASD mapping is still there also.)