Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

MatyeusM

Uploaded by

matyeusm

Virus scan

Safe to use

36 comments

  1. irulannaba
    irulannaba
    • supporter
    • 26 kudos
    compatible with adjustable levelling that modifies the attribute points per level, and also better attributes?
  2. Sireaglestrike
    Sireaglestrike
    • supporter
    • 0 kudos
    Any way for this mod to also function for NPC children? For the players clan, children have a bunch of bonus attributes, but at least in regards to marrying nobles that have been born earlier in the campaign, they still have baseline NPC attributes. Enemy lords should be able to get stronger, too.
    1. savetheforest
      savetheforest
      • member
      • 0 kudos
      +1
    2. matyeusm
      matyeusm
      • member
      • 1 kudos
      It works for any randomly generated NPC, which has their free attribute points spent. Of course not retroactively, since the mod just adjusts the npc's generating process.
    3. Sireaglestrike
      Sireaglestrike
      • supporter
      • 0 kudos
      But will it give children the same bonus that player clan children get? I.e. when I make a char, if I have a child, child pops out same level as my char, it'll have 6~ bonus attributes (I assume from the choices you make in the childs upbringing) and therefore has a much higher max power than your original character. So scrubs like me who like to have big families have a huge attribute advantage, I want the AI to be stronger, too.
    4. matyeusm
      matyeusm
      • member
      • 1 kudos
      No the players clan children work differently. But I think they also tally up to 15 Attribute points by level 1. In a quick count I came to at least 13. It is only better because Children start with attributes at 1, while your main character starts with 2.

      The general calculation is that any NPC should have 15 attribute points at level 1. And in the original calculation every 4 levels hereafter; which is corrected by the mod to every level dividable by 4 after level 1.
    5. Sireaglestrike
      Sireaglestrike
      • supporter
      • 0 kudos
      Yeah, I get what this mod does, and it's solid. I'm just wondering how beyond the scope of this mod would it be to get all generated/birthed NPC's after the start of the game to have a higher stat split like the players clan gets?
    6. matyeusm
      matyeusm
      • member
      • 1 kudos
      If I add mcm, i can probably make that configurable. It fixes the function already which sets the base amount of points.
    7. matyeusm
      matyeusm
      • member
      • 1 kudos
      Implemented your suggestion.
    8. Sireaglestrike
      Sireaglestrike
      • supporter
      • 0 kudos
      Thanks for that. Only issue now is high level kids come out almost fully max on attributes cause my clan children get the stat bonus too. 

      Edit: Just seeing this may not be possible? I'm using the 'Take Both' mod and my children are still getting both perks even though I have it clicked off for me/clan members and only for NPC's. So guessing there isn't code to separate random NPC's and children for this?
    9. matyeusm
      matyeusm
      • member
      • 1 kudos
      I see thank you. This is clearly not intended behavior. Tested it. Gonna check the decompiled functions, possibly the value I overwrite is set to a lower number temporarily when spawning a child.
  3. tjmaxx501
    tjmaxx501
    • member
    • 0 kudos
    This seems like a good mod to have? It's for 1.2.8/1.2.9 right? Also I see you mention it would work for any randomly generated NPC. Have you, or anyone else ever used it with a mod like Distinguished Service? That generates companions from your troops and gives them bonuses to a few skills. Thanks.
    1. matyeusm
      matyeusm
      • member
      • 1 kudos
      Yes it is for 1.2.9. If distinguished service was updated, it would be fully compatible. However distinguished service added their own system of assigning points for their created wanderers; that is even worse than the original, since it just randomly assigns points; then again the upgrade function to assign attributes did come with 1.2.x, I think.
    2. tjmaxx501
      tjmaxx501
      • member
      • 0 kudos
      thans for the quick reply.  so could your system be used instead by placing your mod below distinguished service?
    3. matyeusm
      matyeusm
      • member
      • 1 kudos
      Order should not matter, since this mod modifies fairly new functions.

      Be aware DistinguishedService is working a bit more special than you think it is:

      • Every promoted character starts with 2 in all Attributes.
      • One stat, depending on the troop type gets +0 - 3.
      • And then randomly in one attribute 0 - 2 up to 6 times for each attribute once.
      • Out of 15 + Level / 4 Attribute points, randomly you have spent now 12 to 27. Which they limit to at max 1 point too many to be spent.
      • If any points are left over, they are distributed according to Bannerlords standard model, which this mod modifies. This is where this mod would chime in.
      • Then we "lie" about, if we have negative points leftover, and set the variable to 0. Should we have used too many in step 4.
    4. tjmaxx501
      tjmaxx501
      • member
      • 0 kudos
      Thanks, I'll test them out and see how they work.
    5. Phoskito
      Phoskito
      • premium
      • 0 kudos
      By the way, for anybody looking for updated Distiguished Service alternatives, Mav's Expand Your Clan does the same thing in a more inmersive way (one of your current companions comes to you in the next town visit after the battle and informs you that one of your troops was impressive in the last battle, giving you the chance to promote to companion). I came upon this function of it by chance and was gladly surprised by the results.

      Probably compatible with this as well, as I think it just keeps the base unit stats when you promote them.
    6. matyeusm
      matyeusm
      • member
      • 1 kudos
      absolutely correct. It calls functions several levels higher than what I manipulate.
  4. WanElMask
    WanElMask
    • premium
    • 2 kudos
    Hi, is your mod compatible with 1.2.8 ?
    1. matyeusm
      matyeusm
      • member
      • 1 kudos
      I do not know. It is very likely it is compatible with 1.2.7 to 1.2.9.

      But I am only certain about 1.2.9
    2. WanElMask
      WanElMask
      • premium
      • 2 kudos
      Right, thanks.
  5. MagnusAsakura
    MagnusAsakura
    • member
    • 0 kudos
    Can it be added to a saved game?
    1. matyeusm
      matyeusm
      • member
      • 1 kudos
      yes, but only newly created NPCs get the bonuses.
  6. AfLIcTeD8989
    AfLIcTeD8989
    • member
    • 1 kudos
    Is the mod compatible with mods that change attribute/focus points on level up? Installed it on a current save and the game will freeze shortly after moving, not crash. Not sure if it is the mod itself or if it could be a compatibility issue.
    1. matyeusm
      matyeusm
      • member
      • 1 kudos
      interesting, it should be compatible since it modifies some newish functions (the mod itself modifies only 3 functions: GetNextAttributeToUpgrade, GetNextSkillToAddFocus and SetupDefaultPoints.

      Could you link me the mod, so i can check out if it is an incompatibility to potentially list it or fix it?
    2. AfLIcTeD8989
      AfLIcTeD8989
      • member
      • 1 kudos
      https://www.nexusmods.com/mountandblade2bannerlord/mods/6269 and https://www.nexusmods.com/mountandblade2bannerlord/mods/6273
      Both mods from the "Better" series of mods.
    3. matyeusm
      matyeusm
      • member
      • 1 kudos
      Checked those two mods. It is definitely fully compatible with those. Changed all the settings, no issues on my end. Freeze should be from another mod.

      edit: Also checked the code, I am referencing something BetterAttributes changes, but that seemed to be working fine. Do you get the freeze on a new game too?
    4. AfLIcTeD8989
      AfLIcTeD8989
      • member
      • 1 kudos
      No checked a new game yet but it works fine without the mod.
    5. matyeusm
      matyeusm
      • member
      • 1 kudos
      Yes, i believe you. I am wondering myself what causes the issue. First step to fixing it would be a reproduction of the issue on my end.

    6. AfLIcTeD8989
      AfLIcTeD8989
      • member
      • 1 kudos
      Looks like it's not compatible with Better Experience (possibly other similar mods too). Couldn't start a new game at all at first. Removed that and now it works. 
    7. matyeusm
      matyeusm
      • member
      • 1 kudos
      Quite odd BetterExperience only modifys SkillsRequiredForLevel. So there should be no conflict.

      So I tested with the mod stack of:
      - BUTR Stack: Harmony, UiExtenderEx, ButterLib, MCMv5
      - Diplomacy
      - RTS Camera
      - Family Tree
      - Improved Garrisons
      - Achievement Unblocker
      - BetterCore
      - BetterExperience
      - BetterAttributes
      - BetterFocusPoints

      And I run into no issues on v1.2.9.

      Are you on the gamepass version? It is 1.2.7, no? Could it be that there is a version incompatibility? Since this mod modifies some rather fresh functions; I do not know when they were introduced, but it could be as late as 1.2.8.

      I could and will add possibly a more robust patching mechanism in the future to get a log if a patch fails.
    8. AfLIcTeD8989
      AfLIcTeD8989
      • member
      • 1 kudos
      I'm on 1.2.9 on Steam version.

      I only used the Better Experience mod so NPCs started at higher levels so they got more stats. 
      This mod fixes that anyway so I don't really need it.

      Edit.
      So it froze again after some time. Not sure what's going on since it's not giving me anything to give you.
    9. matyeusm
      matyeusm
      • member
      • 1 kudos
      Could you try and check the log files from the better mods in Documents\Mount and Blade II Bannerlord\Configs\ModLogs
      I would assume it is due to the MaxAttribute stuff failing which I access. But maybe you can see there any error messages?

      I could also give you a simpler version with features removed, so you can test it; if you want.
    10. AfLIcTeD8989
      AfLIcTeD8989
      • member
      • 1 kudos
      There doesn't seem to be any error messages that I can see.

      I was thinking something like that myself. Stats are overflowing and causing it to freeze but I don't know for sure.
    11. matyeusm
      matyeusm
      • member
      • 1 kudos
      Mhh, interesting and weird. You could hit me up with your full mod list and I will look into it.
  7. hugolaine
    hugolaine
    • member
    • 0 kudos
    Tremendous!