Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Unfortunately, the game's core code never intended for mods to have villagers age so many centuries, there is a counter-limit at 256 years. With the mod settings, the age to die can be anywhere randomly between 240 - 320. If it is below 256, the villager will live until old age of 60 - 64 years. But if the value is equal or above 256, the counter cycles over and starts counting again from age 0
Since the value could go as high as 320, rollover effects could kill children until the age of 17.
If you struggled on this mod for any time, you probably noticed that if a villager survived until 18, then they were safe after those youthful, dangerous years.
THIS is why.
My changes are simple. I reduced the dieRangeBegin and dieRangeEnd to 200-255, resulting in a life of 50-63.75 years.
I also changed the 'local ae' which is used to spawn your first villagers, so that everyone is less than 50 when spawning in.. You can set this to whatever you want.
I messed around with the code, and I fixed the curse for my game so nobody will die young, but instead nobody lives past age 63.
OP is correct; it is a limitation to the core-code, which I will explain below.
If you are interested, go to your mod file location (.../steamapps/workshop/content/496460/1942633452)
and open the eien_forsakenvillage.lua using any editor, or just notepad and replace values:
local ae = 199
timelineP.dieRangeBegin = MF(50*a)
timelineP.dieRangeEnd = 255
*Change for timelineV also if you are playing with raids. It's for viking spawns*
Explanation:
What is going on here, is in the vanilla game, villagers age every season and not every year, thereby creating 4 age-years per game-year. When a villager spawns into the game either at the start or by birth, they are generated an age to die.
Eien's original code for this mod, resulted in 240 age-years, and 320 age-years; divide by 4 = 60 to 80 game-years.
Keep up the good work!