Jump to content

Photo

Getting Old


  • Please log in to reply
92 replies to this topic

#1
Site Bot

Site Bot

    Fear me

  • Members
  • PipPipPipPipPip
  • 1,998,664 posts
Getting Old

Random probability based on age and settings in mod options menu that a hero will die of old age. Compiled on beta branch 1.3.0, may or may not work on stable branch.

#2
fonky44

fonky44

    Stranger

  • Members
  • Pip
  • 2 posts
Cool idea, havent tested it yet but shouldnt you make it so you cant die before having an heir or possibly and settings option for it. knowing my luck im gonna die with that 0.5%

#3
Cheyron

Cheyron

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,545 posts
In response to post #80282768.


Spoiler

yeah bells and whistles come later but ur right

#4
Chococvjr

Chococvjr

    Enthusiast

  • Members
  • PipPip
  • 126 posts
I'm going to try it now! Thank you very much for listening, I was expecting it a long time ago! Question: Does this work for all heroes?

Edited by Chococvjr, 30 April 2020 - 10:25 PM.


#5
Cheyron

Cheyron

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,545 posts
In response to post #80283943.


Spoiler

hey I think there might be a bug, save often if you test it cause I just got this...


I will do my best to fix asap

edit: fixed

Edited by Cheyron, 30 April 2020 - 11:32 PM.


#6
Cheyron

Cheyron

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,545 posts
In response to post #80283943. #80284373 is also a reply to the same post.


Spoiler

fixed now, update to 1.0.1 and let me know how it works

#7
moonknight1993

moonknight1993

    Fan

  • Members
  • PipPipPip
  • 335 posts
What happends when you die?

#8
fenrir0054

fenrir0054

    Enthusiast

  • Members
  • PipPip
  • 125 posts
A quick question and a suggestion for when you expand on this in the future:

1. Does this affect children who haven't come of age yet? So like does a 6 year old have a 6*20/100000 chance of dying?

And you probably are already planning to do this but I suggest you change the math a little bit to better match typical life expectancy. I don't "do" math (I'm too cool for school) so maybe someone else can help you out with the function, but it shouldn't be linear. Here's a graph of the risk of death by age (per year, so it'd need to be changed for a per day (84 day/year or however many there are in Bannerlord):

https://lh3.googleus...Rn3cRbrjWpuv_pw

Those are modern times so you could probably increase infant mortality by a lot if you wanted to be realistic. Basically a higher chance of dying between the ages 0-2 or so, then a pretty low chance of dying for the next IDK 70+ years, then exponentially increasing chance after that.


Anyway, cool mod here. I'll be tracking it to see how it progresses!


#9
Cheyron

Cheyron

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,545 posts
In response to post #80287433.


Spoiler

probably nothing good lol

#10
Cheyron

Cheyron

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,545 posts
In response to post #80287533.


Spoiler

1. yes all ages are included... you can think of natural causes for a baby if it ever happens as some kind of illness or something. Should be extremely rare. But depends what settings you use of course.

2. I agree with you, I guess I need to use a logarithmic function or something, I will google it and see what to do






Page loaded in: 0.980 seconds