搜索结果: *

  • 用户:shdwp
  • 按日期排序
  1. shdwp

    UIExtenderLib: library to extend standard UI

    For some reason, when I use this, I can't make it work with any other mods. It works fine when I'm only using my mod. But no matter what the other mod does, won't work. Changing load order doesn't work either. Any tips?

    There is an issue in domain assembly loading scheme, where it will prioritize dependency assemblies that come first alphabetically during load. So, for example, if mod A depends on Harmony1.0 and mod B depends on Harmony2.0 only Harmony1.0 will be loaded and that will obviously wound't work for mod B.

    I'm still investigating the issue and will probably have some workarounds in the near future. For the time being you can scan your bin folders to find (possibly) outdated `0Harmony.dll`s.

    Update: I have made a temporary workaround by making a custom harmony dependency. This should resolve issues where different versions of harmony were used, but wouldn't prevent if those versions aren't runtime compatible (i.e. Harmony1 vs Harmony2).
  2. shdwp

    UIExtenderLib: library to extend standard UI

    Hey everyone!

    I've finished working on major UIExtenderLib update, now it doesn't require target machines to have a custom module installed, meaning that you can simply add it as a NuGet dependency and that's it!

    API stayed the same, so it should be rather easy to migrate onto 2.0.
  3. shdwp

    UIExtenderLib: library to extend standard UI

    Could you perhaps upload the compiled version of your Camp Mod? Or do you know why the game would launch without a problem but the button doesn't appear?

    Have you actually installed and enabled `UIExtenderLibModule`? All runtime is in that module, `UIExtenderLib.dll` is just an API for it.
  4. shdwp

    UIExtenderLib: library to extend standard UI

    Very nice! Glanced through the readme and will be playing around with this a bit later. Given some more work on this do you reckon it would be possible to patch in a new menu in the EscapeMenu?

    Escape menu aren't described in XML, but in code, which means that simple Harmony Postfix to the `GauntletMissionSingleplayerEscapeMenu.GetEscapeMenuItems` should be able to add menu items. Multiple mods will be able to add their separate menu items which means that this library is not actually needed for this particular use case.
  5. shdwp

    UIExtenderLib: library to extend standard UI

    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...
后退
顶部 底部