Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

Оцінок: 1,087
BannerColorPersistence with BannerPaste
4
5
7
3
3
3
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Utility
Game Mode: Singleplayer
Compatible Version: v1.2.0, v1.2.7, v1.2.8, v1.2.9
Позначки: V1.2.1, v1.2.2, v1.2.3, v1.2.5, v1.2.4, v1.2.6
Розмір файлу
Додано
Оновлено
767.831 KB
15 жовт. 2022 о 11:32
15 груд. 2023 о 8:05
Змін 12 ( перегляд )

Підпишіться, аби завантажити
BannerColorPersistence with BannerPaste

Опис
Description
BannerColorPersistence provides a variety of fixes that allow the continued use of complex banners including those generated via web based banner editor[bannerlord.party] and pasted into your game as well as custom banners configured via other mods. Some such problems include:
  • Banner icons changing to background color
  • Banners being ruined on joining a kingdom
  • Clothing/armor colors not aligning with your banner colors while in a kingdom
  • Crash to desktop when opening an inventory or trade screen while using a banner with multiple icon layers
The default behavior of this mod is to prevent your banner and clothing colors from changing when you join a kingdom. There are configuration options to permit the color change but using them is recommended only if you have a good understanding of how the banner colors are applied and have built a banner to specifically work with the change.

BannerColorPersistence comes with BannerPaste built in! Courtesy of and with permission of gooboon, original creator of the BannerPaste mod, this is the only mod you'll need for pasting your custom banner codes into the game.

Requirements
You must have the latest version of Harmony installed and loaded prior to BannerColorPersistence

IMPORTANT PLEASE READ
If you have ever installed BannerColorPersistence or Harmony via NexusMods and are now subscribing to them via Steam Workshop, I strongly suggest you REMOVE those mods from the Bannerlord/Modules folder. Steam does not save mods to the same folder and structure so by Subscribing to a mod and having it installed in your Modules directory you will be causing conflicts and are susceptible to crashes.

Custom Banner Info
In the context of this mod, a "custom banner" refers to a banner created with multiple icon layers to create a more detailed and complex design. These banners are largely created by using the web editor[bannerlord.party] and pasting the generated code in the in-game editor or via the xml files. Pasting the code in-game requires the BannerPaste functionality, which is now provided by BannerColorPersistence.
Please visit the r/BannerlordBanners subreddit to see a wide array of custom banners created by the community and check out the pinned tutorial there as well.

Configuration
BannerColorPersistence includes a few configuration options for those who need it. For most users, these should be left to the default values. Modification of these values for the SteamWorkshop is currently trickier than intended. You'll need to navigate to your SteamLibrary/steamapps/workshop/content folder and then located the folder containing BCP. From there, navigate to \bin\Win64_Shipping_Client and open the config.json file in your preferred editor. Replace the true or false values with your preference, save the file, and restart the game.
I am currently in the process of adding these configuration options to the Mod Configuration Menu for use in later releases.

ignoreKingdomColorChanges - defaults to true, prevents all kingdom color changes to your banner. Set to false if you want to allow background color changes when you change kingdoms. Essentially disables the mod.
preventNPCBannerColorChanges - defaults to false, should really only be set to true if you're running custom banners for your NPCs via some other mod such as CBU or POC
allowColorChangeOnIconsMatchingBackgroundColor - defaults to false. This one may work well for you or it may not. It's completely dependent upon your specific banner. The idea here is that if you're allowing background color changes on kingdom change, sometimes your custom banner uses icons in the same color as the background in order to block out and modify other icons. If you're only changing background color, those icons now become visible when they remain the original color and make your banner look wonky. This config option will attempt to change the color of those icons as well. BUT - and this is a very big but - the icons must match the background colors EXACTLY, and must match BOTH of the colors. Each background and icon have TWO colors associated to them and if both colors don't align, the change won't occur. This means that banners using multi-colored backgrounds probably won't change properly. It also means that if your banner was created without close attention to the secondary color of the icons, it also probably won't change properly. All that said, try this config out if you really want to see your banner changing with your kingdom change, but ignore it otherwise cause there's probably a pretty low chance of it actually working perfectly. Some people were asking for it though, so here it is.

Older Versions
If you're running older versions of Bannerlord and need this mod, you'll have to access it via Nexus[www.nexusmods.com]

Crashes, Bugs, Requests/Suggestions
If you experience a crash please try the following things:
  1. Read the important note I added to this page just a few sections above. TL;DR make sure you don't have previous versions of BannerColorPersistence or Harmony installed in your Modules folder. If you've subscribed to a mod via Steam, don't keep the mod in your Modules folder.
  2. Double check your versions. When you start the game, click the Mods tab and verify the version numbers on BannerColorPersistence, Harmony, and Native. As of this writing Harmony should be 2.2.2.140, BCP should be 1.4.0.x and Native should be 1.0.0.x. If those aren't what you have read the previous note again and make sure you've done that.
  3. Utilize a tool such as ButterLib or BetterExceptionWindow to provide a detailed crash report
  4. Visit BCP on NexusMods[www.nexusmods.com] and provide a description of your problem and the saved crash report in the POSTS or BUGS tab.

If you experience bugs, leave a comment here or visit BCP on NexusMods[www.nexusmods.com] and make a POST or BUG report. Please include a detailed description of the bug to the best of your ability as well as the versions of Bannerlord, BCP, and any other mods you're running.

If you have any requests or suggestions to make this mod better, leave a comment or visit BCP on NexusMods[www.nexusmods.com] and leave a POST.
Коментарів: 246
Xucan  [автор] 21 жовт. о 17:17 
Yea, Steam makes it a bit tricky to modify a config file like that. Glad you were able to find it.
Cheers
Morgue Loot-Hoarder 20 жовт. о 1:44 
I have found it. Apparently I had to look for the ID-Number of the mod, provided by Steam, since all the folders are named by numbers. Now I can try to set the right configuration for CBU, thank you
Morgue Loot-Hoarder 19 жовт. о 17:01 
Thanks for the fast response. Where exactly do I find that configuration? I've tried searching for it in the config.json yet there was no such configuration, as I searched it through ctrl-f
Xucan  [автор] 19 жовт. о 16:53 
@Morgue Loot-Hoarder
You'll need to modify the preventNPCBannerColorChanges configuration setting to true.
Morgue Loot-Hoarder 19 жовт. о 16:37 
Hi, I am using CBU in extension to this mod and somehow, all the other factions' banners would mostly be blank. Is there a way to fix this? thank you in advance.
Gguy 23 верес. о 12:22 
I disabled the persistence option personally, as I like consistency with other in game banners, but other than that, I simply adore this mod. A banner says as much about a person's personality as the way they dress and act, and this really adds another level to my characters.
MattE/Bierbaron 16 верес. о 10:35 
Cant start the old realms mod. crashes even with harmony every time.
Late Game Wonder 9 верес. о 4:37 
I wish this worked with steam deck.
It crashes the game on steam deck
Player2Person 24 серп. о 23:44 
is there a version of this mod that allows me to change my kingdom colour after creation
TheEmperorsWill 16 серп. о 16:53 
i successfully loaded into campaign once, but when i attempted to move for the first time, it crashed the game. every attempt since has crashed after banner creation (not at banner creation). i do see clothes though. is this alongside the other issues where i have to make it a manual mod?