Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

Syrus

Uploaded by

Sevydos

Virus scan

Safe to use

About this mod

Leveling curve changes and adjustment of xp gain for skills and character level

Requirements
Permissions and credits
Translations
  • Russian
Description
Adjust skill and character leveling speed through adjustable experience modifiers.
Inspiration taken from "Leveling Rebalance", so there are some similarities.


Character Leveling
The learning rate is calculated using the following formula:
Before learning limit is reached (limit = 50 * focus points):
(0.25 + 0.5 * (1 - (skill / limit))) * attribute_points
+ (0.5 + 1.0 * (1 - (skill / limit)) * focus_points
After learning limit is reached, before "Max Skill Limit increase per Attribute Point"-limit:
0.25 * (1 - (skill - limit) / (attribute_points * limit_inc_per_attribute_point)) * attribute_points
+ 0.5 * (1 - (skill - limit) / (attribute_points * limit_inc_per_attribute_point)) * focus_points
After both limits are passed the rate drops to 0 and no further skill increase is possible until more focus points or attribute points are spend.

Character leveling has been reworked to use a much lower curve than vanilla
Requires a total of 95.4 million points to reach level 62 (vanilla max level) instead of 12.2 billion (vanilla).
The calculation used is "xp(n) = xp(n-1)  + 25 * level(n)^3".

A second option is also available, which requires 40.7 mio points to reach level 62. It is slower at lower levels but faster at higher levels.
Its calculation is "xp(n) = xp(n-1) + 500 * level(n)^2".

Max level adjustable to up to 120
Or lower, if desired. Higher levels require a lot of points.

Character Level XP Modifier
Adjust at which rate skill experience is converted to character level experience, allowing for faster or slower leveling.

Levels per Attribute Point
Adjust how many character level ups are required to gain an attribute point.

Focus Points per Level
Increase the amount of focus point per level if desired.

Max Attribute Points per Attribute
Change the maximum number of attribute points you can spend on attributes.

Max Focus Points per Skill
Change the maximum number of focus points per skill.
While it applies correctly, only at most 5 focus points will show on the UI.

Attribute Points at Start / Focus Points at Start
NPC-only. Sets how many additional points NPCs start with when generated.
To be honest, I only added these settings because I could, no idea if they are useful in any way.


Skill Leveling
Skill learning limit and rate have been reworked:
The learning limit is mainly based on focus points with a base of 50 and each focus point increasing the limit by 50, to a maximum of 300 with 5 focus points.

Learning Limit Increase per Attribute Point
Increases the learning limit by this amount per attribute point spend.

Learning Limit Increase per Focus Point
Increases the learning limit by this amount per focus point spend.

Base Learning Limit
This applies independently of focus points as a base line. Focus points add learning limit upon it.

Skill XP Modifier / NPC Skill XP Modifier / Skills / NPC Skills
Adjust the experience gain for skills.
- Skill XP Modifier modifies the experience gain for everyone for all skills unless overridden.
- NPC Skill XP Modifier overrides Skill XP Modifier for NPCs, so that NPCs can gain skill at a faster or slower rate than the player.
- Companion Skill XP Modifier overrides Skill XP Modifier and NPC Skill XP Modifier for Companions, so that Companions can gain skill at a faster or slower rate than other NPCs.
- The Skills modifiers enable fine adjusting for each skill. They override both of the previous modifiers for everyone.
- The NPC Skills modifiers enable fine adjusting for each skill for NPCs only, overriding all previous modifiers.
- The Companion Skills modifiers enable fine adjusting for each skill for companions only, overriding all previous modifiers.
Skill modifier priority: "Companion Skills > NPC Skills > Skills > Companion Skill XP Modifier > NPC Skill XP Modifier > Skill XP Modifier"


Other
Troop XP Modifier
Adjust the XP gain for upgrading troops.


Smithing Research
Something I felt useful myself. Set it to default settings if you wish to not use it.

Part Research Modifier
Inreases the part research gained when smithing or smelting. Set to 100% for default.

Free Build Part Research Modifier
Adjust the factor when doing non-order-related smithing tasks. Set to 10% for default.
The default value means you only get 10% of the part research points when not working on an order.

---

Adding to ongoing saves or switching character leveling curve
My advice: create a backup save! - Do this at your own risk!
A method is implemented which will prevent unwanted level ups due to leveling curve differences. it's not perfect, but at least you won't get level ups due to switching.
This method sets your level experience to half-way to next level upon loading into the game if the total experience is out of bounds for your current level.

Switching back and forth is not recommended.

Technical stuff:
This is mainly to stop level ups when the new leveling curve is lower than the old one causing your total xp to overflow the required experience for the next level, resulting in a level up the moment you get another point added.
Underflows are technically already handled by the game, it sets the experience for the current level to 0, but in case this does not happen, my method handles it the same way it does for overflows.


---

Compatibility
Unlikely to be compatible with mods that adjust leveling.

---

Localization
- English
- German

---

GitHub: https://github.com/XT-0xFF/MBAdjustableLeveling
Steam: https://steamcommunity.com/sharedfiles/filedetails/?id=2896410558