(Updated to e1.9.0) Fix the companion formation bug in e1.9.0. Allows you to give orders in the sky, like a RTS game. Control one of your troops after you are killed in battle. Allows your formation to attack a specific enemy formation. Click troop card to select formations.
Requirements
This mod does not have any known dependencies other than the base game.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Thank Cheyros (https://www.nexusmods.com/mountandblade2bannerlord/users/3145603) (https://forums.taleworlds.com/index.php?members/cheyros.537131/) for fixing the crash in siege.
This mod uses binary from https://github.com/codeandcats/KdTree to provide KdTree data structure.
Fix the "Player Controller In Free Camera" option.
Fix the issue that camera is not restricted by deployment boundary.
Version e4.1.15
Fix the issue that control hint doesn't correctly disappear when free camera mode isn't on.
Change the "Always Set Player Formation" bool option to dropdown option "Auto Set Player Formation" that contains "Never", "Deployment Stage" and "Always".
Optimized the algorithm of looking for character to control. Hero appears first in party member list will be selected first.
Fix companion formation issue in Bannerlord e1.9.0
Version e4.1.12
New option : camera height follows terrain, for smoother movie sequence.
Added target name and position in chat message when charging to formation
Add options to disable highlights of formation in Command System
Version e4.1.11
Fix the issue that pressing G in free camera will cause player drop the weapon
Version e4.1.10
Fix the issue that camera distance limit is defaulted to 0.
Version e4.1.9
Fix slow motion issue.
Version e4.1.8
Limit camera distance by Tactics and Scouting skill.
Use free camera and issue orders in free camera will give Scouting and Tactics skill xp.
Charge to formation will be available when Tactics skill level is higher than or equal to 25.
Version e4.1.7
Fix crash in tournament
Version e4.1.5
Fix a crash in watch battle mode
Now AI formation will charge after target formation is eliminated
Version e4.1.4
Fix a potential crash in prisoner rescue mission
Add an option to set the behavior after enemy formation is eliminated
Version e4.1.3
Disable fast forwarding when player controls main agent to resolve key conflict with official fast forward key
Version e4.1.2
Fix the issue that charge to formation doesn't work
Fix crash when player team is eliminated and then switch camera.
Fix time speed feature
Version e4.1.1
Fix crash during siege
Version e4.0.9
Fix the slow motion issue.
Version e4.0.8
Fix crash in tournament
Version e4.0.5
Fix troop card
Version e4.0.4
Fix a crash in watch battle mode
AI formation will charge after target formation is eliminated
Version e4.0.3
Fix a potential crash in prisoner rescue mission
Add an option to set the behavior after enemy formation is eliminated
Version e4.0.2
Fix the issue that charge to formation doesn't work
Fix crash when player team is eliminated and then switch camera.
Fix time speed feature
Version e3.9.30
Fix crash at the beginning of siege
Version e3.9.24
Remove modification to infantry AI when Realistic Battle AI Module is enabled to avoid infantry AI issue.
Improve stability.
Patch cavalry AI with higher priority to avoid the cav AI issue caused by Realistic Battle AI Module.
Version e3.9.23
Keep compatible with Bannerlord e1.5.8
Version e3.9.21
Fix the problem that the player character may not be able to be controlled when battle wins in free camera mode.
Fix a crash when there's only player in the team, battle wins, then switch to free camera.
Version e3.9.19
Fix wrong format of version number.
Fix a crash when wander around in a city, switch to free camera, and press alt.
Fix the problem that after victory, switch to free camera will cause the enemy cannot retreat.
Version e3.9.13
Add hotkey option for selecting formation.
Add hint text for "Charge to formation" order.
Fix the problem that disabling "Attack specific formation" option has no effect.
Improved cavalry AI under "Charge to Formation" order.
Remove "Fix circular arrangement" option.
Version e3.9.9
Fix the problem that hotkey are not saved.
Fix crash when watch tournament and open the mod menu.
Version e3.9.8
Keep compatible with Bannerlord e1.5.6
Version e3.9.7
Keep compatible with Bannerlord e1.5.5.
Refactored the UI system.
Move features related to command system to a new mod called RTSCamera.CommandSystem.
Version e3.9.5
Fix the problem that UI becomes transparent in Bannerlord e1.5.4.
Version e3.9.4
Fix the problem that switch team doesn't work.
Fix the problem that shift to accelerate camera does not work in e1.5.4.
Version e3.9.3
Reorganize files.
Version e3.9.2
Fix the problem that in transfer command, cursor is not shown.
Version e3.9.1
Fix minor problems.
Version e3.9.0
Player can select formations by clicking troop card.
Fix a problem that player may be added twice to the same formation arrangement. It happens when player is using a siege weapon and switch to free camera mode. Now player character will stop use siege weapon when switch to free camera mode to avoid this problem.
Fix the problem that in free camera mode pressing F may still make player character interact with other characters or siege weapons.
Change "Control Another Hero" to "Watch Another Hero". You can press F to control the hero when watching it.
Version e3.8.2
Fix a rare crash in base game.
Fix the problem that movement command cannot be given when paused.
Fix the problem that selecting formation with middle mouse button does not work when paused.
Improve the behavior of choosing character to control when the player character is killed in battle.
Version e3.8.1
Highlight order flag to make it more conspicuous.
Optimize performance.
Fix bug of selecting formation.
Version e3.8.0
Add fix for bug of circular arrangement in the base game.
Fix compatibility with extension.
Version e3.7.2
Fix cavalry AI in "Charge to formation" mode.
Version e3.7.1
Fix crash in Bannerlord 1.5.1.
Version e3.7.0
Add "Watch battle" menu option when player is injured. You can command your troops in free camera but cannot take control of any units and directly fighting.
Fix the problem that camera elevation angle and camera height may suddenly change when switching between player camera and free camera. Now the movement of the camera is smoother.
Now cheat options are only enabled when cheat mode of the base game is enabled.
Version e3.6.3
Fix a crash when pressing F at the end of tournament.
Version e3.6.2
Fix crash in free camera when click "Begin Assault" button in siege.
Version e3.6.1
Enable "Attack Specific Formation" by default.
Version e3.6.0
Add "charge to formation" feature. You can click mouse middle button to an enemy formation and your soldiers will charge to it.
Add camera smooth movement when camera mode changes or player character changes, etc.
Free camera now uses smooth rotation by default.
Use middle mouse button instead of left mouse button to select formation to avoid accidentally giving movement orders when "Click to Select Formation" is enabled.
Optimize behavior of click formation.
Fix a rare crash that occurred when switch free camera too quickly.
Fix the problem that player may charge to enemy alone.
Fix the problem that player character may goes out of battle field and causes retreat in free camera mode.
Fix the problem that banner on player character is not shown in free camera mode.
Remove "Prevent Player Fighting" option because the related problem has been fixed.
Version e3.5.15
Fix the problem of that ctrl or alt key does not work. Now camera speed can be adjusted by pressing ctrl + mosue scroll again.
When the HUD is hidden, opening any focused view (such as when entering a conversation, pressing esc, etc.) will cause the HUD to be temporarily enabled.
Fix player AI in arena practice after switched to free camera.
Fix the problem that multiple player character may be spawned when switched to free camera in arena practice.
Version e3.5.14
Fix the problem that ally formation is wrong highlighted when "show contour" is enabled.
Version e3.5.13
Keep compatible with Bannerlord e1.5.0
Version e3.5.12
Fix hint text when selecting character.
Optimize behavior when pressing F key.
Version e3.5.11
Rearrange UI of mod menu.
Add hint for each button in mod menu.
Version e3.5.10
Fix key rebinding feature.
Enable selecting formation feature by default.
Soldiers within 20 meters will be considered first when looking for soldier to control.
Slow motion config will be saved when changed using hotkey.
Fix crash when controlling soldier in hideout.
Version e3.5.9
Enable feature that you can select formation by directly click on them.
Fix crash when entering battle, assigning player to an empty formation and then giving an order such as shield wall.
Version e3.5.8
Fix the problem that cursor is not shown when give commands in free camera mode.
Version e3.5.7
Fix selecting character feature.
Version e3.5.6
Fix the problem that selecting character hint may be shown after conversation.
Version e3.5.5
Keep compatible with Bannerlord e1.4.3.
Version e3.5.4
Add feature: You can press `;` then left click to select a soldier, then lock camera to it or control it by pressing `F`.
Add an option to prevent player fighting, to solve the problem that player character may charge into enemy formation when switched to free camera mode.
Add an option to always set player's formation.
Version e3.5.3
Fix the problem that changing config file may not work.
Version e3.5.2
Disable show contour feature to avoid problems.
Version e3.5.1
Add an option for disabling hotkey for switching team.
Reset hotkeys of previous version to prevent problems relating to hotkeys.
Change default hotkey for switch team to F11
Version e3.5.0
Add feature: Now player can select troops by directly clicking on them.
Troops that will be selected and has been selected will be highlighted with contour.
Player formation logic is reverted to the previous version.
Version e3.4.0
Fix the problem that in RTS camera mode, when player starts to use ranged siege machine, the camera will be fixed on the siege machine.
Fix the problem that when player are using siege machine, switch RTS Camera on and off may cause the player unable to use siege machine by AI any more.
Now player will only be added to formation when switching to RTS Camera mode and will be removed from formation when switching back.
Fix the problem that when controlling a new soldier, the movement speed limit may be too low.
Version e3.3.2
Fix broken hot key for switching team.
Version e3.3.1
Add switch team feature. Press F12 by default to use it.
Version e3.3.0
Add "constant speed" option: Camera speed will not be affected by camera height after toggled on.
Add "outdoor" option: After toggled off, camera can go into houses.
Add "restrict by boundaries" option: After toggled off, camera can go out of scene boundary.
Fix harmony patch.
Version e3.2.2
Fix crash in tournament when controlling allies after player dead.
Version e3.2.1
Fix crash in siege.
Fix a problem that adjusting camera parameters in Cinematic Camera may cause camera rotates.
Change the thickness of raycast that determines depth of field distance from 0.01 to 0.5.
Change logic of controlling companions.
Version e3.2.0
rename Module folder to RTSCamera; rename project to RTS Camera.
Version e3.1.0
Add options for controlling allies.
Add support for Cinematic Camera.
Version e3.0.0
Keep compatible with Bannerlord e1.3.0.
Version e2.0.0
Fix the bug that the quit text may become "retreat" rather than done after victory.
Fix the bug that the targeting reticule may be hidden accidentally.
Overhaul the extension feature.
Version e1.0.11
When switch to rts camera, it will be raised to a configurable height.
Now rts camera can lock agents by left click or right click when order UI is closed.
Remove restriction that config key cannot conflict with each other.
Now opening mod menu will cause HUD temporarily enabled to show the menu.
Fix the problems that when game is paused, the rts camera cannot be rotated by putting mouse on the edge on the screen.
Version e1.0.10
Fix the bug that mod menu is not closed after toggling HUD.
Version e1.0.9
Add toggle HUD feature.
You can press `]` key to toggle HUD. Or if you rebind the key and forget what you have set it to, you can press `Home` key to toggle UI, which always works.
Change default key for disable death to `End`.
Fix the problem that targeting reticule is shown when rts camera is enabled and player is using ranged weapon.
Fix a crash when switching to free camera after victory.
Version e1.0.8
Fixed the bug that display message option is not saved.
Version e1.0.7
Change slow motion mode logic.
Add hot key for slow motion mode. Default to ' key.
Add display message option.
Version e1.0.6
Save config for "change combat ai" and "use realistic blocking" options.
Version e1.0.5
Support Bannerlord e1.1.0.
Move "use realistic blocking" and "change combat ai" feature to another mod called "EnhancedMission Change AI".
Version e1.0.4
Add "use free camera by default" option.
Use mouse to move camera.
Now RTS camera will not be interrupted by player's death.
Player can drag on the ground when game is paused or slow down, defictive though.
Version e1.0.3-hotfix
Fix bug that key binding binding is reset to default each time game starts.
Version e1.0.3
Fix crash when new key binding config is created.
Version e1.0.2
Fix the bug that player can control enemy troop after player dead.
Version e1.0.1
Add key rebinding feature.
Donations
Both straight donations and premium membership donations accepted
RTS Camera (Old name: EnhancedMission, Enhanced Mission RTS Camera) A mod for Mount&Blade II Bannerlord that provides free camera and more features in battle. Collection:
Save Compability This mod does not read or write stuffs to your game save. Installing or removing this mod has no impact on your game save.
Features
RTS Camera
Free camera mode switchable at any time. The camera distance to your character is limited by the tactics and scouting skill level.
Clickable troop cards.
Control one of your soldiers and continue fighting/commanding after player character is killed in battle.
Watch any unit and optionally take control of any unit in player team.
Change time speed in battle, or pause the battle.
Command System
Command your troops to attack a specific enemy formation. Your cavalry can attack the enemy archers without being distracted by other enemies and spreading across all the battle field.
Select your formation by middle mouse clicking on units in formation.
How to Use
Install "Command System" for the "Charge to Formation" feature; Install "RTS Camera" for all the other features. These 2 files can be installed independently, but make sure they are updated when both installed.
RTS Camera
Press F10 to toggle free camera. You character will be controlled by AI by default and can be changed to do nothing or still be controlled by player's input in option menu opened by pressing L in battle.
You can press L and turn on the "Use Free Camera By Default" option to automatically switch to free camera when battle begins.
After your character dies, you can press E to follow one of your soldiers and press E again to control it and continue fighting. Soldiers in the same formation as player character will be considered first when deciding which soldier to control.
You can immediately control one of your soldiers to avoid all your formations been delegated to AI when your character dies. Press L and check Control Ally After Death option to enable this feature. It's always enabled in free camera mode to ensure a smooth gaming experience.
When the camera is following a character, you can press E to control the character. You can make the camera follow a character in the following ways:
In free camera press E to follow the player character.
You can make the camera follow any hero by pressing L to open the menu and selecting a hero in Watch Another Hero drop-down list.
You can make the camera follow any character by pressing ; and clicking a character, then pressing E.
You can press left/right mouse button to change the character that the camera is following.
If your character is injured in campaign map and you encounter an enemy party, you can still choose "Watch the battle" option to begin the battle. In this battle you can command your troops in free camera but cannot directly fighting. Thanks to Fawkes1243 for providing this idea!
Pause game ([) or adjust time speed (').
Toggle HUD by pressing ]. If you rebind the key and forget the key set for toggling HUD, you can always use HOME key to enable HUD.
Command System
You can click middle mouse button on the enemy formation, and your formation will charge to the targeted enemy formation, instead of charging to all enemies when you press "F1 F3". Only works with melee weapon.
The target enemy formation that your selected troops are charging to will be highlighted with red outline when you open command panel.
AI formation will also have the ability to charge to a specific formation. Your formation targeted by the enemy formation will be highlighted with dark blue outline when you open command panel.
I didn't find a way to restrict range weapon's target to specific formation, so remember to let your infantry hold fire if they have javelins.
You can press L and uncheck Enable Attack Specific Formation to disable this feature.
You can select your formations by clicking on troop cards. You can press Alt to show the mouse and drag right mouse button to rotate the camera when mouse is shown.
You can select your formations by clicking middle mouse button on them. Selected troops will be highlighted with green outline.
You can press L and uncheck Click to Select Formation to disable this feature.
You can rebind hotkeys by pressing L and click Config Key.
How to install
Remove any old installation of this mod. You can go to Modules folder of bannerlord installation folder (For example C:\Program Files\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\) and remove folders like RTSCamera, RTSCamera.CommandSystem or EnhancedMission.
Copy the RTSCamera and RTSCamera.CommandSystem folder that you downloaded into the Bannerlord Modules folder.
Or use Vortex to install it automatically.
Additional
Press L(letter) to open menu of this mod when in a scene. You can adjust all the options of this mod in it.
You can close the menu by pressing esc, left clicking outside the menu or right clicking.
When in free camera:
Use W, A, S, D, Space, Z and mouse middle button to move the camera.
Use shift to speed up camera movement.
Move your mouse to rotate the camera, or when order panel is opened, drag right mouse button to rotate the camera.
Left click on the ground and drag to change the position, direction and width of the formation you selected.
Hold ctrl when dragging to arrange multiple formations vertically.
Hold ctrl and scroll mouse to adjust camera movement speed.
Hold ctrl and click middle mouse button to reset camera movement speed.
Hold ctrl and drag middle mouse button vertically to adjust camera height.
The configuration is saved in directory (user directory)\Documents\Mount and Blade II Bannerlord\Configs\RTSCamera\.
The main config is saved in file RTSCameraConfig.xml.
The hot key config is saved in file GameKeyConfig.xml.
The hot key that opens the menu is saved in file (user directory)\Documents\Mount and Blade II Bannerlord\Configs\MissionLibrary\GeneralGameKeyConfig.xml.
You can modify them manually, but if you edit them incorrectly or remove them, the configuration will be reset to default.
Troubleshoot
If it shows "Cannot load ..\..\Modules\RTSCamera\bin\Win64_Shipping_Client\RTSCamera.dll", please go to this page to unbock the dll.
If the game crashed:
If you upgraded this mod from version lower than e3.2.0, pleas remove the old mod folder "EnhancedMission" to prevent crash.
I would appreciate it if you send dump file to me to help me to solve the crash by followinig steps below:
Click Yes when the game crashes and ask whether to collect information.
Before sending files to TaleWorlds, go to C:\ProgramData\Mount and Blade II Bannerlord\crashes(Not the game installation path) and find the folder related to the crash by timestamp.
Then send dump.dmp file in the folder (or just send the whole folder) to me. See below for my email address.
If you forget the hotkey set for opening menu:
you can remove the config file so that config will be reset to default.