DRL > Requests For Features

Add runmode binding to insert (numpad 0)

(1/2) > >>

tylor:
I know it can be done by adding ["INSERT"] = COMMAND_RUNMODE, to keybindings.lua (and I did), but I think it should be standard feature.
Usually I move by right hand on numpad, left on f/r/tab, and comma is totally out of place for so often used function.

Also, I think TAB should be not used both for switch targets and running. I end up running by mistake too often. And I don't see how it can be altered by config.

Evilpotatoe:
I agree that TAB isn't handy at all, but I think the real improvement would be to add some UI in the game, allowing to bind keys without having to play with config files (and tough, without needing a game restart).
Looks like an important, but low priority feature to me.

For target switching, I don't use it, but indeed, it seems to be on the same function.
Maybe it's possible to call it with a function, like this ?


--- Code: ---["TAB"] = function()
              player.switch_target();
          end,

--- End code ---

I think some coders/modders could answer this.

While I'm at it, is it possible to create a binding like the following ?

--- Code: ---["3"] = function()
            if not command.quick_weapon('ashotgun') then
                if not command.quick_weapon('shotgun') then
                    ui.msg("No cool weapon :(");
                end
            end
        end,

--- End code ---

I looked at what I could in the modding sections of the wiki, but I don't thnik I could find such informations.

thelaptop:
Eh, not everyone has a numpad.  Think laptop users.

As for the possibility of the binding, why not just try it out in your keybindings file?  Be sure to make a copy of your current keybindings before doing it though.

Evilpotatoe:
Thanks for the suggestion, but I already did... all I managed to do is getting warning because I call non-existing functions, and as I said, I have no idea of where to get documentation about this.

Any tip about this would be appreciated.

Motorheadbanger:

--- Quote from: Evilpotatoe on February 22, 2013, 09:35 ---important, but low priority

--- End quote ---

Wat? :-)

Navigation

[0] Message Index

[#] Next page

Go to full version