Ebony Spire: Heresy

Ebony Spire: Heresy

Adoru Nov 3, 2017 @ 5:56am
Keys rebinding
Can you implement a way to rebind keys, please?
Or, at least, let arrow keys turn and not strife.
I'm left-handed, and currently playing the game is a bit difficult for me. :(
< >
Showing 1-15 of 18 comments
Zapa  [developer] Nov 3, 2017 @ 5:57am 
Hi Adoru! I just released a patch, but tell you what: I'll start working on adding a way to change keybindings now and bring it up in the second patch! Going to do it as fast as I can!
Last edited by Zapa; Nov 3, 2017 @ 5:57am
Zapa  [developer] Nov 3, 2017 @ 7:24am 
Hey Adoru! Overhauling the main menu and adding an Options Menu with full support for all the options would have taken at least a few days and I did not want to leave you out of playing the game so long so I added a quick way to rebind the keys manually. The update also makes <- and -> default to turn camera!

You can change the keys by navigating to the game's root folder and opening up keys.lua in your favorite text editor! You should see something like this:
ACTION_FORWARD = KEY_W ACTION_FORWARD_UP = KEY_UP ACTION_DOWN_S = KEY_S ACTION_DOWN = KEY_DOWN ACTION_MOVE_LEFT_A = KEY_A ACTION_MOVE_LEFT = KEY_NOTHING ACTION_MOVE_RIGHT_D = KEY_D ACTION_MOVE_RIGHT = KEY_NOTHING ACTION_TURN_RIGHT_E = KEY_E ACTION_TURN_RIGHT = KEY_RIGHT ACTION_TURN_LEFT_Q = KEY_Q ACTION_TURN_LEFT = KEY_LEFT ACTION_USE = KEY_SPACE ACTION_ENTER = KEY_ENTER ACTION_INVENTORY = KEY_I ACTION_LOG = KEY_L ACTION_BACK = KEY_ESC ACTION_QUIT = KEY_ESC ACTION_OPEN = KEY_O ACTION_THROW = KEY_T ACTION_VIEW = KEY_V ACTION_CLIMB_STAIRS = KEY_BRACKET_NEXT ACTION_DROP = KEY_P ACTION_PICK_UP = KEY_P ACTION_FAVORITE = KEY_F ACTION_HELP = KEY_QUESTION ACTION_VIEW_MAP = KEY_M ACTION_VIEW = KEY_V ACTION_PAGE_UP = KEY_PGN_UP ACTION_PAGE_DOWN = KEY_PGN_DOWN ACTION_VIEW_STATS = KEY_2

It's a bit crude and rudimentary and not all Key's have Macro's yet but it should be enough to get you started properly with the game :)

Last edited by Zapa; Nov 3, 2017 @ 7:26am
Adoru Nov 3, 2017 @ 7:40am 
Awesome!
Thank you very much.
Zapa  [developer] Nov 3, 2017 @ 7:43am 
You sir are very much welcome! Thank you for supporting the game! It means a lot to me :). If you have any other suggestions, let me know! The game will be updated for a long time from now on!
Adoru Nov 3, 2017 @ 9:09am 
Well, I'd like to see some NPCs, especially traders. I guess, it's in plans, since items have value and entities have "isCreature" flag?
Also, I can't see, what is the purpose of the "view" action... It's always the same.
Zapa  [developer] Nov 3, 2017 @ 9:21am 
The view action is used when nearby enemies to asses what their inventory contains. In the future it can be used to describe information about the NPC's state (Angry, Scared, etc).

Shops/Traders are quite a requested feature and it will be coming in the procedural dungeons!
Tchey Nov 5, 2017 @ 9:27am 
It seems i cannot really rebind my keys. I edited the key.lua but the keys i set are not responding ingame.

I can still play with arrows, but i wonder why the file can't "register" my entries. I guess it's because of my weird keyboard, but then why ?
Zapa  [developer] Nov 5, 2017 @ 9:33am 
Because the code for the keys you are using is different from the "regular" keyboard. Your A key code is not the same as the A key code for a standard keyboard. I'm working on the Beta updates now with procedural stuff but I'll add an entry somewhere where you can rebind the keys in-game. It's going to take me a little bit to do though!
Tchey Nov 5, 2017 @ 9:34am 
It's not priority, i guess i might be the only french+linux+bépo around the game, so... It can wait, as the game is playable (not just in the best form).
Zapa  [developer] Nov 5, 2017 @ 9:36am 
Well, best form is what I'm trying to achieve for all my players and I'm pretty sure you're not the only one without a standard keyboard so this needs to be done. Also, glad to see your playing on Linux! It's my main OS (and development OS).
Tchey Nov 5, 2017 @ 9:59am 
Maybe yes.
I don't get, why my "F" key is still the correct key to Favorite a spell ?

And why when i set for example "U" instead of "D" by default to move Left, both U and D do nothing ?

And why the universe ?
Adoru Nov 5, 2017 @ 5:25pm 
My primary OS is Linux too (even though there's W10 installed as well, used only for a few games).
Nargasse Nov 21, 2017 @ 1:19am 
Confirmed that we need some tools to rebind key, i'm a Linux user, but also Azerty user, moving with zqsd on a qwerty setup is kind of hard. :)
Last edited by Nargasse; Nov 21, 2017 @ 1:30am
Zapa  [developer] Nov 21, 2017 @ 3:02am 
Hi Nargasse, I'm on it! Struggling a bit with the UI in this case but I'm on it!
Zapa  [developer] Nov 21, 2017 @ 7:51am 
@Nargasse @Adoru @Tchey: Progress report![imgur.com]

I have a basic key rebinding system working! Now my problem is on how the key codes are handled by non QWERTY keyboards. So in case a key code is not the same across keyboard it will just assign that key to a number (internal key code). It will just not display as the "A" key but as a 116 or something.

I need to pretty-fy the menu now and make sure no problems appear but we should be good to go in a few days! Thanks for hanging out and waiting. It will be better soon guys!

I appreciate the patience.
< >
Showing 1-15 of 18 comments
Per page: 1530 50