Giter Club home page Giter Club logo

Comments (3)

 avatar commented on August 19, 2024

try adding the following to the mod.txt to fix the error prefix
"localized": false
try holding the left mouse button and pressing the key you want to assign to the option

from payday-2-blt.

polarathene avatar polarathene commented on August 19, 2024

@goontest Your suggestion for setting the localized key works at preventing the ERROR: prefixes. @JamesWilko Perhaps the localized key should be treated as false when not set?

@goontest The hold left mouse button advice works at setting a keybind, thanks.
@JamesWilko This is not good UX and it's not clear that you must set keybinds in this manner via the docs(if at all?) or the UI screen for setting keybinds. If possible please trigger the input after a click and make a prompt for the user to press the key they wish to bind to.

The keybind provided here seems to run in menu but when using it in briefing screen of a lobby nothing happens in the console, both run_in_menu and run_in_game are set to true as you can see. I've replaced the code to run with just log("test") and now nothing prints to console or is written to the log txt file in mods\logs\, would seem the log() function is broken?

from payday-2-blt.

JamesWilko avatar JamesWilko commented on August 19, 2024

You are assuming that it is intentional that binding a key attempts to use the mouse button as the bind target. This was a glitch due to updates to the key binding system introduced in Update 91, see #41 for more information.

As keybinds are presented in the game using the menu system, they are localized by default like the rest of the menu system. Localized should be explicitly false if you do not wish to use a localization file.

from payday-2-blt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.