Results 1 to 15 of 15

Thread: How to change character aging?

  1. #1

    Default How to change character aging?

    Hi. I installed the mod and it's perfect except for the character aging. When I end turn (and i am in summer) it becomes winter. then it's summer again, and then it's winter. In 4 turns, my generals are two years older. How can i change that? For example, 10 turns.

  2. #2

    Default Re: How to change character aging?

    Dude a simple question like this doesn't require an entire new thread. Anyway go to descr_strat.txt and search for the following: " timescale" in vanilla and in most mods it should like" timescale 1.00 " meaning that every turn= 1 year. You can mess with making it 2.00 = 1 turn for 2 years , 0.50 = 4 turns for a year etc.
    Last edited by Stannis TheMannis - Baratheon; August 06, 2017 at 01:09 PM.

  3. #3
    Incredible Bulk's Avatar Vicarius
    Join Date
    Dec 2011
    Location
    San Diego, CA
    Posts
    2,615

    Default Re: How to change character aging?

    .

  4. #4
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,351

    Default Re: How to change character aging?

    Quote Originally Posted by Stannis TheMannis - Baratheon View Post
    Dude a simple question like this doesn't require an entire new thread. Anyway go to descr_strat.txt and search for the following: " timescale" in vanilla and in most mods it should like" timescale 1.00 " meaning that every turn= 1 year. You can mess with making it 2.00 = 1 turn for 2 years , 0.50 = 4 turns for a year etc.
    It's that easy to make a campaign 4 turns per year? I thought it was complicated..
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  5. #5

    Default Re: How to change character aging?

    Quote Originally Posted by Mr_Nygren View Post
    It's that easy to make a campaign 4 turns per year? I thought it was complicated..

    Do i sense irony?

    P.S also a small correction 0,50 = 2 turns a year.
    Last edited by Stannis TheMannis - Baratheon; August 06, 2017 at 05:56 PM.

  6. #6
    PeaMan's Avatar Winter Is Coming
    Join Date
    Aug 2015
    Location
    Ireland
    Posts
    1,160

    Default Re: How to change character aging?


  7. #7

    Default Re: How to change character aging?

    it is not too hard to change turns per year, tpy, but aging isn't as easy as updating the descr_strat. Aging depends on seasons which there are tutorials and existing scripts dealing with this properly.

  8. #8
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,351

    Default Re: How to change character aging?

    Quote Originally Posted by leadhead View Post
    it is not too hard to change turns per year, tpy, but aging isn't as easy as updating the descr_strat. Aging depends on seasons which there are tutorials and existing scripts dealing with this properly.
    Yes, i figured it would cause trouble with CTD:s but didn't know it was because of a connection to existing scripts. This would mean one has to adjust all the scripts to the changed aging and tpy?

    I never touch scripts if i can avoid it.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  9. #9

    Default Re: How to change character aging?

    I can do it with Third Age Total War, but not with GoT

  10. #10
    Korpskog's Avatar Praepositus
    Join Date
    Mar 2012
    Location
    Bajenland
    Posts
    5,358

    Default Re: How to change character aging?

    There is an exellent tutorial section on twc, use it!
    "Får jag kalla dig Bajen? Det är lättare att komma ihåg..."

  11. #11

    Default Re: How to change character aging?

    I don't understand. I have this (but, then, in game, it is like this: 1 turn (summer), 2 turn (winter), 3 turn (summer), 4 turn (winter)

    declare_counter month
    declare_counter weather_type ; 0 for summer, 1 for winter
    declare_counter years


    set_counter month 1
    set_counter weather_type 0 ; set to summer
    set_counter years 0


    monitor_event FactionTurnStart FactionIsLocal ; set the season for each month
    if I_CompareCounter month = 1
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 1
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 2
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 2
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 3
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 3
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 4
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 4
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 5
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 5
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 6
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 6
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 7
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 7
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 8
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 8
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 9
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 9
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    if I_CompareCounter month = 10
    and I_CompareCounter weather_type = 0
    console_command season summer
    end_if
    if I_CompareCounter month = 10
    and I_CompareCounter weather_type = 1
    console_command season winter
    end_if

    inc_counter month 1 ;advance the month


    if I_CompareCounter month = 11 ;start a new year
    set_counter month 1
    end_if
    end_monitor

  12. #12
    PeaMan's Avatar Winter Is Coming
    Join Date
    Aug 2015
    Location
    Ireland
    Posts
    1,160

    Default Re: How to change character aging?

    Its odd that it doesn't work on GOT 4.6 that script works in 0.53 as 10TPY and I've just tested the script with AOPK 3.0 and it works as 10TPY

  13. #13

    Default Re: How to change character aging?

    Am I the only one who have that problem in 4.6 version? I need to know if it's only my problem or everybody has the same problem

  14. #14
    PeaMan's Avatar Winter Is Coming
    Join Date
    Aug 2015
    Location
    Ireland
    Posts
    1,160

    Default Re: How to change character aging?

    Everyone has the same problem

  15. #15

    Default Re: How to change character aging?

    Hi, the campaign script isn't working at all but it seems that the problem comes from this part :

    Spoiler Alert, click show to read: 
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;; Unique General Voices for GoT ;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    declare_counter unique_voice_played

    monitor_event CharacterSelected TrueCondition
    ;when ANY character is selected stop any custom voices

    if I_SoundPlaying Unique_Voices_Tag
    stop_sound_event Unique_Voices_Tag
    end_if

    end_monitor

    ;;;;;;;; Stark ;;;;;;;;

    monitor_event CharacterSelected FactionType scotland
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Brandon Stark
    play_sound_event Bran_Stark_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Jon Umber
    play_sound_event Jon_Umber_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Rickard Karstark
    play_sound_event Rickard_Karstark_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Rickon Stark
    play_sound_event Rickon_Stark_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Robb Stark
    play_sound_event Robb_Stark_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Rodrik Cassel
    play_sound_event Rodrik_Cassel_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event Scottish_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Greyjoy ;;;;;;;;

    monitor_event CharacterSelected FactionType hre
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Balon Greyjoy
    play_sound_event Balon_Greyjoy_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Dagmer
    play_sound_event Dagmer_Cleftjaw_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Theon Greyjoy
    play_sound_event Theon_Greyjoy_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Frey & Tully ;;;;;;;;

    monitor_event CharacterSelected FactionType france
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Brynden Tully
    play_sound_event Brynden_Tully_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Edmure Tully
    play_sound_event Edmure_Tully_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Walder Frey
    play_sound_event Walder_Frey_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Tully UNUSED ;;;;;;;;

    ;;;;;;;; Arryn ;;;;;;;;

    monitor_event CharacterSelected FactionType portugal
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Robert Arryn
    play_sound_event Robert_Arryn_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Lannister ;;;;;;;;

    monitor_event CharacterSelected FactionType england
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Gregor Clegane
    play_sound_event Gregor_Clegane_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Jaime Lannister
    play_sound_event Jaime_Lannister_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Kevan Lannister
    play_sound_event Kevan_Lannister_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Lancel Lannister
    play_sound_event Lancel_Lannister_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Tywin Lannister
    play_sound_event Tywin_Lannister_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Joffrey ;;;;;;;;

    monitor_event CharacterSelected FactionType venice
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Janos Slynt
    play_sound_event Janos_Slynt_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Joffrey Baratheon
    play_sound_event Joffrey_Baratheon_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Sandor Clegane
    play_sound_event Sandor_Clegane_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Tommen Baratheon
    play_sound_event Tommen_Baratheon_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CharacterSelected Tyrion Lannister
    play_sound_event Tyrion_Lannister_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Stannis ;;;;;;;;

    monitor_event CharacterSelected FactionType denmark
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Stannis Baratheon
    play_sound_event Stannis_Baratheon_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Renly ;;;;;;;;

    monitor_event CharacterSelected FactionType spain
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Renly Baratheon
    play_sound_event Renly_Baratheon_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Tyrell ;;;;;;;;

    monitor_event CharacterSelected FactionType milan
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Loras Tyrell
    play_sound_event Loras_Tyrell_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event English_General_Selected
    end_if

    end_monitor

    ;;;;;;;; Bolton ;;;;;;;;

    monitor_event CharacterSelected FactionType russia
    and IsGeneral

    ;default to "generic" voice
    set_counter unique_voice_played 0

    if I_CharacterSelected Roose Bolton
    play_sound_event Roose_Bolton_Selected tag = Unique_Voices_Tag
    set_counter unique_voice_played 1
    end_if

    if I_CompareCounter unique_voice_played = 0
    ;no custom voice was played: play generic
    play_sound_event Scottish_General_Selected
    end_if

    end_monitor

    ;monitor_event CharacterSelected FactionIsLocal
    ; and IsGeneral
    ; if I_CharacterSelected Stannis Baratheon
    ; stop_sound_event east_general_selected
    ; if I_SoundPlaying Stannis_Tag
    ; stop_sound_event Stannis_Tag
    ; end_if
    ; play_sound_event Stannis_Selected tag = Stannis_Tag
    ; wait 10 ;exact time the selection sound needs to be played in order to prevent repetition.
    ; DDstop_sound_event Stannis_Selected
    ; end_if
    ;end_monitor


    So I deleted it and now it works fine. I know this is not the best solution but this part looks quite optional.

    I advise you to make a backup of your campaign_script file (in ...\Medieval II Total War\mods\GoT_Enhanced\data\world\maps\campaign\imperial_campaign) before editing anything !

Posting Permissions

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