You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm working on converting all my cheat hotkeys to ButterLib's hotkey implementation.
Unfortunately I am unable to create a custom hotkey category. Whenever I try to set a custom category, the hotkeys do not show up or the game freezes on opening the options menu.
I was trying to do something like this:
public class SubModule : MBSubModuleBase
{
protected override void OnBeforeInitialModuleScreenSetAsRoot()
{
base.OnBeforeInitialModuleScreenSetAsRoot();
var manager = HotKeyManager.CreateWithOwnCategory("BannerlordCheats", "Cheats");
manager.Add<AddMoneyHotkey>();
manager.Build();
}
...
}
Hi, I am currently not actively working on my mod, so it's not important right now, but maybe I'll continue with this in the future. Can you see any reason in my code for why the custom category is not working? Are custom hotkey categories even possible?
Hi, I'm working on converting all my cheat hotkeys to ButterLib's hotkey implementation.
Unfortunately I am unable to create a custom hotkey category. Whenever I try to set a custom category, the hotkeys do not show up or the game freezes on opening the options menu.
I was trying to do something like this:
Am I missing something?
The text was updated successfully, but these errors were encountered: