Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

80 ratings
LifeRegen
   
Award
Favorite
Favorited
Unfavorite
Setting: Native, Dark Ages
Game Mode: Singleplayer
Compatible Version: v1.2.9
File Size
Posted
Updated
9.144 MB
18 Mar, 2024 @ 9:45am
26 Jul, 2024 @ 2:41am
3 Change Notes ( view )

Subscribe to download
LifeRegen

Description
Life Regeneration in Bannerlord! 🥇

This module gives play style of other RPG game with life regeneration.

Life regeneration is only applied to the player and player's mount during the mission (Battle, Dual or any kind of player's mission type, even barter..). And having higher endurance increase the life regeneration amount.

You can configure the life regeneration multiplier from config.json file that is located in 'My Document/LifeRegen' Folder. Make sure only adjust number like 0.01 ~ 10.0 etc. If you want strong healing that you almost don't die, you can just 10.0. The default is 1.0. The config file will be created after starting the game after installing this mod.

Currently I am developing my game. So it is difficult for me to work on GUI menu. It is probably almost impossible for me to update it. Because there is not much documentation and Bannerlord's System is very complicated since they use their own game engine. So please understand how things are not going to be updated.

Support this mod 👼🙇‍♂️

If you support me, I can improve this mod or you can help me making other mods that we need.

Github Sponsor: https://github.com/sponsors/opdev1004


Change Note ✍

From Mod version 1.0.2, you can configure amount of healing from config.json file that is located in 'My Document/LifeRegen' folder.


Notice 👨‍🏫

The reason why it does not heal enemies

You may think it is good idea to heal enemies as well. However that's technically a bad idea as it needs to modify every enemy and their horse in the mission every second. I have not tested but that's my thought, if we do that, it can cause huge memory consumption, so it can cause same problem as mods that damages multiple enemies with one swing with any weapon. It may cause CTD and many other problem.

Therefore I may add that feature if it is playable in the future.

Menu

This module does not support MCM or menu. Because UI system is not familiar to me and it is quite complicated + not much documentation or tutorial.


Calculation ➕💞

The calculation is '(total health point / 100) * endurance_multiplier' per second

So default amount is 1% of life regeneration.

And the calculation endurance_multiplier is 'endurance points / 2'.

So every 2 endurance you will get 1%. But 2% start from 4 endurance.

Maximum is 100%. But in that case you need 200 endurance.

In custom battle, life regeneration will be applied without endurance modifier.

And the mount will also get benefits of endurance too.


Compatibility 🛠

This module operates independently and does not rely on other community modules.

So this module should be compatible with any other module and any other version of bannerlord. Unless native bannerlord's API is different from v1.2.9 or other module is affecting Mission.MainAgent and the mount.


Helpful Links & Bug Report 🙋‍♂️
You can leave a comment as well.
Github Issue: https://github.com/opdev1004/liferegen/issues

22 Comments
Illusion  [author] 4 Nov, 2024 @ 2:46am 
So this mod's healing would not be applied during you are crawling around in the campaign map. I don't remember how it is supposed to be called. Campaign map or Roaming map? Anyway for that case default game healing feature applies.

I was actually thinking about how it should be happening in other scenes as well. But I just did not do it. If there are many request that it's better healing in other scenes. Then I may update it in the future.
Illusion  [author] 4 Nov, 2024 @ 2:35am 
@prisicla Sorry for late reply because somehow this does not send me any notification, even though I checked for Subscribe to thread.

So healing only happens during the game battle scenes that your character and your horse exist in the scene. I have said 'mission' because that's how M&B bannerlord devs categorize those scenes in their library.
Mr. Unidentified 26 Oct, 2024 @ 8:18pm 
@۞ Yeah.
Saul Goodman 24 Oct, 2024 @ 9:19pm 
i read the description and got confused, does this makes me heal only in missions, but not in the campaign map?
Goldzima 26 Jul, 2024 @ 7:55am 
Thanks :undyne:
Illusion  [author] 26 Jul, 2024 @ 2:56am 
@Goldzima It is updated! You can try the newer version of this mod. If there are any bug just leave a comment here. :steamthumbsup:
Goldzima 26 Jul, 2024 @ 1:20am 
@Illusion It would be great, thank you :cozyspaceengineersc:
Illusion  [author] 26 Jul, 2024 @ 1:19am 
@Goldzima There's no config location as everything in the code. Maybe I'll update this mod to have config file. So you guys can modify that until I have time to work on menu GUI.
Goldzima 26 Jul, 2024 @ 1:14am 
@Illusion maybe you can tell me the config location? So i'll just do it myself. Would appreciate that. Also gl on making your game :tobdog:
Illusion  [author] 26 Jul, 2024 @ 12:09am 
@Goldzima that will take some times as I am working on my game at the moment.