Page 1 of 2 12 LastLast
Results 1 to 20 of 27

Thread: Royal Family and General aging

  1. #1

    Default Royal Family and General aging

    I'm wondering if there is a mod or something that makes possible to stop the aging of the members of the royal family and the generals, so that they will never age.

    Thamks in advance for any answer

  2. #2

    Default Re: Royal Family and General aging

    I dont think its possible to stop the ageing process, however there are certainly mods than can allow characters to live for hundreds of turns, which is effectively the same thing.

  3. #3
    ChivalrousKiller's Avatar Domesticus
    Join Date
    Jan 2010
    Location
    Grimstad, Norway
    Posts
    2,244

    Default Re: Royal Family and General aging

    If it was, then the Third Age team would probably have used it on their elves

  4. #4

    Default Re: Royal Family and General aging

    It's not a good idea anyway as you are just going to keep getting more and more generals, to the point you don't even need to train troops.

  5. #5

    Default Re: Royal Family and General aging

    A scrpit can be written to slow it down, or even have them "reborn" if they die. Yet I know nothing of completely stopping the aging effect.
    You can drop humans anywhere and they'll thrive-only the rat does as well.Jeannette Desor

    Man in Black: [as he is unsuccessfully fighting Fezzik] Look, are you just fiddling around with me or what?
    Fezzik: I just want you to feel you're doing well. I hate for people to die embarrassed.

  6. #6
    Saint Nicholas's Avatar No Avatar Specified
    Join Date
    Sep 2009
    Location
    Australia
    Posts
    2,524

    Default Re: Royal Family and General aging

    It's called the Fountain of Youth script.
    "Muscovy", as its rulers have previously called it, is a sleeping giant, with age-old traditions and ways of doing things. Here, the feudal way of life has become so entrenched that the serfs are as tied to the land as cattle, and with almost as few rights. It is a vast, deeply conservative and religious country: Mother Russia and the Orthodox Church are the two pillars of national belief. The Tsar may be the father of his people, but by tradition and practice he is a stern parent. Ivan the Terrible was well named, and he has not been the only ruler with an iron will. Russia is the "Third Rome". The last bastion of Orthodox Christianity.

  7. #7
    tudor93's Avatar Primicerius
    Join Date
    Nov 2009
    Location
    Unicul Bucureşti
    Posts
    3,373

    Default Re: Royal Family and General aging

    Quote Originally Posted by Kelvinator View Post
    It's not a good idea anyway as you are just going to keep getting more and more generals, to the point you don't even need to train troops.
    no, if you current ones won't die you won't get any adoption canditates and you won't have new born family memebers either because there's that limit of FM's / Generals depending on how many settlements you have
    Înfrânt nu eşti atunci când sângeri,
    nici ochii când în lacrimi ţi-s.
    Adevăratele înfrângeri,
    sunt renunţările la vis.

  8. #8
    DennisRoos's Avatar Tiro
    Join Date
    Jun 2009
    Location
    the Netherlands
    Posts
    205

    Default Re: Royal Family and General aging

    You can increase the amount of turns per year, so instead of 2 years passing each turn, only 1 or half a year passes. This will cause your characters to live for more turns. I'm not sure in which file you can change it, but you should be able to find it on these forums easily. Just search for 'turns per year' and I'd think you should be able to find it.

    And BTW chivalrouskiller, I vaguely remember someone from the TATW team stating that they couldn't increase the age for the Elves without increasing the age for every faction. So if they increased the age of Elves to 500 years for example, Men, Dwarves, Orcs etc would age to 500 as well. I might be wrong though, I don't know much about modding, and the problem may be something else, but this is what I recall.
    Last edited by DennisRoos; September 28, 2011 at 09:53 AM.

  9. #9
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Royal Family and General aging

    If you set your game up to 4 TURNS per YEAR your starting characters will generally last for the duration of the game. Just add the following to yourdata/world/maps/campaign/imperial_campaign/campaign_script file:

    Code:
    ; Seasonal Turn Script
    
    declare_counter seasonal_turn
    set_counter seasonal_turn 1
    
    monitor_event PreFactionTurnStart FactionIsLocal
        if I_CompareCounter seasonal_turn == 1
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 2
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 3
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 4
            console_command season winter
        end_if
        
        inc_counter seasonal_turn 1
        if I_CompareCounter seasonal_turn == 5
            set_counter seasonal_turn 1
        end_if
    end_monitor
    
    monitor_event FactionTurnEnd FactionType slave
        and I_CompareCounter seasonal_turn > 1
        console_command season summer
    
    end_monitor
    Then, in data/world/maps/campaign/imperial_campaign/descr_strat, change the "timescale" line (near the top) to:

    Code:
    timescale    0.25
    Last edited by AJStoner; September 28, 2011 at 12:37 PM.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  10. #10
    tudor93's Avatar Primicerius
    Join Date
    Nov 2009
    Location
    Unicul Bucureşti
    Posts
    3,373

    Default Re: Royal Family and General aging

    Quote Originally Posted by AJStoner View Post
    If you set your game up to 4 years per turn your starting characters will generally last for the duration of the game. Just add the following to yourdata/world/maps/campaign/imperial_campaign/campaign_script file:

    Code:
    ; Seasonal Turn Script
    
    declare_counter seasonal_turn
    set_counter seasonal_turn 1
    
    monitor_event PreFactionTurnStart FactionIsLocal
        if I_CompareCounter seasonal_turn == 1
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 2
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 3
            console_command season summer
        end_if
        
        if I_CompareCounter seasonal_turn == 4
            console_command season winter
        end_if
        
        inc_counter seasonal_turn 1
        if I_CompareCounter seasonal_turn == 5
            set_counter seasonal_turn 1
        end_if
    end_monitor
    
    monitor_event FactionTurnEnd FactionType slave
        and I_CompareCounter seasonal_turn > 1
        console_command season summer
    
    end_monitor
    Then, in data/world/maps/campaign/imperial_campaign/descr_strat, change the "timescale" line (near the top) to:

    Code:
    timescale    0.25
    uhm 0.25 ? 4 years per turn ? I thought the minimum is 0.5 and it means 6 months per turn meaning 4 turns per year
    Înfrânt nu eşti atunci când sângeri,
    nici ochii când în lacrimi ţi-s.
    Adevăratele înfrângeri,
    sunt renunţările la vis.

  11. #11
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Royal Family and General aging

    No minimum, this works fine. You can even go 12 turns per year if you like: HERE.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  12. #12
    kevindrosario's Avatar Ordinarius
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    791

    Default Re: Royal Family and General aging

    Quote Originally Posted by tudor93 View Post
    uhm 0.25 ? 4 years per turn ? I thought the minimum is 0.5 and it means 6 months per turn meaning 4 turns per year
    There is no minimum. Your character's age whenever the season changes from winter to summer. This happens once every 2 turns by default, so your characters age one year every two turns (or four in-game years). Changing the timescale to 0.5 will make it so they age properly by default because every two turns will now be 1 in-game year rather than 4.

    But you can very easily create a script so every season doesn't change between winter and summer. You can hold the season as summer for 100 turns, and then change it to winter. Then your characters will only age one year for every 101 turns. That's what the above poster did. He held it as summer for 3 turns and changed it to winter for the 4th turn. That way characters only age once every 4 turns. In that case, the proper timescale would be 0.25.

  13. #13
    tudor93's Avatar Primicerius
    Join Date
    Nov 2009
    Location
    Unicul Bucureşti
    Posts
    3,373

    Default Re: Royal Family and General aging

    Quote Originally Posted by kevindrosario View Post
    There is no minimum. Your character's age whenever the season changes from winter to summer. This happens once every 2 turns by default, so your characters age one year every two turns (or four in-game years). Changing the timescale to 0.5 will make it so they age properly by default because every two turns will now be 1 in-game year rather than 4.

    But you can very easily create a script so every season doesn't change between winter and summer. You can hold the season as summer for 100 turns, and then change it to winter. Then your characters will only age one year for every 101 turns. That's what the above poster did. He held it as summer for 3 turns and changed it to winter for the 4th turn. That way characters only age once every 4 turns. In that case, the proper timescale would be 0.25.
    wait wait wait, I'm no modder so I don't understand all those changes you guys are doing, tell me if I got it right; so I tohught it's this way: 1 turn means 2 years, your characters age 6 months per turn, that means 2 turns = 1 year for the character and 4 years for the rest of the campaign (or whatever , you get my point), so I thought that if I go in the descr_strat file and change that time_scale line (at least I know how to do this) from 2.0 to 0.5 it will all be fine like: 1 turn = 6 months instead of 2 years so the characters age properly.
    I don't know a thing about how those seasons work, when they change, how they affect the character's aging etc. can you please explain ?

    edit:

    ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
    I get now, I think
    Quote Originally Posted by kevindrosario View Post
    That's what the above poster did. He held it as summer for 3 turns and changed it to winter for the 4th turn. That way characters only age once every 4 turns. In that case, the proper timescale would be 0.25.
    so this means 1 turn = 3 months, the first 3 turns (first 9 months) = summer and the last turn (last 3 months) = winter
    right ?
    Last edited by tudor93; September 28, 2011 at 01:05 PM.
    Înfrânt nu eşti atunci când sângeri,
    nici ochii când în lacrimi ţi-s.
    Adevăratele înfrângeri,
    sunt renunţările la vis.

  14. #14
    kevindrosario's Avatar Ordinarius
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    791

    Default Re: Royal Family and General aging

    What you said is correct. However, the 2 turns = 1 year for a character is only by default settings. This is because the season changes between summer and winter every turn. Characters age when the season changes from winter to summer, so this happens once every two turns by default. If you instead hold the summer so it lasts for 100 turns, then goes back to winter for a turn, then goes back to summer for 100 turns, etc. Then your characters will only age once every 101 turns.

    Edit:
    Quote Originally Posted by tudor93 View Post
    so this means 1 turn = 3 months, the first 3 turns (first 9 months) = summer and the last turn (last 3 months) = winter
    right ?
    Yup, that's right.

  15. #15
    tudor93's Avatar Primicerius
    Join Date
    Nov 2009
    Location
    Unicul Bucureşti
    Posts
    3,373

    Default Re: Royal Family and General aging

    ah ok thanks for explaining maybe when I'll be in the mood for M2TW again I'll try this script but I think I'll install SS (I played retrofit + guam the last time but now I want a major improvement) ; will the script work with SS ?
    Înfrânt nu eşti atunci când sângeri,
    nici ochii când în lacrimi ţi-s.
    Adevăratele înfrângeri,
    sunt renunţările la vis.

  16. #16
    kevindrosario's Avatar Ordinarius
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    791

    Default Re: Royal Family and General aging

    To see if it's compatible with a mod, check to see if the mod already messes with the seasons. Taking a quick look through the SS campaign_script, it already has this:

    Spoiler Alert, click show to read: 
    ;=================== AGEING SCRIPT ======================
    declare_counter season
    declare_counter turn
    set_counter turn 0

    monitor_event FactionTurnEnd FactionType slave
    console_command season winter
    set_counter turn 1
    end_monitor

    monitor_event PreFactionTurnStart I_CompareCounter turn = 1

    inc_counter season 1
    if I_CompareCounter season = 1
    console_command season summer
    end_if

    if I_CompareCounter season = 2
    console_command season winter
    set_counter season 0
    end_if

    set_counter turn 0

    end_monitor

    You would just have to modify that script with a higher counter. Maybe 1, 2, and 3 set to summer and 4 set to winter with a reset to 0. Or however many turns you want a year to be.

  17. #17

    Default Re: Royal Family and General aging

    There's no way to do it. Even with 2 year turns my family members still age like before, and it would be a pretty pathetic to do too, since the whole purpose of the game is not playing a single character through the whole campaign but telling the story of a country through the good and the bad times.

  18. #18
    kevindrosario's Avatar Ordinarius
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    791

    Default Re: Royal Family and General aging

    Quote Originally Posted by issler View Post
    There's no way to do it. Even with 2 year turns my family members still age like before, and it would be a pretty pathetic to do too, since the whole purpose of the game is not playing a single character through the whole campaign but telling the story of a country through the good and the bad times.
    You not understanding how to do it =/= It not being possible

    It's already been explained multiple times in this thread how to do it. Read again.

    Edit: And if someone wants to play this game over the course of 50 years rather than 500 years, I don't see why they shouldn't be able to do so.

  19. #19

    Default Re: Royal Family and General aging

    I mainly play MTW2 with 4 turn = 1 year, so I can have a slow well planned game.

    If I can keep my generals alive, they grow into great men. Since I do not adopt and rarely marry into my royal line, I do suffer the side effect of my children 4 times as long to mature.

    It make the game much more mentally challenging.
    You can drop humans anywhere and they'll thrive-only the rat does as well.Jeannette Desor

    Man in Black: [as he is unsuccessfully fighting Fezzik] Look, are you just fiddling around with me or what?
    Fezzik: I just want you to feel you're doing well. I hate for people to die embarrassed.

  20. #20
    vin2579's Avatar Civis
    Join Date
    Nov 2013
    Location
    The Planet Earth
    Posts
    143

    Default Re: Royal Family and General aging

    Quote Originally Posted by kevindrosario View Post
    To see if it's compatible with a mod, check to see if the mod already messes with the seasons. Taking a quick look through the SS campaign_script, it already has this:

    Spoiler Alert, click show to read: 
    ;=================== AGEING SCRIPT ======================
    declare_counter season
    declare_counter turn
    set_counter turn 0

    monitor_event FactionTurnEnd FactionType slave
    console_command season winter
    set_counter turn 1
    end_monitor

    monitor_event PreFactionTurnStart I_CompareCounter turn = 1

    inc_counter season 1
    if I_CompareCounter season = 1
    console_command season summer
    end_if

    if I_CompareCounter season = 2
    console_command season winter
    set_counter season 0
    end_if

    set_counter turn 0

    end_monitor

    You would just have to modify that script with a higher counter. Maybe 1, 2, and 3 set to summer and 4 set to winter with a reset to 0. Or however many turns you want a year to be.
    Where would I edit? I am using SS 6.4

Page 1 of 2 12 LastLast

Posting Permissions

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