Mount & Blade II: Bannerlord

File information

Last updated

Original upload

Created by

Cheyron

Uploaded by

Cheyron

Virus scan

Safe to use

89 comments

  1. Cheyron
    Cheyron
    • supporter
    • 1,542 posts
    • 36 kudos
    Locked
    Sticky
    I probably should mention the probabilities in that table for every interval have actually been nerfed in the code by a factor of 100... which means the probabilities you see you need to move the decimal place over two to the left... In that image I show that has a graph, the 10 actually represents... 0.1% probability. I forgot I had tweaked the code after making that image. Just a disclaimer because the image is inaccurate :3



    in the image the rng selects between 0 and 10,000 as opposed to 0 through 100... just fyi in case people want to know how it works
  2. Ukodo
    Ukodo
    • premium
    • 4 posts
    • 0 kudos
    does this mod work with beta 1.4.2?
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      if not just recompile it... if the code has errors because of things being renamed then that is easy to fix... the source code is available so this mod can work on any future version as long as you recompile it
  3. Valkaths
    Valkaths
    • member
    • 2 posts
    • 0 kudos
    Does this work with stable 1.4.1?
  4. jelf
    jelf
    • premium
    • 93 posts
    • 1 kudos
    May I ask, does that mean without this mod, NPCs will never die unless executed by player?
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      i think so yeah... i think the game natively only allows npcs to die by the player executing them... they do have the code in place for the obituary entries for people dying all sorts of ways so they seem like they plan for people to die all different ways like old age and in battle but the game has not implemented this stuff. So my mods implement the stuff they arent using yet. Many of my mods kill people and will probably be obsolete once they update the game to include death.
    2. agoddamnbear
      agoddamnbear
      • member
      • 5 posts
      • 0 kudos
      I've noticed that when villages get raided and war torn enough the notables tend to change, which led me to assume they had died. Lords also will get married and have children, it just seems a recent patch either removed or broke this feature.
    3. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      check the encyclopedia, you can see if anyone died... they would mention old age death in the changelog id assume if they enabled it
  5. stormboy69
    stormboy69
    • member
    • 10 posts
    • 0 kudos
    with the latest update it seems characters dying too soon. 2 characters just die while being 20-something years old.
    1. traukodk
      traukodk
      • member
      • 8 posts
      • 0 kudos
      I can confirm.
      In my save a child won the rng lottery and died at a ripe old age of 6. Her family and friends will remember her.
    2. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      @traukodk, that's hilarious because it is literally a 1 in 10000 chance for her to die at 6 years old xD.

      @stormboy69 when I was debugging the script I had it print a bunch of the data on the screen and what I saw was there are around 1200-1500 heroes in the game and everytime it would evaluate them, 1-2 heroes would dies... 1/1200 is basically how the rng is working. It is a very low chance. The issue with seeing lot's of young people dying is I took the average age of those 1200 people and the average was 35 years old. So it appears the game has mostly younger people so it seems on average more younger people die. That's the only way I could rationalize why so many young people were dying. The game just lacks old people and the rng is so low probability anyways that it seems to get young people more often. I might just block young people entirely or you just gave me an idea I might do young people on a longer interval... like once every few months and only do old people on the 2-10 days interval... well thanks for the idea. I just thought of that as I typed this. :3
    3. traukodk
      traukodk
      • member
      • 8 posts
      • 0 kudos
      @Cheyron Ikr lol.
      The mod is perfect, its just that 1.4.1 (the waifu patch) added so many heroes and everyone is making babies, the chances for youngs and babies to die is greater because of the quantity. So the solution of different intervals is pretty good.
    4. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      After you have tested it a while, if you have any feedback it will be helpful. You guys probably get to play more often than me so testing is always hard for me. Let me know if it works in a good way. Young people should be able to die but should be rare and as you get older, well you know... let me know if it works out that way now. ;)
    5. traukodk
      traukodk
      • member
      • 8 posts
      • 0 kudos
      Well, I have played with this mod for a while and it been working just fine.
      I think I had just an oversight/bug where it killed a noble that was already dead (one of the khuzait nobles that are dead at the beginning, Urkhun iirc).
      Definitely not gamebreaking, I was just startled because that noble was 107 yo at that time.
  6. Mayckonwolf
    Mayckonwolf
    • member
    • 14 posts
    • 0 kudos
    The idea of the mod looks great but i don't have any idea how install it the charactters don't die of old age on the game sucks,i wish my character dies of old age and a son or wife stay in power,the mod have a great idea but looks complex,was be nice if could just use vortex or module old school.And i'm using 1.2.1 cause look more acceptable with a large mods without much issue so if you could solve this things i would really be greatful.
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      you can install this with vortex and this mod lets the player die and you can choose your heir when you die
  7. DonDerBehaarte
    DonDerBehaarte
    • member
    • 54 posts
    • 0 kudos
    i cant hook the mod in the luncher - its gray

    edit: ignore this...
  8. Ghrull
    Ghrull
    • member
    • 19 posts
    • 4 kudos
    Nice mod, one question, I have activated the option to protect merchants and gang leaders but sometimes notifications appear about someone in a town who has died, they are not noble and neither are they companions, they are citizens of the towns that give you missions and offer units to recruit, does this mean that over time the towns are empty and you cannot do missions or recruit troops in them?
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      well the people in towns should not die if you have the protection enabled for merchants and gang leaders... if true then it sounds like a bug, but I have not noticed it. I will keep an eye out and see if it happens to me when I play but those heroes should be protected... this is how the code works if you are interested to see it...

      if (settings?.ProtectEnabled ?? false)
      {
      if (settings.ProtectPlayer && hero == Hero.MainHero) continue;
      if (settings.ProtectCompanions && hero.IsPlayerCompanion) continue;
      TextObject nameTextObj = hero.Name;
      if (nameTextObj == null) continue;

      string name = nameTextObj.ToString();
      if (settings.ProtectLucon && name == "Lucon") continue;
      if (settings.ProtectMesui && name == "Mesui") continue;
      if (settings.ProtectCaladog && name == "Caladog")
      {
      #if DEBUG
      MessageHelper.DisplayDebugMessage("CALADOG PROTECTED");
      #endif
      continue;
      }
      if (settings.ProtectDerthert && name == "Derthert") continue;
      if (settings.ProtectIngalther && name == "Ingalther") continue;
      if (settings.ProtectUnqid && name == "Unqid") continue;
      if (settings.ProtectTais && name == "Tais") continue;
      if (settings.ProtectAdram && name == "Adram") continue;
      if (settings.ProtectGarios && name == "Garios") continue;
      if (settings.ProtectHurunag && name == "Hurunag") continue;
      if (settings.ProtectMelidir && name == "Melidir") continue;
      if (settings.ProtectErgeon && name == "Ergeon") continue;
      if (settings.ProtectRaganvad && name == "Raganvad") continue;
      if (settings.ProtectGodun && name == "Godun") continue;
      if (settings.ProtectRhagaea && name == "Rhagaea") continue;
      if (settings.ProtectMonchug && name == "Monchug") continue;
      if (settings.ProtectMerchantsAndGangLeaders && (hero.IsMerchant || hero.IsGangLeader)) continue;//THIS LINE SHOULD BLOCK THOSE HEROES FROM DYING WHEN ENABLED IN MCM
      }


    2. Ghrull
      Ghrull
      • member
      • 19 posts
      • 4 kudos
      Could it be that the option to protect merchants and gang leaders only protects NPCs marked as merchants and gang leaders and does not protect NPCs marked as headman, artisan and landowner from death? I just started a new game, I use very few mods and none of the mods except Getting Old is related to the death of NPC. Play in beta version 1.4.1
    3. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      that could be possible, I will chck and add those character to the protection then if they are categorized different by the game.
  9. Chococvjr
    Chococvjr
    • member
    • 126 posts
    • 0 kudos
    Using 1.41 crashes on death. I will try it now and I will tell you. THANKS
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      im on 1.4.0 so not sure if it crashes on that
    2. Chococvjr
      Chococvjr
      • member
      • 126 posts
      • 0 kudos
      I can say yes. It crashes at 1.4.1. I love this mod, I expect an update soon and I thank you for working even though the game is not currently working for you.
    3. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      yeah I am removing a bunch of my mods I had installed because my game constantly is crashing, if I try to talk to people, go into villages, it is ridiculous lol
    4. Chococvjr
      Chococvjr
      • member
      • 126 posts
      • 0 kudos
      Don't forget to delete the settings in My Documents. I hope you can make it work. 1.4.1 is working very well for me
    5. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      yeah I will try to do that now, right now I am uninstalling a bunch of mods and trying to only use the ones that matter. I want to play this game but for the past week all I get are crashes and I cant even test my own mods. And I still want to be able to install mods I find on nexus like everyone else... I cant just play this game with my mods only and I cant write every mod for myself haha... I will try to delete all settings now too, thanks
    6. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      hey someone just updated the mod for 1.4.1 so it should work now, use 1.0.7
    7. Chococvjr
      Chococvjr
      • member
      • 126 posts
      • 0 kudos
      @bockyx thanks! and @Cheyron thanks!! I hope you can enjoy the game again soon !!

    8. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      thanks @Chococvjr, I just started a new game today, I finally found out the mod that kept crashing (xorberax training field). So now I can finally play again but I think from now on I might just stay on stable branch, maybe if the changes are good enough I will move to beta again but I am sick of crashes that I would rather just stick to stable and not try to use so many mods like I was before. Because it is impossible to play this game with 100 mods and then TW is constantly updating and breaking mods. I don't dislike TW updating but I wish they would not modify the libraries so much it breaks things. And if anyone complains … "it is early access" and no one has any right to complain lol.
    9. Chococvjr
      Chococvjr
      • member
      • 126 posts
      • 0 kudos
      I understand you perfectly. I'm currently on 1.4.1 because it brought big performance changes for me. But I understand what you are saying, currently I have only 5 mods enabled and they are the ones that I think are essential, 2 of those are yours so thanks for making my game feel complete!
  10. finnvupt
    finnvupt
    • member
    • 33 posts
    • 0 kudos
    Using MCM and modlib cocurrently. This mod still works, but doesn't show probability options in mod option menu. However, the notification and hero protection menu still appear. And I think I get crash when someone dies too (still testing this)
    1. Cheyron
      Cheyron
      • supporter
      • 1,542 posts
      • 36 kudos
      the probability is removed, it just follows the table in the image
    2. Chococvjr
      Chococvjr
      • member
      • 126 posts
      • 0 kudos
      .
  11. Chococvjr
    Chococvjr
    • member
    • 126 posts
    • 0 kudos
    update please!