Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

xtul

Uploaded by

noafk9

Virus scan

Safe to use

About this mod

Adds customizable bleeding mechanics for every NPC and optionally the player. Options include damage type, body part multipliers and bleeding curve. Bandaging system is also in place to help offset the risk involved in fighting..

Permissions and credits
Changelogs
Important info:
This mod does not work since 1.5 for a reason likely independent of me. The core mechanic, bleeding, despite working correctly is consistently crashing the game from area that is not debuggable by modders. I will try to contact TW developers with the problem, however I don't know if they respond to this kind of support request.

Nerd talk:
I suspect the problem is caused by the engine disliking over-time effects for performance reasons. The bleeding component is removed when the agent dies. Sometimes this component still has stuff to do and the game crashes, because there's no component anymore. Imagine going to the toilet, and when you come back, instead of your home you see an abyss.

-------

This mod adds bleeding mechanics based on damage dealt. The bleeding continues until the victim dies - it can collapse while retreating or fighting. The kill is properly assigned to the attacker.

As of 1.0.6, configuration file is as seen here: https://pastebin.com/ZYpug2mG

1. Bleeding

Thanks to impyre's suggestion, the formula is more realistic. It uses an exponentional function to calculate each bleeding tick, like on this picture below (link). It shows the default settings, basically y = BleedRate ^ x.  The bleeding is also stopped when it reaches about 1 damage dealt.
Bleeding may last for a long time and - if untreated - may continue until victim dies. NPCs that are unable to bandage can optionally receive reduced bleeding, effectively making them bleed for less and for shorter time.





2. First aid

Player character starts out with a configurable amount of bandages (3 by default). You can use bandages with H key to stop bleeding. Application of bandage takes 3 seconds and is insignificantly sped up by your Medicine skill.
If your Medicine skill exceeds certain, configurable value (40 by default) it will not only stop bleeding, but also heal you. The formula is:

healed health = (Medicine * 0.15) - threshold

It means that if you're a very skilled medic, you can heal 3rd of your health with one bandage.
Also for the duration of bandaging your movement speed is reduced to almost 0. This applies to anyone who uses a bandage.

3. FAQ

Can I see the source code?
https://github.com/xtul/Bleeding

Will it hurt performance?
I tested this mod on a 500 person custom battle, didn't notice any extraordinary performance drops. Tested on Ryzen 5 3600.

Are you open for suggestions?
Yes, especially since I don't have much time to test each and every feature.

Does it work on newest game version?
No. Please read info on the top.