Keep compatible with v0.8.1;
Add more maps;
Fix bug of order UI;
Enhanced Battle Test
A mod for Mount&Blade Bannerlord that can test battle locally.
Features
- Test Battle Mode: You can choose where to spawn troops and they will be all spawned instantly.
- Custom Battle Mode: Use built-in mechanism to spawn troops. Troops that exceeds the battle size limit will be spawned later.
- Map selection. Including sergeant maps, skirmish maps, tdm map, etc. However, I removed siege maps because they are buggy. Custom battle mode contains sergeant maps only, because only sergeant maps contains corrrect spawning positions that custom battle mode requires. If you want more maps, you can edit the config file yourself, details below.
- Character selection. You can specify at most three types of troops for each team. Also you can select perks that is consistent with those in Multiplayer mode.
- Configuration saving. The battle configuration is saved in "(user directory)\Documents\Mount and Blade II Bannerlord\Configs\EnhancedBattleTest\". The configuration for Test Battle mode is saved in "EnhancedTestBattleConfig.xml" and that for Custom Battle mode is saved in "EnhancedCustomBattleConfig.xml". You can modify it to add more maps, but if you edit it incorrectly, the configuration will be reset to default, or the game may crash. I don't guarantee anything.
- Switching player's team. You can switch between player agent and the enemy commander to control their troops respectively.
- Controlling your bots after dead.
- Switching free camera.
- Undead mode. Any agent will not die after switched on.
- Adjusting combat AI between 0 and 100.
- Customizing player characters, details below.
How to install
Copy `bin` and `Modules` into Bannerlord installation folder(For example `C:\Program Files\Steam\steamapps\common\Mount & Blade II Bannerlord - Beta`).
How to use
- Start the mod by clicking `EnhancedBattleTest.bat` in `bin\Win64_Shipping_Client` that you have copied into Bannerlord installation folder.
- You can select troops for each side of teams.
- Press and hold `TAB` key for a while to exit the battle scene.
- Press `numpad5` key to switch your team.
- Press `numpad6` key to switch between free camera and main agent camera.
- Press `numpad7` to disable dying.
- Press `f` key or `numpad6` key to control one of your troops after you being killed.
- Press `L` key to teleport player when in free camera mode.
How to add more maps
- You can go to `Modules\Native\SceneObj` to find available maps.
- To add more maps, you need to edit the configuartion file(in folder "(user directory)\Documents\Mount and Blade II Bannerlord\Configs\EnhancedBattleTest\").
- The maps available in mod are under the xml element `sceneList`.
The element `SceneInfo` represents a map and related config.
So you need to add a `SceneInfo` element as a child of `sceneList`, just like the other maps.
For example you can copy the text from `<SceneInfo>` to `</SceneInfo>`, then replace the text between `<name>` and `</name>` with the folder name of the map you want to add.
The other config like formation positions can be configured in the game.
How to customize characters
Build from source:
The source code is located in the `source` folder.
- install .net core sdk.
- modify 6th line of `EnhancedBattleTest.csproj`, change `Mb2Bin` property to your bannerlord installation location.
- open a termial (powershell or cmd), run `dotnet msbuild -t:install`. This step will build `EnhancedBattleTest.dll` and copy it to `bin\Win64_Shipping_Client`.
Contact with me:
Please mail to: lizhenhuan1019@qq.com
This mod is originated from mod "Battle Test" written by Modbed. Way to contact him:
- TaleWorlds forum: modbed
- youtube: modbed
- bilibili: modbed帅
- website: modbed.cn
This comment is currently awaiting admin approval, join now to view.
can anyone help me please i try everything
the game crash every time
in the intro loading screen
'the appliction faced problem. we need to collect necessary files to fix this problem would you like to upload these files now'
ok i think i know the problem, download the mod and make sure to also add the files in the native folder to "native" folder in the bannerlord files.
thanks for the reply
but it's not working same problem :(
update your game. But since the last update its not working anymore. If the advance custom battle works but this doesn't its because this needs to be updated as well. But no pressure to Lzh though.
I have the same problem :(
Please send the crash report to me.
Same problem lads :-(
It's really weird I can play the 4.6 version but not any over 5.0
same works with 4.6
i wish there was a scoreboard :)