Results 1 to 5 of 5

Thread: Adjusting how fast generals age?

Hybrid View

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

    Default Adjusting how fast generals age?

    I'm loving 3.2 (+mos), but note that aging is pretty slow. It looks to be a 12-month/turn cycle for a general to age up. I enjoy establishing family lines, and that's very difficult with such slow aging in the game so I'm trying to tweak it.

    I did some research and went into the game files (detailed below). My changes have managed to make it so that seasons go Summer-Summer-Summer-Winter (repeat). And that every four turns the game year goes up. But now NO ONE is aging. Years and seasons go by as planned, but even after 12 turns, no age increase, much less after the expected 4 turns.

    I'm not sure what I did wrong. Any help would be appreciated!!!

    Location of changes: data/world/maps/campaign/imperial_campaign/

    I made two changes:

    (1) descr_strat;

    I set "timescale 0.25"

    (2) campaign_script, I edited down to:


    "monitor_event PreFactionTurnStart FactionIsLocal ; set the season for each month
    if I_CompareCounter month == 1 ;January
    console_command season summer
    end_if

    if I_CompareCounter month == 2 ;February
    console_command season summer
    end_if

    if I_CompareCounter month == 3 ;March
    console_command season summer
    end_if

    if I_CompareCounter month == 4 ;April
    console_command season winter
    end_if


    inc_counter month 1 ;advance the month
    if I_CompareCounter month == 5 ;start a new year
    set_counter month 1
    end_if
    end_monitor

    monitor_event FactionTurnEnd FactionType slave
    and I_CompareCounter month < 4
    console_command season summer
    end_monitor

  2. #2

    Default Re: Adjusting how fast generals age?

    Okay, so I think I've solved the issue. I'll just post my finding for anyone that may stumble upon this post in the future through google or forum searching.


    Age and appear to be completely disparate. So adjusting the "timescale" changes how fast the calendar years change i.e. 2001, 2002, 2003, 2004, but do not directly impact aging at all.


    Rather, aging appears to occur when a season changes. Seems like it's the Winter-> Summer that causes people to age up. My issue was resolved by removing the final part of the script:


    monitor_event FactionTurnEnd FactionType slave
    and I_CompareCounter month < 4
    console_command season summer
    end_monitor


    Which I initially modified by changing the "12" to a "4". It seems as though the goal here is allowing multiple winters without causing years to go by. Which would be important in 3.2's 12 month calendar year. Removing that portion of the script causes aging to occur normally under four seasons.


    I suppose a side trick here would be that modifying that last portion of the script would also allow people to disable aging entirely.


    Anyways, hope this helps someone in the future.

  3. #3
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Adjusting how fast generals age?

    For the record, vanilla TATW has 4 turns per year as you have done. You could have just used its season script and timescale.

  4. #4
    Lord Baal's Avatar Praefectus
    Join Date
    Apr 2011
    Location
    Republica de Venezuela
    Posts
    6,699

    Default Re: Adjusting how fast generals age?

    And now you have elves and dwarves with human lifespans...
    PROUD TO BE A PESANT. And for the dimwitted, I know how to spell peasant. <== This blue things are links, you click them and magical things (like not ending up like a fool) happens.
    Visit my utterly wall of doom here.
    Do you wanna play SS 6.4 and take your time while at it? Play with my 12 turns per year here.
    Y también quieres jugar Stainless Steel 100% en español? Mira por aca.

  5. #5

    Default Re: Adjusting how fast generals age?

    Quote Originally Posted by Lord Baal View Post
    And now you have elves and dwarves with human lifespans...
    Eh. I usually play as Eriador -> Arnor anyways. So it's unlikely any of them (elf, dwarves, or otherwise) are making it to old age anyways. Once I seat as high king it's time to reclaim all that which is rightfully mine.

Posting Permissions

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