shdwp
Recruit
I've made a library called UIExtenderLib which lets multiple mods modify standard game interface (apart from which is already supported by the API) like map bar or map info bar:
https://github.com/shdwp/UIExtenderLib
Because of the code architecture restrictions only single mod can add a button onto, for example, a navigation or info bar, the rest will effectively override the modifications, hence why the library was born.
It requires separate mod with actual runtime to be installed on user machine, it is recommended to use a dependency manager like Vortex or Community Launcher in order to automatically distribute latest version of the library:
There is also a couple of example projects which may interest you:
https://github.com/shdwp/UIExtenderLib
Because of the code architecture restrictions only single mod can add a button onto, for example, a navigation or info bar, the rest will effectively override the modifications, hence why the library was born.
It requires separate mod with actual runtime to be installed on user machine, it is recommended to use a dependency manager like Vortex or Community Launcher in order to automatically distribute latest version of the library:
There is also a couple of example projects which may interest you:
- BannerlordCampMod - adds ability to make player camps (adds a button on the bottom left bar)
- BannerlordHorseAmountIndicatorMod - adds horse amount indicator to the extender bottom right info panel