Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

Ole Jakob Schjoeth

Uploaded by

schoyth

Virus scan

Safe to use

Tags for this mod

About this mod

CapMaxClanInfluence mod's prevents clans from getting too much influence (inflation) in the endgame. It caps the influence limit at 5000 for every clan in a kingdom, in an effort to prevent inflation and hopeless cases where the player have 200 influence and the existing top clans in the kingdom(s) have 40000 - 50000 influence.

Permissions and credits
Changelogs
The influence cap for each clan is for now hardcoded to be 5000.

There are some few cases where clans will show up in your kingdom screen with more than 5000 influence (usually around 5050, or 5020 etc). This is because there are other parts in the game code that increases their influence value. My mod barely reverts it to 5000 on a regular basis, if it should be above 5000.

This is my first mod, and there are probably better ways to do this, so any feedback is welcome.
The way the mod works, is that it add a eventlistener to campaign.DailtyTickClanEvent  and that method is simply checking if the clan have above 5k influence.

The mod should be savegame compatible and work from fresh campaign starts, but any reports of bugs appreciated.

Installation of mod:


Unzip, and drag and drop folder into your modules folder.






You can see the source code for the mod here:  ClampInfluenceMod Source repository