DRL > Discussion

Question about keybindings

(1/1)

Deathwind:
I was digging in the abandoned section of the wiki and I found a set of Nethack style keybindings, can you still bind to the F-keys?

Here are those bindings for reference
Spoiler (click to show/hide)[Keybindings]
Quit      = "Q";
WalkWest  = "4"; // orig. "LEFT"
WalkEast  = "6"; // orig. "RIGHT"
WalkNorth = "8"; // orig. "UP"
WalkSouth = "2"; // orig. "DOWN"
WalkNE    = "9"; // orig. "PAGEUP"
WalkSE    = "3"; // orig. "PAGEDOWN"
WalkNW    = "7"; // orig. "HOME"
WalkSW    = "1"; // orig. "END"
Wait      = ".";
Escape    = "ESCAPE";
OK        = "ENTER";
MoreInfo  = "m";
Enter     = ">";
Unload    = "u"; // orig. "U"
Pickup    = ","; // orig. "g"
Drop      = "d";
Inventory = "i";
Equipment = "e";
Open      = "o";
Close     = "c";
Look      = "/"; // orig. "l"
Fire      = "f";
Reload    = "r";
ReloadSpec= "R";
Use       = "a"; // orig. "u"
Help      = "?";
Playerinfo= "@";
Save      = "S";
Tactic    = "TAB";
RunMode   = "5"; // orig. ","

QK_Chainsaw  = "F1";  // orig. "0"
QK_Knife     = "F2";  // orig. "1"
QK_Pistol    = "F3";  // orig. "2"
QK_Shotgun   = "F4";  // orig. "3"
QK_AssaultSG = "F5";  // orig. "4"
QK_DoubleSG  = "F6";  // orig. "5"
QK_Chaingun  = "F7";  // orig. "6"
QK_Rocket    = "F8";  // orig. "7"
QK_Plasma    = "F9";  // orig. "8"
QK_BFG9000   = "F10"; // orig. "9"

tehtmi:
Binding to the F# keys still works.  In the style of keybindings.lua, e.g.

--- Code: ---F3 = function() command.quick_weapon('pistol') end,

--- End code ---

Note that the keybinding format has changed quite a bit since those nethack style keybindings were written, but it shouldn't be hard to update them if you are so inclined.

Deathwind:
It's worth it to have the center of my numpad be wait

Navigation

[0] Message Index

Go to full version