Hello all,
Recently got Bannerlord and have about 120 hours logged in already. Just had a small modding idea and started checking documentation and the few YouTube guides I could find.
My question is: Is it possible to add a new button next to 'Kick from clan'?
I have been reading the modding tutorial/guides for the last hour but haven't found much on this, yet.
And if it is possible, are there any mods that already does this that you can reference, so that I can check their code and learn how it's done?
What I have found so far, on the file system, is the following strings in files:
* module_strings.xml <string id="str_kick_from_clan" text="{=vvXTnr8i}Kick from clan" />
* std_module_strings_xml.xml <string id="vvXTnr8i" text="Kick from clan" />
However I do not know how/where code references this to generate the actual UI. I did see a message about UI being similar to a Microsoft technology (WPF) but that doesn't help me much as I never used it and unsure how to actually do it in Bannerlord.
And if it is not possible to modify the UI yet, would it make sense to add a global shortcut (such as F4, ALT+X or something) to trigger functionality (a function from a C# compiled mod) when looking at a "clan member profile" in Clan section?
Thanks!
Recently got Bannerlord and have about 120 hours logged in already. Just had a small modding idea and started checking documentation and the few YouTube guides I could find.
My question is: Is it possible to add a new button next to 'Kick from clan'?
I have been reading the modding tutorial/guides for the last hour but haven't found much on this, yet.
And if it is possible, are there any mods that already does this that you can reference, so that I can check their code and learn how it's done?
What I have found so far, on the file system, is the following strings in files:
* module_strings.xml <string id="str_kick_from_clan" text="{=vvXTnr8i}Kick from clan" />
* std_module_strings_xml.xml <string id="vvXTnr8i" text="Kick from clan" />
However I do not know how/where code references this to generate the actual UI. I did see a message about UI being similar to a Microsoft technology (WPF) but that doesn't help me much as I never used it and unsure how to actually do it in Bannerlord.
And if it is not possible to modify the UI yet, would it make sense to add a global shortcut (such as F4, ALT+X or something) to trigger functionality (a function from a C# compiled mod) when looking at a "clan member profile" in Clan section?
Thanks!