Results 1 to 11 of 11

Thread: Aging script: where is it ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Aging script: where is it ?

    Hi all ! Since I'm tired of people dying at 60 years I was looking through the files to get them live a bit longer (as they don't already live long enough), but I can't seem to find the right script. Would someone please be so kind to point that out for me ? Thanks in advance.

  2. #2
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Aging script: where is it ?

    Any aging script is part of the campaign_script.txt and how convoluted depending on the mod.

  3. #3

    Default Re: Aging script: where is it ?

    GrnEyedDvl wrote a few aging scripts for 4, 6, and 12 TPY.

    http://www.twcenter.net/forums/showthread.php?t=175383

    If you don't want 4, 6, or 12, it's pretty straightforward to adjust his script to whatever you want.

    Edit: Actually, your title confused me. What people call an aging script on here is a script that changes the rate at which characters age. If you want to make them live longer, I don't think it can be done via scripting. If it was possible, it would be a simple text edit in descr_campaign_db
    Spoiler Alert, click show to read: 
    <family_tree>
    <max_age uint="90"/>
    <max_age_for_marriage_for_male uint="75"/>
    <max_age_for_marriage_for_female uint="40"/>
    <max_age_before_death uint="105"/>
    <max_age_of_child uint="10"/>
    <old_age uint="60"/>
    <age_of_manhood uint="16"/>
    <daughters_age_of_consent uint="16"/>
    <daughters_retirement_age uint="40"/>
    <age_difference_min int="-10"/>
    <age_difference_max int="30"/>
    <parent_to_child_min_age_diff uint="12"/>
    <min_adoption_age uint="20"/>
    <max_adoption_age uint="30"/>
    <max_age_for_conception uint="50"/>
    <age_of_manhood_close uint="14"/>
    <max_number_of_children uint="4"/>
    </family_tree>

    You can try fiddling around with some of those numbers that seem relevant.
    Last edited by PapaRosario; November 30, 2012 at 09:17 AM.

  4. #4
    Vipman's Avatar Protector Domesticus
    Join Date
    Jul 2010
    Location
    Romania
    Posts
    4,405

    Default Re: Aging script: where is it ?

    Isn't there a file where you'd just increase the age limit maybe from ~70 to 90 or something? That's how I thought it works. Or only by scripting can characters live more than 70 years?

  5. #5

    Default Re: Aging script: where is it ?

    Quote Originally Posted by vipman View Post
    Isn't there a file where you'd just increase the age limit maybe from ~70 to 90 or something? That's how I thought it works. Or only by scripting can characters live more than 70 years?
    Nope, it can't be done by scripting. You might be able to do it in the descr_campaign_db file, though I've never tried to myself so I can't confirm whether or not it's actually possible.

  6. #6
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Aging script: where is it ?

    Quote Originally Posted by vipman View Post
    Isn't there a file where you'd just increase the age limit maybe from ~70 to 90 or something? That's how I thought it works. Or only by scripting can characters live more than 70 years?
    descr_campaign_db.xml, I believe.

  7. #7

    Default Re: Aging script: where is it ?

    Thanks for all your answers, but looks like I can't edit the descr_campaign_db,

  8. #8
    Vipman's Avatar Protector Domesticus
    Join Date
    Jul 2010
    Location
    Romania
    Posts
    4,405

    Default Re: Aging script: where is it ?

    These 3 lines seem to be relevant
    <family_tree>
    <max_age uint="90"/>
    <max_age_before_death uint="105"/>
    <old_age uint="60"/>

    And I guess changing the last value actually makes FM's live longer.

    You can edit it with notepad

  9. #9

    Default Re: Aging script: where is it ?

    ^ I edited that file with notepad with higher values (respectively 105/120/80, just be sure it works), but they don't seem to affect the game at all, people still dies at 62-63 years.

  10. #10
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Aging script: where is it ?

    Delete the map.rwm and start a new campaign.

  11. #11

    Default Re: Aging script: where is it ?

    Quote Originally Posted by irishron View Post
    Delete the map.rwm and start a new campaign.
    It doesn't work, I fear; maybe it's because the map.rwm keeps coming back when I start the new campaign. Oooooor, maybe, it's because I'm playing the retrofit+guam mod and so I need to delete both the vanilla and the mod files.....I'll give it a try.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •