Page 1 of 4 1234 LastLast
Results 1 to 20 of 77

Thread: Generals are ageing to fast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Foederatus
    Join Date
    Apr 2009
    Location
    Germany South Badensia :D
    Posts
    26

    Default Generals are ageing to fast

    The title says it: the Timeframe of the game is set to 4 turns = 1 year, but Characters age at a rate of 2 turns=1 year.

    Easiest way to fix that seems (for me) to include the following text into the Campaign_script.txt:
    Spoiler Alert, click show to read: 
    ; 1. 4 Turns per year.
    declare_counter quarter
    set_counter quarter 1 ;set to January

    monitor_event PreFactionTurnStart FactionIsLocal ; set the season for each quarter
    if I_CompareCounter quarter == 1 ;Jan, Feb, March
    console_command season winter
    end_if

    if I_CompareCounter quarter == 2 ;April, May, June
    console_command season summer
    end_if

    if I_CompareCounter quarter == 3 ;July, Aug, Sept
    console_command season summer
    end_if

    if I_CompareCounter quarter == 4 ;Oct, Nov, Dec
    console_command season winter
    end_if

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

    monitor_event FactionTurnEnd FactionType slave
    and I_CompareCounter quarter > 1
    console_command season summer
    end_monitor

    wait_monitors

    That it works you also have to change the startdate in descr_strat from "2954 summer" to "2954 winter".
    Both files can be found in the mods\Third_Age\data\world\maps\campaign\imperial_campaign folder.
    You have to start a new campaign that this script works.
    All credits for this script should go to the user GreenEyedDevil, at least he is the one I've stolen it from

    Edit: to make it easier: just download this two files and overwrite the existing ones.
    (And of course, make backups from the originals, just in case you don't like it)

    EDIT²: fixed some compatiblity-issue with the garrison script, should work correctly now.

    Please report if you find any further bugs.

    Edit³: Updated the attached files to the current version (1.1) of Third age total war.
    Last edited by Sohn des Khaine; May 13, 2009 at 12:54 PM.

  2. #2
    Achilla's Avatar Vicarius
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    2,577

    Default Re: Generals are ageing to fast

    Winter is bad, who needs snow in desert O.o
    Man is but a shadow of his former self, encased in feverish delusions of grandeur.
    Ignorance is your shield, knowledge is your weapon.
    Heart without reason is stupid, reason without heart is blind.


  3. #3

    Default Re: Generals are ageing to fast

    nice little script.

    moved to sub-mods.

    Winner of 'Favorite M2TW Mod' and 'Favorite M2TW Modder' Award 2007 & 2008

  4. #4
    Smokey Bear's Avatar Libertus
    Join Date
    Apr 2009
    Location
    New Jersey, USA
    Posts
    65

    Default Re: Generals are ageing to fast

    Where do I paste the script in the campaign script.txt, or in any open area?
    "One and One make Two, Two and One make Three, It was Destiny."

  5. #5
    Foederatus
    Join Date
    Apr 2009
    Location
    Germany South Badensia :D
    Posts
    26

    Default Re: Generals are ageing to fast

    @Achilla
    There's no snow in dessert. AFAIK "winter" only affects northern Euope territory. At all I don't even know IF it does anything on the campaign or battle map. the only reason intended for this script is to let the Characters age at a slower rate: 1 year every 4 turns instead of one year every 2 turns.

    @Smokey Bear
    directly in the campaign_script.txt. I added a modified version in the first Post, so you can simply replace the original file.

  6. #6
    Achilla's Avatar Vicarius
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    2,577

    Default Re: Generals are ageing to fast

    Quote Originally Posted by Sohn des Khaine View Post
    @Achilla
    There's no snow in dessert. AFAIK "winter" only affects northern Euope territory. At all I don't even know IF it does anything on the campaign or battle map. the only reason intended for this script is to let the Characters age at a slower rate: 1 year every 4 turns instead of one year every 2 turns.

    @Smokey Bear
    directly in the campaign_script.txt. I added a modified version in the first Post, so you can simply replace the original file.
    There is awful snow in my sunny steppes as Rhun. It suxs!
    Man is but a shadow of his former self, encased in feverish delusions of grandeur.
    Ignorance is your shield, knowledge is your weapon.
    Heart without reason is stupid, reason without heart is blind.


  7. #7
    aduellist's Avatar Push the button Max!
    Join Date
    Mar 2005
    Location
    Shenandoah Valley
    Posts
    1,822

    Default Re: Generals are ageing to fast

    Thank you! Not only do I not have to do this myself, but your solutions is more elegant by far than mine would have been. +rep
    Under the patronage of TheFirstONeill
    Proud team member of
    THERA, A New Beginning


    "The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all." H. L. Mencken

    "Liberty is meaningless where the right to utter one’s thoughts and opinions has ceased to exist. That, of all rights, is the dread of tyrants. It is the right which they first of all strike down." Frederick Douglass

  8. #8

    Default Re: Generals are ageing to fast

    Thanks for this!

  9. #9
    Beorn's Avatar Praepositus
    Join Date
    Jan 2009
    Location
    Athens
    Posts
    5,325

    Default Re: Generals are ageing to fast

    Who cares... I prefer this than losing my Generals too fast...

  10. #10

    Default Re: Generals are ageing to fast

    D'oh! I had to overwrite this campaign_script.txt with the nerfed garrison script. Any chance you could post what to change if it isn't too much trouble?

  11. #11
    Foederatus
    Join Date
    Apr 2009
    Location
    Germany South Badensia :D
    Posts
    26

    Default Re: Generals are ageing to fast

    There is awful snow in my sunny steppes as Rhun
    What's wrong with this fact? Lorewise Rhun resembles to the caucasian area/Russia. and "sunny" is the last word to describe these areas in the winter.

    Any chance you could post what to change if it isn't too much trouble?
    Just copy the spoilered text in the first post an paste it in your own. campaign_script.tx.
    Just look that it is after the order "script". And try not to disrupt other scripts.

  12. #12

    Default Re: Generals are ageing to fast

    awesome job i hated that my generals were aging to quickly.

  13. #13

    Default Re: Generals are ageing to fast

    When I try to copy and paste the fles and save the changes, the computer says it cannot create "the correct path way" and suggests i check the save name. I'm using Vista, if that means anything.
    Last edited by The Alchemist; April 30, 2009 at 04:55 PM.

  14. #14

    Default Re: Generals are ageing to fast

    Quote Originally Posted by The Alchemist View Post
    When I try to copy and paste the fles and save the changes, the computer says it cannot create "the correct path way" and suggests i check the save name. I'm using Vista, if that means anything.
    You cant edit in the program files area. You have to copy the file, make a back up (incase it goes wrong). Edit one of the copies and then copy and paste back into the program files

  15. #15

    Default Re: Generals are ageing to fast

    Once none of my generals were aging at all (which really isn't all that bad). I don't remember if I was using this script or not.

  16. #16

    Default Re: Generals are ageing to fast

    so does this mean a kid takes 64 turns to turn 16. and then a person living 300 turns (75 years) of the total 384ish turns? sounds wacky, i need generals faster than that, preferably not pickup generals. i would love this if you start off with a faction with a lot of generals and cool characters, but not so much if you start out with a little
    Last edited by cvo99; April 30, 2009 at 05:14 PM.

  17. #17

    Default Re: Generals are ageing to fast

    Can i continue my campaign game?

  18. #18
    aduellist's Avatar Push the button Max!
    Join Date
    Mar 2005
    Location
    Shenandoah Valley
    Posts
    1,822

    Default Re: Generals are ageing to fast

    I'm loving this little submod!

    Quote Originally Posted by The Alchemist View Post
    When I try to copy and paste the fles and save the changes, the computer says it cannot create "the correct path way" and suggests i check the save name. I'm using Vista, if that means anything.
    Check the file properties. It may be set as read-only. You might also want to turn off UAC (User Access Control). I'm an XP user, so a Vista user will need to provide details.

    Quote Originally Posted by cvo99 View Post
    so does this mean a kid takes 64 turns to turn 16. and then a person living 300 turns (75 years) of the total 384ish turns? sounds wacky, i need generals faster than that, preferably not pickup generals. i would love this if you start off with a faction with a lot of generals and cool characters, but not so much if you start out with a little
    If you need more generals, expand! You'll get adoption offers. Pick the best of the bunch. You should still be able to generate three or four generations over the course of a full campaign.

    Quote Originally Posted by playa View Post
    Can i continue my campaign game?
    You'll need to start a new campaign to pick up changes in the campaign script and descr_strat.
    Under the patronage of TheFirstONeill
    Proud team member of
    THERA, A New Beginning


    "The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all." H. L. Mencken

    "Liberty is meaningless where the right to utter one’s thoughts and opinions has ceased to exist. That, of all rights, is the dread of tyrants. It is the right which they first of all strike down." Frederick Douglass

  19. #19
    christof139's Avatar Protector Domesticus
    Join Date
    Jul 2007
    Location
    Detroit, Michigan
    Posts
    4,890

    Default Re: Generals are ageing to fast

    You also get new generals through adaption when a stack that is led by a regular unit Captain is victorious in a battle, not always but it happens a lot for me it seems.

  20. #20
    Nazgūl Killer's Avatar ✡At Your Service✡
    Moderator Emeritus

    Join Date
    Jan 2009
    Location
    The Holy Land - Israel
    Posts
    10,976

    Default Re: Generals are ageing to fast

    Since I've already downloaded a new submod considering both files, could you please copy the original lines in the text and the lines you changed? (For both files)? So I can edit them properly? Thanks.
    Nazgul Killer's M2TW Guide
    Personal Help & Advice forum
    My view on the "Friend Zone"
    Good things come to those who wait... But better things come to those who never hesitate.

Page 1 of 4 1234 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
  •