Console MOD and some practical codes
控制台MOD 及 部分实用代码
About this mod Machine translation
How to open the console
After downloading, copy [unzip] the DeveloperConsole folder in the compressed package to the X:\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\ directory
(For some players, all files will be locked after downloading. Just right-click and use properties to unlock. Just ignore it. Please see here for details. Note that it has nothing to do with the read-only attribute of the file.)
Start the game launcher, select Single player mode -> MODs and check the DeveloperConsole option after entering the game.
CTRL + ~ or Ctrl + Shift + ~ key combination to call out the console
You must re-open a new file to use this MOD. The old file cannot be used normally.
Because the old archive uses different modules, it is easy to have no effect.
If the official does not optimize this function, even if the official releases a new upgrade patch in the future.
Be sure to use a new save file as well.
I only guarantee that genuine users can use it normally, and I do not guarantee that other versions can be used normally.
Because of the testing environment, I tested it under the genuine version and it was valid before releasing it.
Updated to v1.3.2:
- Workaround for e1.1.0 KeyInput bug.
- Added ui.open_screen command (for opening parameter-less screens).
Updated to v1.3.1:
- Added DependedModules to SubModule until TaleWorlds fixes mod loading.
Update to v1.3.0:
- Added mission.spawn_prop command.
- Added mission.set_main_agent_health command.
- Added ui.toggle_debug_mode command (for mod developers).
Updated to v1.2.0:
- Developer Console is now enabled by pressing the CTRL and ~ (tilde) keys together in-game.
- Added campaign.list_active_quests command.
- Added campaign.cancel_active_quest command.
- Added campaign.complete_active_quest command.
Updated to v1.1.0:
- Developer Console is now enabled by pressing the ~ (tilde) key in-game.
- Added crafting.unlock_all_parts command.
- Removed Open Console button from title screen.
Console code:
config.cheat_mode 1
Turn on cheat mode 1 is on 0 is off
The game comes with cheating functions as follows:
Ctrl + Left Click - Hold down Ctrl and click on any point on the map to teleport
Ctrl + H – The protagonist is full of health
CTRL + Shift + H – The protagonist’s flattery is full of health
Ctrl + F4 – Stun an enemy on the battlefield
Ctrl + Shift + F4 – Stun all enemies on the battlefield
When you open the backpack in the game, all items and equipment will be listed, causing lag and other phenomena. You can use this command to close it again and then use the backpack function.
However, the console code needs to turn on the cheat mode to be effective, so please use the backpack function as appropriate.
crafting.unlock_all_parts
Unlock all accessories in the forge
campaign.add_gold_to_hero number
Get the specified number of dinars
campaign.add_renown_to_clan number
Gain a specified number of reputations
campaign.add_influence number
Gain a specified number of influence
campaign.change_hero_relation 100 all
Obtain all favorability of 100 [all refers to all NPCs, you can also specify the name of a certain NPC]
[List of NPC names of leaders of each force]
Northern Empire Leader Lu Song
Southern Empire Leader Rhagaea
Western Empire Leader Garios
Batania Leader Caladog
Kuset Leader Monchug
Sturgian leader Raganvad
Leader of Vlandia Derthert
Asele leader Unqid
As for other NPC names, it is recommended to change the game language to English and then check the character information [This method is recommended, otherwise it will be more troublesome to refer to the file]
Or refer to the game files yourself.
Mount & Blade II Bannerlord\Modules\SandBox\ModuleData\Languages\
std_lords_xml.xml [This file is in English]
Mount & Blade II Bannerlord\Modules\SandBox\ModuleData\Languages\CNs\
std_lords_xml-zho-CN.xml [This file is Simplified Chinese]
Use Notepad and other tools to open these two f …
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
- Place the files exactly as the readme says; mods with listed dependencies need those installed too.
- Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.
Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.