Previous topic :: Next topic |
Author |
Message |
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
|
Back to top |
|
|
Chris93 Team
Offline
Joined: 05 Apr 2013 Posts: 1,965
Localisation: Italia
|
Posted: Sun 29 Sep - 12:30 (2013) Post subject: About Traits |
|
|
|
|
Back to top |
|
|
Lonhaldar Administrateur
Offline
Joined: 06 Mar 2013 Posts: 3,190
Localisation: France
|
Posted: Sun 29 Sep - 12:35 (2013) Post subject: About Traits |
|
|
You can make a condition like "NOT = { trait = blood_of_numenor }", and you won't needs any character flag |
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Sun 29 Sep - 12:39 (2013) Post subject: About Traits |
|
|
I had those kinds of conditions from the start, that's why it was driving me nuts
I still don't fully understand why, but for some reason the random_limit part of the "IF" condition kept firing so that even if there was only a 25% chance of inheriting, it would just fire 100 times and there would end up being a 99.9999% chance of inheriting.
But yeah, the important thing is that it works now |
|
Back to top |
|
|
Chris93 Team
Offline
Joined: 05 Apr 2013 Posts: 1,965
Localisation: Italia
|
Posted: Tue 15 Oct - 16:52 (2013) Post subject: About Traits |
|
|
Lon, dwarves and elves traits/events need localisations PS: I'm working at a similar trait/event for hobbits, with malus on martial abilities, on "ai_ambition" and a boost of "ai_rationality" to simulate the pacifism of Hobbits. You set health = 120.0 for dwarves, and health = 100.0 for elves, what could i set for hobbits? |
|
Back to top |
|
|
Publicité
|
Posted: Tue 15 Oct - 16:52 (2013) Post subject: Publicité |
|
|
|
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Tue 15 Oct - 16:55 (2013) Post subject: About Traits |
|
|
With health=20 for for the Blood_of_Numenor trait characters live almost to be 200 years old (I think I stopped playing when Denethor, Aragorn, and Imrahil were all in their 160s).
So definitely not 20, perhaps we should try with 10? |
|
Back to top |
|
|
Chris93 Team
Offline
Joined: 05 Apr 2013 Posts: 1,965
Localisation: Italia
|
Posted: Tue 15 Oct - 16:56 (2013) Post subject: About Traits |
|
|
Blood Royal wrote: | With health=20 for for the Blood_of_Numenor trait characters live almost to be 200 years old (I think I stopped playing when Denethor, Aragorn, and Imrahil were all in their 160s).
So definitely not 20, perhaps we should try with 10?
|
If health=20 lets Numenoreans living 200 years isn't health=120 too much for dwarves? |
|
Back to top |
|
|
Lonhaldar Administrateur
Offline
Joined: 06 Mar 2013 Posts: 3,190
Localisation: France
|
Posted: Tue 15 Oct - 17:00 (2013) Post subject: About Traits |
|
|
I'll try a game during 300+ years and i'll see
In fact, i extend some little things in the defines.lua lines: NATURAL_DEATH_CHANCE_AGE_0 = 5, -- Natural deaths per decade out of 10000 people: Age 0-9 NATURAL_DEATH_CHANCE_AGE_10 = 1, -- Natural deaths per decade out of 10000 people: Age 10-19 NATURAL_DEATH_CHANCE_AGE_20 = 15, -- Natural deaths per decade out of 10000 people: Age 20-29 NATURAL_DEATH_CHANCE_AGE_30 = 20, -- Natural deaths per decade out of 10000 people: Age 30-39 NATURAL_DEATH_CHANCE_AGE_40 = 51, -- Natural deaths per decade out of 10000 people: Age 40-49 NATURAL_DEATH_CHANCE_AGE_50 = 100, -- Natural deaths per decade out of 10000 people: Age 50-59 NATURAL_DEATH_CHANCE_AGE_60 = 320, -- Natural deaths per decade out of 10000 people: Age 60-69 NATURAL_DEATH_CHANCE_AGE_70 = 734, -- Natural deaths per decade out of 10000 people: Age 70-79 NATURAL_DEATH_CHANCE_AGE_80 = 1728, -- Natural deaths per decade out of 10000 people: Age 80-90 NATURAL_DEATH_CHANCE_AGE_90 = 4000, -- Natural deaths per decade out of 10000 people: Age 90-99 NATURAL_DEATH_CHANCE_AGE_100 = 8160, -- Natural deaths per decade out of 10000 people: Age 100-109 NATURAL_DEATH_CHANCE_AGE_110 = 8520, -- Natural deaths per decade out of 10000 people: Age 110-119 NATURAL_DEATH_CHANCE_AGE_120 = 8960, -- Natural deaths per decade out of 10000 people: Age 120-129 NATURAL_DEATH_CHANCE_AGE_130 = 9160, -- Natural deaths per decade out of 10000 people: Age 130-139 NATURAL_DEATH_CHANCE_AGE_140 = 9560, -- Natural deaths per decade out of 10000 people: Age 140-149 NATURAL_DEATH_CHANCE_AGE_150 = 9990, -- Natural deaths per decade out of 10000 people: Age 150+
It's something we could easily changed later too. So with a +20 health, characters will lives until 170-180 years, (200 for the stronger ones), and someone with +120 health should live 400 years i think. But we're needing some adjustments on this. |
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Tue 15 Oct - 17:03 (2013) Post subject: About Traits |
|
|
If you do, try and load my blood_of_numenor event also and add my gondorian characters when you play that 300+ game hehe. Would like to see if there is any blood of numenor left after so long |
|
Back to top |
|
|
Lonhaldar Administrateur
Offline
Joined: 06 Mar 2013 Posts: 3,190
Localisation: France
|
Posted: Tue 15 Oct - 17:09 (2013) Post subject: About Traits |
|
|
Ok, no problem I already loaded all your characters, and i almost finished the characters for Rhun! |
|
Back to top |
|
|
Publicité
|
Posted: Tue 15 Oct - 17:09 (2013) Post subject: Publicité |
|
|
|
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Tue 15 Oct - 17:12 (2013) Post subject: About Traits |
|
|
Excellent! The thing I'd like to knwo for long-term simulations is, yes, blood_of_numenor gives fertility malus, but it also allows characters to live longer, meaning then can marry a 2nd and 3rd wife and keep reproducing (Denethor at 160 years old had like 10 children - though only half of them had inherited the trait since his wife didn't have it). So I'm thinking about hte evolutionary dynamics, and if we need to increase the fertility malus for that trait Trait should after all become more and more rare after time, and not more and more common. |
|
Back to top |
|
|
Lonhaldar Administrateur
Offline
Joined: 06 Mar 2013 Posts: 3,190
Localisation: France
|
Posted: Tue 15 Oct - 17:15 (2013) Post subject: About Traits |
|
|
Yes, even if Elessar and his descendants will give to men a new "numenorean" revival |
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Tue 15 Oct - 17:59 (2013) Post subject: About Traits |
|
|
Yes, the Heir_of_Isildur trait should give minor health bonuses (on top of the blood_of_numenor trait) and be inherited no matter what. If someone has both heir of isildur and blood of numenor, they should live to 180ish, or however long it was that Aragorn lived to |
|
Back to top |
|
|
Lonhaldar Administrateur
Offline
Joined: 06 Mar 2013 Posts: 3,190
Localisation: France
|
Posted: Tue 15 Oct - 18:00 (2013) Post subject: About Traits |
|
|
Well we can make a small event for remove the "blood of numenor" trait when a character got the "heir_of_isildur" trait |
|
Back to top |
|
|
Blood Royal Team
Offline
Joined: 18 Jul 2013 Posts: 1,077
Localisation: Denmark
|
Posted: Tue 15 Oct - 18:04 (2013) Post subject: About Traits |
|
|
We can, yes, but if Aragorn and his descendants keep marrying non-numenoreans, I think that should be reflected in the life expectancy. But maybe that's just me being elitist
Edit: It works quite well now though in that princely families prefer to marry into other princely familes, and most ofhte princely families should have at least the blood_of_numenor2 trait. |
|
Back to top |
|
|
|