Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

Nightmaremen-NooCrash

Uploaded by

Nightmaremen

Virus scan

Safe to use

About this mod

Adds mutliple options for basic Diplomacy which are completely missing from the game:
-Basic&Advanced Politics(War,peace,passingFiefs,Paid wars,Truce)
-Choose if you keep your own Fiefs(Keep captured Fiefs)
Supports localization

Requirements
Permissions and credits
Translations
  • Turkish
  • Spanish
  • Russian
  • Portuguese
  • Polish
  • Mandarin
  • Italian
  • French
  • Czech
Changelogs
This mod will be deprecated as of 1.4.1 as Diplomacy has been included in this patch anyway. Do not start a new savegame with this mod after that patch, as it will make your savegame unloadable when deactivating this mod.
This mod will not receive any further patches, and is delivered as is.

Post proper bug reports please! 

Spoiler:  
Show

When facing a crash, bug or Error, please be sure to post a proper report! If you dont know how to, on the bottom of the Page i included a guide!
Having Bug reports like "My game crashes when i start the game" or "when trading fiefs i crash/get Error xyz" are not very helpful in the process of fixing a bug!
Better would be
"Hey ! im playing on the beta branch with the beta version of the mod, and when i trade a fief, my game crashes, it doesnt output an Errorlog, but i can replicate it even when having any other mod disabled"
as there is alot of usefull information included helping me out find and fix bugs, should i be able to.
I will not support Bug reports, that contain no information "My game crashes with the mod" , go in a different language than english, or are just completely cryptic about whats going on!


ATTENTION THIS MOD SAVES DATA (version 1.2.8+)
This mod saves data in your savefiles, to be able to persist things like truce, conversation-cooldowns and more to come !
This also means, that your savefile WILL NOT BE USABLE without the mod, as theres currently a bug that stops the loading of savefiles without mods that added variables to given savefile. There is a mod that fixes this bug available here on nexusmods, should you decide to uninstall this mod, whilst keeping your savegame, it´s still a risk, as this process of reverting might corrupt your savefile forever.
Before installing this mod, make sure to have a Backupsave , so you can always rollback in case you need to.
Should you want to revert this change check out the mod Save Missing Module Fix (https://www.nexusmods.com/mountandblade2bannerlord/mods/282)
and be sure to follow instructions! I will not try and fix corrupted savefiles that were corrupted either by this mod or the error-fixing mod, so be sure to have a backup!

GENERAL Description

This mod gives you basic Diplomacy options that are currently missing from the Game, such as declaring war on someone, without tributing relations and criminal status by raising a village.
You can use these options, by going to any of your Cities selecting "Diplomacy" and then selecting which Kingdom you want to interact with.
When selecting declare war, you will then be at war with selected Kingdom.
When selecting Enter conversation, you will be taken to a face to face conversation with the respectives Kingdoms Leader, removing the need to run around looking for them, enabling Peace-Barters, general-barters and any conversation topic you might need from given leader.
This also helps when ai in your Kingdom randomly declare war or peace on other Kingdoms, which can be really frustrating.
This mod ALSO  removes the Relationshiploss on deciding who gets a captured settlement when going with the mayority(The loss is currently bugged and seems to only happen at random occasions)

These features are only available to you, should you be the Factions- leader.
All castles and cities this feature is available at, are settlements of your own faction.

DO NOT DO THESE THINGS
Spoiler:  
Show

Here, i´m going to give you an overview of known issues that WILL result in either a crash, bugged state of the game(need to restart) or similar, and will probably not be fixed in the near Future, as they´re hardcoded into the game itself the way i implemented them.
DO NOT:
- Join a Leaders army when in the Mods menus. You will be joined into their army, though the gamestate will be severly bugged, as your camera will be locked in place(on the location you were at) you can´t move and can´t move the camera/exit the menu!!!! It´s Unknown why this exactly happens, but i assume the game doesn´t update properly when leaving a conversation.
- Raid a village while on truce, this will get your game to crash due to the mod trying to reset the declared war while it can´t.
  This is an issue i will try to resolve but can´t promise i will be able to.
- Use buttons in the menu when bugged. This happens when saving within the menu and reloading. You will be at a menu with a placeholder background saying temp. DO NOT START A CONVERSATION HERE, it will crash your game, as the reloading undermines the integritiy of the mods variables!
- Talk to defeated leaders. It´s hard to tell but this may or may not cause weird behaviour in the game. This bug allows you to take prisoners that were defeated by someone else, when talking to them right as they were defeated.While not causing major bugs, you will be prompted with a dialog that would usually appear when you defeat an army ("II´m at your mercy")
- Corrupt the Settings.xml or the lang_Eng xml! when working with these files, be sure to follow the instructions properly, as these files are fatal.
When corrupt different problems, bugs and errors might occur, i.e. Settings not loading correctly/at all language changing to any random language thats not corrupt or no language at all, and similar. In extreme cases the mod might keep on crashing your game. 


Game crashing (on startup)?

Spoiler:  
Show

Try unblocking the dlls!
Windows flags dlls downloaded from the internet as "suspicious" by default, which usually helps out your security.
Though, it is also a known issue with Bannerlord, that blocked dll´s can cause a crash when the game is starting up.
To unblock the dll, head into the Mods folder, head to bin > Win64_Shipping_Client and rightclick>properties on the included dll.
On the bottom of the Property prompt, unblock the file and try again, often this fixes the issue!

Do not modify critical files!
Do not modify Files in the mod folder. corrupted files, incorrect SubModule.xml, or(in this case) corrupted language files can cause the Mod to simply not be able to load. If you DID modify one of these files, and it does crash, try resetting or redownloading it to set it back to default.

Check other mods for issues aswell!
Try to load the game with all other mods disabled, as all versions are tested, even if only by me , meaning ,they at some point had to work before being released! Remember that all mods can cause issues with the game, not just those that are enabled in the launcher.

Check, if youre running the correct version!
Because the mod is using some systems that are subject to change, and have been changed recently in the beta-branch of the game, this mods
File-Page contains 2 Files, one supporting the Main branch and one supporting the Beta version of the game. When using the incorrect version of the mod, the mod is almost guaranteed to be crashing the game at some point, especially when features that are subject of this change are used!

Check, if theres been an update super recently!
I will try to keep this mod updated and working with every change in the Game, as long as the mod is necessary! But aswell as you i sadly cant work faster than anyone else. If your game suddenly crashes on the mod, and you didnt change anything, probably something in the library changed that doesn´t cope with the mod very well. In this case, theres nothing we can do, but wait till i got a patch online that addresses the changes made to the game:(.

If theres an Error saying "could not find Directory" or similar there´s easy help!
This Error should actually have been resolved in the 1.2.3hotfix1&2 versions and normally, the mod will go ahead and create given folder&file for you!
Sometimes, it seems like the mod does not actually do this, probably because of permission issues/blocking issues or similar.
You can go ahead and solve this problem very easily tho.
If this folder and file do not exist go ahead and in the main folder of the mod:
  • Create a folder named "ErrorLogs"
  • In this creates folder, create a file called "Errors.log" you can change the ending by enabling fileendings in the top of the Explorer under "View>Fileendings
Usually this will fix the Error completely and the mod should load just fine!This issue can also occurr when upgrading from an older version via the Mod-Manager!

Check the known incompatibility issues-Section!
Incompatibility issues are weird in this game, as they might occurr for some, and might not occurr for others. Usually the mod will work with almost every other mod, that doesnt modify the mechanics, tackled in this mod, though sometimes, incompatibility with mods can occurr with the most random mods, whereas expected incompatibilities,  often just work fine.


How to access:
Spoiler:  
Show

For the Menus to appear you will need to fullfill the follwing Conditions:

Conditions for all Menus:
  • Be a Member of a Kingdom,any Faction that is not a Kingdom will not suffice for any of the Features
  • Head to any greater settlement that belongs to your Kingdom, Castles and Towns are what you will need to enter.


Conditions for "In-Kingdom" Diplomacy:

  • To Gift Fiefs to other clans, you of course will need to own a Fief,
  • Talking to other Leaders is always enabled, Conditions for all are met

Conditions for "Outer" Diplomacy Menu:

  • For the "Diplomacy" option to appear you will need to be the King yourself of the Kingdom.
  • To declare war against a Kingdom, you will of course need to not be at war with it
  • Should all Conditions be met, talking to other leaders is always enabled, tho when they are imprissoned, you will be prompted with a "Im not allowed to talk to you" (Known issue)

Conditions for the "Keep Fief" Prompt:

1. This is always enabled when youre member of a Kingdom, any status suffices.


UPDATE DESCRIPTIONS

Spoiler:  
Show

In Version 1.1.0+
As requested in this version, i added the Feature "Kingdom Diplomacy" which lets you do similiar things within your own kingdom.
You can now Gift other members self owned fiefs, aswell as enter a conversation with respective clan leaders of your kingdom.
Gifting a castle will increase your relation by 30 with given clan, gifting a City will increase it by 50.

In Version 1.2.0+
As suggested, in this version i added a Feature that lets you decide if you want to "Keep Fiefs" or "Pass" them to the usual vote as you capture them.
This Feature is something similar to the Mod  "RightfulOwnership" (currently not available anymore) but going a different route of implementation and removing singular Kingdomdecisions if you choose to, instead of shutting down the feature overall, thus removing the need to restart the game should you want to keep some and pass some.

In Version 1.2.3+
As requested by some few i added localization-support to the mod. Currently the Mod only supports German and English, check below on how to use it.
Also this mod added Errorlogging, leaving an "Errors.log"-File for modinternal Errors in "../Modules/DiplomacyReworked/ErrorLogs/" for caught errors.
When you report a bug, please check if it contains any logs, and include them in your bugreport, i should help me track down bugs and error way quicker.


In Version 1.2.4+
As requested by some people, i added a configurable cooldown timer to the "Enter Conversation"- Feature which will apply when declaring war on said faction.
The Timer is on 5 by default and can be edited in the Settings.xml  with the key "ConversationCooldown" (ONLY ENTER INTEGERS, else the config wont work),
or can be turned of completely by entering -1.
THis update also resolves an issue where the game would crash when leaving your faction via the Menus.

In Version 1.2.9+
From this version on, savegame support was added to the mod, cooldowns and such will now be persisted. This is ALSO the preparation patch for 2.0.0 which will finalize a small but effective set of tools in advanced diplomacy. This update adds truce aswell as Paid- wars for the wider public for testing, as truce has passed the Experimentalphase without any issues!


Language
Add a language
Spoiler:  
Show

As ive noticed that people seem to have missunderstood. DO NOT REUPLOAD ANY OF THE MODS MAIN FILES, including dll´s and all other compiled Files that might be added in the Future. When submitting your translation stick to the lang_*language_code* and the Settings.xml if you wish to, and remove other files, then, add a dependency to this mod, so people are noted to download the main mod first before installing the translation!
I will ask people who do reupload dll´s without permission to take down these Files.
This mod supports localization, currently supported by default are German,Chinese and English.
If you want to translate it yourself, the xmls for translations are located in "DiplomacyReworked/i18n/", this Folder contains a lang_Template, which will include empty fields for every translation needed. Fill them with translations of your liking!
Every "lang_*code*"-File also contains a key called "Language", this is the general identifier of the language.
This key will be the key identifying your translationg in the new "Settings.xml" located in the main mod folder, so pick a unique one from those already available.
If you wish to submit your translation, upload ONLY the lang_....xml and if you wish the settings.xml, and add a dependency to this mod to your page.
Also, remember to remove all Binaries on the mod when uploading your translation as they are not marked for free reupload.

Change language / 如何转换成汉语
Spoiler:  
Show


Every languagefile located in "DiplomacyReworked/i18n/" contains a key "Language". 
All you need to do to change the language is to check all files for your locale and change the key in "Settings.xml" (located in the main folder of the game) for "Language" to that exact key, and the mod should load in the translation of your liking.
Care when fiddling with "English" as it will be the backup that will be loaded when any of the other languages could not be read!

进入游戏文件夹下modules/DiplomacyReworked里面找到Settings.xml,用记事本(notepad)打开(不是写字板wordpad)。把English替换成简体中文。保存进入游戏就行了。


Submit a language
Spoiler:  
Show

Ofcourse, currently there are 3 languages supported, but making a translation is easy, if you want your language to be supported you can go ahead
and  submit your language in a separate mod(Marking this as prerequisite) , should a certain language be especially requested, let me know and i  can try to include it by default!


MANUAL INSTALLATION
Installation
Simply drag the .zip file into your Mount&Blades2 Bannerlords  /Modules folder (Located at ..\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\) and unzip the file. Add it to loaded mods in the launcher (located under Singleplayer / Mods in your launcher) and your good to go

FOUND A BUG?
Spoiler:  
Show

If you find a bug and want to report it!! 
Here a little checklist on how to report a bug most efficiently to avoid unneccessairy questions and help me find it quickly

  • Check if your game and mod are up to date so that you wont run into bugs that are already fixed. 
  • Check if you can replicate that bug, and if so check if you can still replicate it when all other mods are turned off(if you cant replicate it, chances are i cant aswell).
  • Should all these be checked you will need to do 3 very simple things:
  • Check if the Bugs tab already contains your bug, maybe someone already reported it, if not add a new one describing vague whats happening in the title
  • Check if you can manage to generate a crashlog, a stacktrace containing anything with the name of the mod in it is of most usefullness.Also with v1.2.3 the mod has internal error logging, leaving a log in "../Modules/DiplomacyReworked/ErrorLogs/" should it have been caught, check this for logs when reporting a bug first.
  • Describe the following things in your bugreport:-the game version(beta or stable/standard, How to replicate the bug(being able to replicate the bug myself makes it much easier to track), Things that might impact the bug itself(position in kingdom,tradepartner dead or similar))


Special Thanks to 
b站:悠悠小墨 (Chinese translation)