Customise Use key mappings
Brought to you by:
bob_the_hamster,
teeemcee
Pressing the CTRL key does everything that the ENTER key does.
For example, when facing a "use" activated NPC, the CTRL key will activate it. The CTRL key will also advance text boxes, select menu items, etc. It's acted as such on every Windows operating system I've ever used, but there's still a chance I could be crazy...
There is a known bug in nightly builds where pessing Space or Ctrl results in
key is pressed(key:enter)returning true, which I intend to fix before Fufluns is released, but you marked the version on this bug report as Etheldreme, and it's not clear whether that's what you're reporting... what is your complaint? Are you using nightly builds?I'm not using a nightly; it's indeed the Etheldreme release (and every release prior to that I can recall).
I meant everything literally: the CTRL keys (left and right control keys on PC), when pressed, are doing everything that the ENTER key does. The keyispressed script seems to be able to distinguish the CTRL and ENTER keys from one another, but the core game.exe is treating the CTRL like a second enter key as far as function.
Yes, Space, Ctrl and Enter have always been the Use keys. Why's this a problem? If you found somewhere that one worked but the others didn't (except in certain of the editors), that would be a bug.
Maybe you want some way to make Ctrl not act as a use key, so you can script some other meaning for it? That's possible already, but soon I hope to add a simple way to define key mapping.
I've tried to use it as a traditional modifier to other key presses and always assumed it was a bug that it acted like a "use" key. CTRL is also a popular hotkey for chat programs like venrilo or discord.
Well, sorry about that. I guess this thread should be a feature request along the lines that you suggested: to be able to disable the CTRL key for "using" (or even a custom keymap).
OK, I changed it to a request.
Hmm, that reminds me that I want to make Shift an alternative to Ctrl for all the debug keys that include the Ctrl key. Activating menu items and NPCs when you're trying to hit a debug key is really annoying.
This bug has been migrated to our new issue tracker on Github: https://github.com/ohrrpgce/ohrrpgce/issues/1102