Menu_id A unique identifier for your menu, so that the game can find and display your menu when it is clicked. The set of basic keys that determine where your menu button appears, and how it appears in the menu. If you want to have your menu appear in a different location, you will have to find the ID of the menu you wish to add it to. If you are adding an options menu for your mod, use this ID, as it will automatically added to your Options/Mod Options menu. This is ID of the parent menu for all Lua mods. ![]() It is already fully documented in guiding you through the setup of a Json loaded menu. All you have to do then is implement the callback handlers for your menu, so that you can process any user input.Ī fully working example is available in the Example Mods of the Payday 2 BLT. Json Menus allows you to load a json file which will automatically create, layout, and setup all elements of your in-game menu for you. ![]() In-game menus can have their layout created in a json-formatted text file, instead of defining each individual element in a Lua script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |