Results 1 to 30 of 33

Thread: Modding the turns/years

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Enforcer of Exonyms Member Barbarossa82's Avatar
    Join Date
    Aug 2004
    Location
    Englaland (and don't let the Normans tell you any different!)
    Posts
    575

    Default Modding the turns/years

    Someone over at TWCenter reports that M2TW's descr_strat.txt has an option to show dates as turns, that can presumably be turned off (a la RTW Alexander). Which makes me wonder, would it be possible through simple editing to remove the phenomenon of characters aging 1 year every 4 years?

    Ideally, I'd imagine that the descr_strat file tells the game how many years the campaign spans, and how many turns that has to take, and then the game works out how many turns make up a year. So we could just mod descr_strat to bring characters' aging back into line with the actual progression of dates? I sure hope so, even if it means reducing the number of years spanned by 225 turns.
    Self-proclaimed winner of the "Member who Looks Most Like their Avatar" contest 2007

    My Armenian AAR

  2. #2
    Member Member Polemists's Avatar
    Join Date
    Sep 2006
    Location
    In the Lou
    Posts
    1,213

    Default Re: Modding the turns/years

    I just prefer to see my turns as years for purely aesthic reasons. Still I'm sure if you give the modders some time they can keep the same number of turns and make generals aging more realistic.

  3. #3
    Senior Member Senior Member econ21's Avatar
    Join Date
    Oct 2002
    Posts
    9,651

    Default Re: Modding the turns/years

    Modding questions belong in the modding forum.

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Modding the turns/years

    Since the game wasn't released yet and I didn't get it yet I can't tell you that ;) But I guess so.

  5. #5
    Enforcer of Exonyms Member Barbarossa82's Avatar
    Join Date
    Aug 2004
    Location
    Englaland (and don't let the Normans tell you any different!)
    Posts
    575

    Default Re: Modding the turns/years

    Quote Originally Posted by econ21
    Modding questions belong in the modding forum.
    Whoops, thanks econ21
    Self-proclaimed winner of the "Member who Looks Most Like their Avatar" contest 2007

    My Armenian AAR

  6. #6
    Keeper of Glyphs Member [DnC]'s Avatar
    Join Date
    Jan 2003
    Location
    The Netherlands, Flevoland, Lelystad
    Posts
    561

    Default Re: Modding the turns/years

    Alright I might not completely understand you, but there's an option called "timescale 2.00" (<- default). 2.00 means 1 turn equals 2 years and by putting it at 1.00 you'll get; 1 turn = 1 year. If you go any lower it might crash the game. But putting it at 0.50 or 0.25 might give you 2 turns a year or 4 respectively. However I fear this will not work. 1.00 definitely works!

    By deleting the line "show_date_as_turns" it might revert back to showing years.

    I'm going to check a couple of things out and report back later.

    Note: Changing the descr_strat.txt means you'll have to restart your game. Just incase you weren't aware of that.

    First edit: Deleting the line "show_date_as_turns" works! It shows the years!
    Now I'm going to try out setting the "timescale 2.00" to "timescale 0.50".

    Second edit: Setting timescale at 0.50 works to!!! 2 turns for 1 year.

    Characters age properly. 2 turns are needed for the characters to age by 1 year.

    Last edit: Setting timescale at 0.25 doesn't work properly. No crashes or anything, but characters age each 2 turns, but the years are 4 turns a year. Plus you'll get summer and winter twice. Inadvisable.
    Last edited by [DnC]; 11-09-2006 at 14:56.

  7. #7
    Seii Taishōgun 征夷大将軍 Member PROMETHEUS's Avatar
    Join Date
    Jul 2004
    Location
    La Città Eterna
    Posts
    2,857

    Default Re: Modding the turns/years

    have you tried may be 0.3 or 0.2? There was a script for four turns a year may be it could be tweaked for MTW2....
    Last edited by PROMETHEUS; 11-09-2006 at 15:20.

    Creator of Ran no Jidai mod
    Creator of Res Gestae
    Original Creator of severall add ons on RTW from grass to textures and Roman Legions
    Oblivion Modder- DUNE creator
    Fallout 3 Modder
    Best modder , skinner , modeler awards winner.


    VIS ET HONOR

  8. #8

    Default Re: Modding the turns/years

    Quote Originally Posted by [DnC]
    Second edit: Setting timescale at 0.50 works to!!! 2 turns for 1 year.

    Characters age properly. 2 turns are needed for the characters to age by 1 year.

    Last edit: Setting timescale at 0.25 doesn't work properly. No crashes or anything, but characters age each 2 turns, but the years are 4 turns a year. Plus you'll get summer and winter twice. Inadvisable.
    Some good work there. What I think you'll probably find is that character aging & seasons and the number of years per turn are completely separate.

    - Years per turn are softcoded and able to be set in the timescale line in descr_strat so we could have a 1/4, 1/2, 1, 2, 50 whatever years per turn.

    - Character aging & seasons, however, are instead treated as they were in Rome - with a summer/winter/summer/winter/summer etc. order and the characters aging every winter (as they did in Rome).

    This means that if you set timescale to 0.5 you have essentially restored it back to the way it was in Rome.

    To change the order of the seasons (to something like summer/summer/summer/winter for a proper 4 turns per year- and therefore also the character aging - you're going to have to use Myrddraal's scripts in the campaign_script file. But before you do that, test to make sure the date and season console commands still work.

    If they do, have a look at Myrddraal's releases and see if they still work, but place the script in the campaign_script file rather than in the advice folder:
    https://forums.totalwar.org/vb/showthread.php?t=52168
    https://forums.totalwar.org/vb/showthread.php?t=44648
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  9. #9
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Modding the turns/years

    [QUOTE='[DnC]']
    [b] Deleting the line "show_date_as_turns" works! It shows the years!
    Now I'm going to try out setting the "timescale 2.00" to "timescale 0.50".

    Second edit: Setting timescale at 0.50 works to!!! 2 turns for 1 year.

    Characters age properly. 2 turns are needed for the characters to age by 1 year.
    [QUOTE]
    Yes. This is awesome. It works great.
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

  10. #10

    Default Re: Modding the turns/years

    SO which setting is the best??

    0.5 year/turn or the default??

  11. #11
    Only-Custom-Made-Avatar-User Member SirRethcir's Avatar
    Join Date
    Aug 2005
    Location
    Germany
    Posts
    132

    Default Re: Modding the turns/years

    Of course the default. ;)
    Else you have to rework the hole campaign, thus making a complete mod.


    Kaiser of Blitz
    from Aemilius Paulus for EB Unit List Reloaded
    from soup_alex for EB Unit List Reloaded



  12. #12
    Member Member troymclure's Avatar
    Join Date
    Jan 2003
    Location
    Bris-Vegas, Australia
    Posts
    251

    Default Re: Modding the turns/years

    Just like to note that even though i prefer the actual aging achieved by changing to .5 the game plays better at 2.
    Leave it on .5 and i doubt you'll see gunpowder before you take over the world. Still nice too have seasons though...
    "If you have an elephant by the hind legs... it's best to let it go"
    Albert Einstein.

  13. #13
    Spawn of Nyarlathotep Member GeWee's Avatar
    Join Date
    Dec 2002
    Location
    2nd Ring of the 7th Circle
    Posts
    122

    Default Re: Modding the turns/years

    I've never liked having cannons in these types of games which is why I restarded campaigns in both Shogun and Medieval once I got access to gunpowder.
    I've changed to 2 turns per year and now I'm worried that gunpowder will come a lot sooner.. Or is the access to gunpowder based on an event a certain year?

  14. #14

    Default Re: Modding the turns/years

    Blackpowder comes between 1240 and 1250, but you can change or delete it in the descr_events.txt. The numbers by date indicate not turn number but ingame date, e.g. for blackpowder invention "date 160 170" would mean 1080 +160 or 170 years making it 1240 to 1250. You can deactivate it by putting a ; in front of the three lines of this event.
    As you can see the events are assigned to the actual game date, not the turn number.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO