Documentation icon indicating copy to clipboard operation
Documentation copied to clipboard

Live edit: ui.toggle_debug_mode missing

Open ts-23 opened this issue 4 years ago • 3 comments

I followed the docs for live editing here https://docs.bannerlordmodding.com/...csharp.html#how-to-enable-use-live-ui-editing

After opening developer console in game with alt+~ The command ui.toggle_debug_mode does not exist. Has it been removed or am I missing something?

How do you setup live editing of UI? For example, edit questScreen.xml without restarting the game?

Thank you in advance.

ts-23 avatar Jun 20 '20 13:06 ts-23

Hello! image Did you completed this step?

Anakael avatar Jun 20 '20 15:06 Anakael

Hello! image Did you completed this step?

Bannerlord latest version now supports console out of the box, but maybe we still need that mod. I will try, thanks.

image

ts-23 avatar Jun 20 '20 17:06 ts-23

Running into the same thing - the DeveloperConsole Mod is no longer supported, (and the game crashed when I tried to load it anyway), and the official console does not support the ui.toggle_debug_mode which was specific to that mod.

Is there a native developer console equivalent?

Though it's worth noting that it seems like the relevant XML files are read every time the UI displays, so maybe this "debug mode" isn't necessary as you can update the UI by reopening it. It'd be nice if it happened automatically (which maybe how the DeveloperConsole mod command worked, not sure), but at least you don't have to reload the entire program to test every XML change.

Retsam avatar Feb 20 '21 22:02 Retsam