Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

Prozengan

Uploaded by

Prozengan295

Virus scan

Safe to use

Tags for this mod

About this mod

This mod adds commands in the developer console to export or import any character in the game. You'll keep the exact same level as in your previous save, contrary to some other old tools which don't work fully since TW changed how the experience works.

Permissions and credits
Changelogs
Background
Hello everyone ! As probably many of you, I used to use the Character Import/Export mod back in the days. But since TW changed how the XP is managed, this tool doesn't work fully anymore, especially on the save of the experience. I know some other mods exist which allow to modify the heroes data from the game, but I wanted a simple tool as the CIE was, with a textfile to edit allowing easy modification. Maybe other people will want it too, so I share ^^

Two mod versions
- Console : only commands via the console
- GUI : Save / Load command also available in Encyclopedia


How does it work ?

Open the dev console with Alt+~ (QWERTY) or Alt+² (AZERTY). Then you have seven commands available:

  1. character_manager.help : Shows an help with command examples
  2. character_manager.save HeroName : Save the data of the character HeroName
  3. character_manager.load HeroName : Import the data of the character HeroName
  4. Notes :
    - You can use HeroName "main" to save/load the main character
    - You can use HeroName "companions" to save/load ALL your companions at once
    - R
    enown and influence are NOT loaded by default, go into the file and remove the # at the beginning of the lines
  5. character_manager.reset HeroName : All attributes at 1, perks reset, focus at 0, and all points available (skills level NOT changed)
  6. character_manager.resetfull HeroName : Reset attributes, skills, level, total experience, focus and perks (big thanks to rayler for the tip !)
  7. character_manager.godmode HeroName : All stats boosted, all perks (except Rogue Extraordinaire, apparently broken in 1.5.7) and adds 1m denars to the character
  8. character_manager.godmode_for_all : All stats boosted for every Hero in your save

  9. Additional notes


Once you exported the stats of a character, you can of course modify the file with notepad to put the stats you want.
If you want to save the data of the character XX and want to import it to the character YY, just change the filename from XX.txt to YY.txt, and import.
Characters with spaces in their name can be written exactly the same in the command, with spaces.

Installation
  1. Download the file
  2.  Open the archive
  3. Put the CharacterManager folder directly into the Mount & Blade II Bannerlord\Modules folder (so sur SubModule.xml file should be in Mount & Blade II Bannerlord\Modules\CharacterManager)
  4. Go to the CharacterManager\bin\Win64_Shipping_Client folder, right clic on the dll, and unblock the dll if required
  5. Start the game, load a save, a message should tell you the mod is ready

There is also the Vortex version. Back in the days it used to be there but I had multiple reports saying it didn't work properly, despite working on my side and other people. So if Vortex version does not work for you, install it manually.

Why can't I put values over 500 ?

Even if you put really high values in the txt file, the tool will bring them back to 500 to avoid crashes as the game won't support really high values. The level and the money are not affected by this limitation, but dont put too high values otherwise the game may not support it.


Save game compatible ?
There should not have any impact on the savegame, except of course the fact that the stats are changed for the characters. Also, it will probably be compatible with ALL GAME VERSIONS, unless one day the devs decide to completly change their API, which won't happen unless they are totaly drunk one day. If so, I'll update anyway :P Lastly tested on 1.5.8, works well on previous versions.
Note : GUI may not be compatible with other mods modifyng the encyclopedia page. The console version is compatible with any other mod.


Known problems and workaround
- If a skill level of a character should be 0, it is set to 1. It's because the API function I call to reset character skills bring them all to 1, not 0.
- Perks you set on a companion after a reset won't stay activated. Workaround : reset a companion, save the game, reload, assign the perks.

My other mods
Armor Craft Request : Make the town armorers craft any armor available in your game
True Relations Fix : Change notable relations depending of your actions
Stable Enabler : Create stable workshop to never lack war horses
Health on Kill Fix : Regenerate when you kill someone