Results 1 to 9 of 9

Thread: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

Hybrid View

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

    Icon4 Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    After some fiddling, I have finally found a fix.
    For details, read at the bottom of this thread: http://www.twcenter.net/forums/showt...r-Westeros-1-0

    For Fangorn, set autonomy to only be possible for the Silvan Elves (Mongols), and for the Shire, only Eriador (Turks). In other words, in campaign_script, at the g5 Autonomy mod section, for Fangorn delete all factions except for Mongols, for Shire all except Turks.

    In the case of the seasons bug, where the seasons change not depending on the number of turns, but factions, one has to edit the first sequence of the file.

    for TATW, the sequence is summer>summer>summer>winter>repeat. Instead of the seasons changing with turns, it actually changes with factions, such as faction a summer, faction b summer, faction c summer, faction d winter, faction e summer, etc. This bug can be annoying, not to mention the strat map texture bugs involved.

    The only way to fix this is to edit the code every time you start a hotseat, depending on the numder of factions. For example I play with 9 factions so the sequence has to be 27*summer, 9*winter, repeat. If 3 factions are being played, then 9*summer, 3* winter.
    In the above example, the sequence in the Aging and seasons script should look like this:

    monitor_event PreFactionTurnStart FactionIsLocal
    if I_CompareCounter quarter == 1
    console_command season summer
    end_if

    if I_CompareCounter quarter == 2
    console_command season summer
    end_if

    if I_CompareCounter quarter == 3
    console_command season summer
    end_if

    if I_CompareCounter quarter == 4
    console_command season summer
    end_if

    if I_CompareCounter quarter == 5
    console_command season summer
    end_if

    if I_CompareCounter quarter == 6
    console_command season summer
    end_if

    if I_CompareCounter quarter == 7
    console_command season summer
    end_if

    if I_CompareCounter quarter == 8
    console_command season summer
    end_if

    if I_CompareCounter quarter == 9
    console_command season summer
    end_if

    if I_CompareCounter quarter == 10
    console_command season summer
    end_if

    if I_CompareCounter quarter == 11
    console_command season summer
    end_if

    if I_CompareCounter quarter == 12
    console_command season summer
    end_if

    if I_CompareCounter quarter == 13
    console_command season summer
    end_if

    if I_CompareCounter quarter == 14
    console_command season summer
    end_if

    if I_CompareCounter quarter == 15
    console_command season summer
    end_if

    if I_CompareCounter quarter == 16
    console_command season summer
    end_if

    if I_CompareCounter quarter == 17
    console_command season summer
    end_if

    if I_CompareCounter quarter == 18
    console_command season summer
    end_if

    if I_CompareCounter quarter == 19
    console_command season summer
    end_if

    if I_CompareCounter quarter == 20
    console_command season summer
    end_if

    if I_CompareCounter quarter == 21
    console_command season summer
    end_if

    if I_CompareCounter quarter == 22
    console_command season summer
    end_if

    if I_CompareCounter quarter == 23
    console_command season summer
    end_if

    if I_CompareCounter quarter == 24
    console_command season summer
    end_if

    if I_CompareCounter quarter == 25
    console_command season summer
    end_if

    if I_CompareCounter quarter == 26
    console_command season summer
    end_if

    if I_CompareCounter quarter == 27
    console_command season summer
    end_if

    if I_CompareCounter quarter == 28
    console_command season winter
    end_if

    if I_CompareCounter quarter == 29
    console_command season winter
    end_if

    if I_CompareCounter quarter == 30
    console_command season winter
    end_if

    if I_CompareCounter quarter == 31
    console_command season winter
    end_if

    if I_CompareCounter quarter == 32
    console_command season winter
    end_if

    if I_CompareCounter quarter == 33
    console_command season winter
    end_if

    if I_CompareCounter quarter == 34
    console_command season winter
    end_if

    if I_CompareCounter quarter == 35
    console_command season winter
    end_if

    if I_CompareCounter quarter == 36
    console_command season winter
    end_if
    inc_counter quarter 1
    if I_CompareCounter quarter == 37
    set_counter quarter 1
    end_if
    end_monitor
    I hope this helps.

  2. #2

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    The seasons fix example is for 9 factions.
    If one plays 2 factions, it should be six times summer, two times winter, then repeat.
    For all 13 factions, it must be 39 times summer, 13 winter, then repeat, but once a faction is destroyed, the bug will return, because the sequence is broken. So if you play a hotseat, do not destroy factions.

  3. #3

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    WARNING!

    I was wrong. The seasons fix works, but the fix for the autonomy script doesn't. I am sorry for wasting your time.

  4. #4

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    GOOD NEWS EVERYONE!

    It actually works, but I'm big dumdum.

    ;################## G5 Autonomous Regions mod v1.3 ###################

    declare_counter roads_tribute_launch
    declare_counter hobbit_tribute_launch
    ;;;;;;;General
    monitor_event PreFactionTurnStart FactionIsLocal
    and FactionReligion catholic

    set_event_counter local_evil 1
    terminate_monitor ;disable this line to enable hotseat functionality
    end_monitor


  5. #5

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    do you have any idea how one could fix the not aging bug when playing a hotseat in mos?

  6. #6

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    Could you post the aging and seasons section of the mos imperial campaign script file? I don't play mos, so I can't figure why, but I'll look, and see what could it be.

  7. #7

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    I have no idea where to find it, i asked the mossers themselves but they have no idea as wel :p

  8. #8
    Ngugi's Avatar TATW & Albion Local Mod
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    10,687

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    Is it really so then that they did not aged at all, or just that the 12t/y make it appear so? Can't remember what was said in the discussion on the topic

    Kingdom of Lindon preview video out





    DCI: Last Alliance
    - WIP Second Age mod | DCI: Tôl Acharn - mighty Dúnedain Counter Invasions |
    Additional Mercenary Minimod - more mercs; for TATW and DCI | Family Tree minimods - lore improvements | Remade Event Pictures - enhance cultures trough images |
    Favorite TATW compilation: Withwnars Submod Collection
    Patron of Mank, Kiliç Alì, FireFreak111, MIKEGOLF & Arachir Galudirithon, Earl of Memory

  9. #9

    Default Re: Hotseat Shire and Fangorn autonomy bug fix, possible seasons bug fix

    it was really so since i was in turn 50+ and al character had the starting age (newborns remained at 0 forever)

Posting Permissions

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