Results 1 to 12 of 12

Thread: Fix for generals aging to fast

Hybrid View

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

    Default Fix for generals aging to fast

    Hello all,

    I'm not sure if others had this issue, I posted in the technical help section about generals aging too fast for the 12 turns per month. I came up with a solution and tested it, no crashes or bugs. The only drawback is December will be the only winter month. There is something in the game making the generals age 1 yr after a winter month. So I found the file it was in, edited it, now you can have a fun campaign without worrying about your heros getting too old too quick!!

    Instructions: back up the file we are about to replace

    1. Go to "mods"-> "the_sundering" -> "data" -> "world" -> "maps" -> "campaign" -> "imperial_campaign"
    2. copy and paste the file I attached to this post ( will be replacing the campaign_script file)
    3. start a new game!

    best regards,
    GreatSword

  2. #2

    Default Re: Fix for generals aging to fast

    I was pretty sure our setting was 12 turns PER YEAR, so our generals didn't age at all.

    "With Hate, all things are possible." Malus Darkblade

  3. #3

    Default Re: Fix for generals aging to fast

    It is my friend, but for some strange reason, the generals in all my campaigns were turning a year older at the end of EVERY winter month, not just december. So they were getting 7 or so years older for every 12 turns. I looked on some other forums and this has happened in other mods. There is a more complicated way to fix it, though it is beyond me at this point.

  4. #4
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: Fix for generals aging to fast

    It's the good old 12 turns / year script, where even a typo counter entry anywhere in the campaign_script (not related to this script) may cause the script to go wrong (even if the counter bug does not cause a crash or even an entry in the log). Also, descr_strat must be checked as well (I've corrected the timescale to 0.0835 but that did not help to solve the issue).

    Anyhow, your solution is easy and good, so +rep for your work mate!
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




  5. #5

    Default Re: Fix for generals aging to fast

    i want that everyone gets old 1 turn/year, what should i do? i couldnt solve this... help, please...

  6. #6
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: Fix for generals aging to fast

    Every generals grow older one year at the end of each winter months. Try opening your campaign_script.txt file in your Medieval II/mods/The_Sundering/data/world/maps/campaign/imperial campaign (with notepad), and search for this part (Ctrl + F):

    Code:
    12 TURNS PER YEAR SCRIPT
    You'll see this:

    Spoiler Alert, click show to read: 
    Code:
    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 summer
    	end_if
    
    	if I_CompareCounter month == 5 ;May
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 6 ;June
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 7 ;July
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 8 ;August
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 9 ;September
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 10 ;October
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 11 ;November
    		console_command season summer
    	end_if
    	
    	if I_CompareCounter month == 12 ;December
    		console_command season winter
    	end_if
    	
    	inc_counter month 1 ;advance the month
    	if I_CompareCounter month == 13 ;start a new year
    		set_counter month 1
    	end_if
    end_monitor


    Simply change all "summer" to winter. Then save and exit.

    In order the changes should appear in game, you have to go to your \Medieval II\mods\The_Sundering\data\world\maps\base folder (or whatever it is called ) and delete your map.rwm file. Then you have to start a new game as it is not save game compatible.

    Hope this helps, any feedback is appreciated!
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




  7. #7

    Default Re: Fix for generals aging to fast

    Thanks bro

  8. #8
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: Fix for generals aging to fast

    This issue has been fixed for the 0.69. I suggest you to download it

  9. #9
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: Fix for generals aging to fast

    He wanted all generals to age one year in each turn. I hope that is NOT included in the latest version
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




  10. #10

    Default Re: Fix for generals aging to fast

    It is not, and it won't be.

    "With Hate, all things are possible." Malus Darkblade

  11. #11
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: Fix for generals aging to fast

    Quote Originally Posted by Bela View Post
    He wanted all generals to age one year in each turn. I hope that is NOT included in the latest version
    Omg I misunderstood the question. Thanks for clarifying that

  12. #12
    Bela's Avatar Ducenarius
    Join Date
    May 2009
    Location
    The land of the crazy folk
    Posts
    947

    Default Re: Fix for generals aging to fast

    Sweet!
    "No Rest until the Blood of Greenskins flows like Dark Ale upon the Earth!"

    +++ Josef Bugman +++




Posting Permissions

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