About this mod
An underlying logic mod that rewrites the game's character development model,support 1.2.12
- Permissions and credits
- Donations
Author: Hahun
Supported Game Version: 1.2.12
---
Description
This mod overhauls the character progression system in Mount & Blade II: Bannerlord, allowing for virtually limitless growth. It utilizes a "Internal Long, Fake External Int" strategy to bypass vanilla limitations while maintaining stability. Configure levels, skills, attributes, and focus points via a simple text file. Important: Due to the core changes, the in-game UI for XP progress (current/required XP bar) will NOT display your actual progress and will show static, fake values (e.g., 0 / 10000). Use the Alt+M -> View Details feature or the mod's log file to track your true progression.
---
Key Features (v2.0.5)
- True Long XP Core: Character leveling is based on 64-bit long integers, breaking the vanilla 2.1 billion XP cap for potentially thousands of levels.
- Customizable Level Cap: Set your desired maximum character level via config.txt (default: 100).
- Enhanced Skill System:
- Configure the skill proficiency cap (MaxSkillLevel, default: 300).
- Uses an O(L^2) XP formula for skills, tunable via SkillXpGrowthFactor (default: 25) to better support high skill levels.
- Customizable Attributes & Focus: Define max attributes (MaxAttribute), attribute gain rate (LevelsPerAttributePoint), max focus per skill (MaxFocusPerSkill), and focus points per level (FocusPointsPerLevel).
- Powerful Alt+M Menu: Press Alt+M on the campaign map to access:
- Instant Max (w/ Sound): Instantly levels up the target hero (default: player) to the configured max level with sound effects, automatically allocating all gained points.
- Reflection Max (Silent): Directly sets the target hero's level, attributes, focus, and skills to configured maximums using reflection (faster, no sound).
- View Details: Displays a detailed status report for the target hero, including true Long XP, level, unspent points, attributes, and skills (level & focus). Supports pagination for easy skill browsing.
- Target Selection: Prompts for hero name before executing actions (leave blank for player character).
- Standalone Configuration: All settings are managed through config.txt in the mod folder - no external dependency like MCM.
- Custom Save System: Includes a dedicated system to correctly save and load your long XP values.
---
IMPORTANT: UI Experience Display is Deactivated
To ensure stability and bypass engine limits, this mod uses a "Internal Long, Fake External Int" strategy. This means:
- The Current XP, Required XP, and XP Bar shown in the Character screen WILL NOT reflect your actual progress. They will display fixed, fake values (e.g., 0 / 10000).
- This is an intentional design choice necessary for the mod to function.
- How to Track Progress: Monitor your actual level increases or use the Alt+M -> View Details feature in-game to see your real long XP. The mod's log file (CustomCharacterDevelopmentModel.log) also contains detailed information.
---
Installation
1. Install Harmony first!
2. Download the mod archive.
3. Extract the CustomCharacterDevelopmentModel folder into your Mount & Blade II Bannerlord Modules directory (e.g., Steam\steamapps\common\Mount & Blade II Bannerlord\Modules).
4. Enable "Custom Character Development Model" in the Bannerlord launcher's Mods tab.
5. Ensure it loads AFTER Harmony and preferably after the official modules (Native, SandBoxCore, etc.).
6. Click Play.
---
Configuration (config.txt - v2.0.5)
After the first launch, config.txt is created in Modules\CustomCharacterDevelopmentModel\. Edit it with a text editor:
- MaxLevel=100 (Max character level)
- MaxSkillLevel=300 (Max skill proficiency level) - Note: Practical limit depends on XP gain rate.
- SkillXpGrowthFactor=25 (Controls O(L^2) skill XP curve; higher = faster leveling. Default: 25)
- MaxFocusPerSkill=5 (Max focus points per skill)
- FocusPointsPerLevel=1 (Focus points gained per level)
- MaxAttribute=10 (Max points for a single attribute)
- LevelsPerAttributePoint=4 (Levels required to gain 1 attribute point)
- AttributePointsAtStart=15 (Base starting attribute points for new characters)
- FocusPointsAtStart=5 (Base starting focus points for new characters)
- InquiryExtraHeightPadding=2 (Adds vertical padding to Alt+M popups)
- InquiryExtraWidthPadding=10 (Adds horizontal padding to Alt+M popups,unfunctional,maybe fix it next version)
Note: You MUST RESTART THE GAME after editing config.txt for changes to take full effect.
---
Usage Tips
- Alt+M Menu: Use on the campaign map. Select an action, specify the hero (leave blank for player), and confirm. ALWAYS save manually before using the 'Max' options!
- Track Progress: Ignore the vanilla XP bar. Use Alt+M -> View Details to see your real status.
- Enemy Scaling: Enemy lords and heroes also benefit from these modified rules, potentially increasing challenge.
- Compatible with character reload, but its character experience control function will not work because it tries to modify the original _totalXp, while my mod uses the modified long version of totalXp
- When your level is very high, there will be a lot of thieves on the map, because the number of thieves in the original game is based on your level. If you maximize the character status, once you move, a lot of hiding place messages will suddenly appear, but it is just a feature and will not affect the normal progress of the game.
---
Compatibility (v2.0.5)
- Game Version: Developed and tested for v1.2.12.
- Mod Conflicts:
- WILL conflict with other mods that modify the CharacterDevelopmentModel.
- WILL conflict with mods that rely on reading accurate XP values from HeroDeveloper.TotalXp or GetXpRequiredForLevel (e.g., some cheat tools, info panels). These mods will read fake values.
- Should be compatible with most mods that don't touch the core character XP/leveling system.
- Save Compatibility & Uninstall Risk:
- Due to the custom long experience value archive system, if you try to uninstall this module during the game, your long experience value data will be lost, and obviously the character level will drop significantly, or the archive may be damaged (not tested yet, but it should not be the case). In any case, you can install or uninstall this module at any time.
---
FAQ (v2.0.5)
Q: Why is my XP bar stuck at 0 / 10000 (or similar)?
A: This is normal due to the mod's "Fake External Int" strategy. Use Alt+M -> View Details to see your real Long XP progress.
Q: How high can skills go? Why can't I reach the high MaxSkillLevel I set?
A: You can configure a very high MaxSkillLevel,like 10000.However, reaching it depends on the SkillXpGrowthFactor and how fast you gain skill XP in-game. With the default factor (25), the practical limit before XP requirements overflow int is around level 9268. Higher factors allow higher levels, but XP costs grow quadratically.
Q: How do I quickly max out my character?
A: Press Alt+M on the campaign map, choose "Instant Max(立刻满级)" or "Reflection Max(反射满级)", specify the target (or leave blank for player), and confirm. Remember to save first.
Q: Where is the config file?
A: In the Modules\CustomCharacterDevelopmentModel\ folder, named config.txt.
Q: Alt+M isn't working. What's wrong?
A: Check: 1. Is the game window active? 2. Is another program using Alt+M? 3. Is the mod loaded correctly in the launcher (after Harmony)? 4. Are you on the campaign map?
Q: Does this make the game too easy?
A: Your character becomes much stronger, but so do enemy heroes. Adjust config.txt values downwards if you prefer a less power-creep experience.
---
Planned Updates
- It is expected that in the next version, the data type of proficiency will be changed to long, or the configuration of the upper limit of proficiency of a single skill will be introduced.
- In order to make higher character levels have more playable content, there may be an overhaul or expansion of the original skill tree, or someone may start to expand it with my mod as a prerequisite
- Investigate potential ways to provide better progress feedback (if feasible).
- Add more things based on feedback.
---
Support & Feedback
Please share suggestions or report bugs in the Nexus Mods Posts tab.
---
Forge your ultimate legend in Calradia!