Results 1 to 6 of 6

Thread: Choose WHERE the Mongols/Timirids arrive

  1. #1

    Default Choose WHERE the Mongols/Timirids arrive

    Hi all,

    So for the third time in a row the Mongols have arrived in Russia for me and I always find invading Russia slow as is.
    Is there a mod or quick fix where you can make the hordes ALWAYS arrive in the Egypt/Turkey area.

    Thanks in advance!

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Choose WHERE the Mongols/Timirids arrive

    It will require some small changes in the script file. Open the campaign_script file (in ...\data\world\maps\campaign\imperial_campaign folder) with Notepad and look for this section:
    Code:
                add_events
            ;;; SCOUTING INVASION
                    event    emergent_faction    mongols
                    date    0
    ;                 region     Tbilisi_Province
                    region     Yerevan_Province
                    region    Bulgar_Province
                    region    Sarkel_Province
                    region     Baghdad_Province
                    movie    event/mongols_invade.bik
                    ;ADD MONGOL INVASION 1
                    event    counter    mongols_invasion
                    date    2
                end_add_events
    Blue are the possible spawn regions, simply put a semi colon in front of the line (like with Tbilisi) where you do not want the spawn. Save, play a new campaign.










  3. #3

    Default Re: Choose WHERE the Mongols/Timirids arrive

    Brill! Cheers mate will pop that in now. Do I put the colon in front of 'Region' or in front of the actual settlement name?
    Thanks again,

  4. #4

    Default Re: Choose WHERE the Mongols/Timirids arrive

    Ah, I see now! Nm, thanks a lot!

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Choose WHERE the Mongols/Timirids arrive











  6. #6

    Default Re: Choose WHERE the Mongols/Timirids arrive

    Quote Originally Posted by Gigantus View Post
    It will require some small changes in the script file. Open the campaign_script file (in ...\data\world\maps\campaign\imperial_campaign folder) with Notepad and look for this section:
    Code:
                add_events
            ;;; SCOUTING INVASION
                    event    emergent_faction    mongols
                    date    0
    ;                 region     Tbilisi_Province
                    region     Yerevan_Province
                    region    Bulgar_Province
                    region    Sarkel_Province
                    region     Baghdad_Province
                    movie    event/mongols_invade.bik
                    ;ADD MONGOL INVASION 1
                    event    counter    mongols_invasion
                    date    2
                end_add_events
    Blue are the possible spawn regions, simply put a semi colon in front of the line (like with Tbilisi) where you do not want the spawn. Save, play a new campaign.

    Hello, I am making modifications to play with the Mongols in a perfect and historical way, the game starts in 1223 with jebe and subotai, I have already arranged the disproportionate troops (the Mongols almost always fought with fewer men and not more), I already did religion, the scripts all to play right, but I wanted the Mongolian event to be just batu khan appearing in volga / bugar, in 1235, I am having difficulty with that, because I do not understand the scripts well and or several troops appear in several years, or batu does not appear in 1235 (this I already managed to do), would you know what I could do to remove all these other troops and leave only that of batu?

    What I already managed to do, with batu appearing in 1235 is like this:

    Spoiler Alert, click show to read: 

    ; ---------------------
    ; start up

    freeze_faction_ai aztecs

    ;----------------------
    ; monitors

    ;-- Mongols invasions --
    monitor_event EventCounter EventCounterType mongols_invasion_warn
    and EventCounter > 0
    ; ADD SCOUTING INVASION
    add_events
    event counter mongols_invasion
    date 2 4
    end_add_events
    if I_EventCounter mongols_invasion_warn == 2
    terminate_monitor
    end_if
    end_monitor

    monitor_event EventCounter EventCounterType mongols_invasion
    and EventCounter > 0
    if I_EventCounter mongols_invasion == 1
    add_events
    ;;; SCOUTING INVASION
    event emergent_faction mongols
    date 0
    ; region Tbilisi_Province
    region Yerevan_Province
    region Bulgar_Province
    region Sarkel_Province
    region Baghdad_Province
    movie event/mongols_invade.bik
    ;ADD MONGOL INVASION 1
    event counter mongols_invasion
    date 2
    end_add_events
    end_if
    if I_EventCounter mongols_invasion == 2

    ;Sarkel
    if I_CharacterTypeNearTile mongols named_character, 30 258, 134
    set_counter mongols_sarkel 1
    end_if
    ;Tbilisi / Yerevan
    if I_CharacterTypeNearTile mongols named_character, 20 278, 101
    set_counter mongols_yerevan 1
    end_if
    ;Baghdad
    if I_CharacterTypeNearTile mongols named_character, 30 291, 70
    set_counter mongols_baghdad 1
    end_if

    ;;; MONGOL INVASION 1 SCRIPT
    spawn_army
    faction mongols
    character Batu, named character, age 26, x 292, y 166, family ;command 8, dread 9, loyalty 7, piety 1
    traits EasternWarlord 3 , GoodCommander 2 , Genocide 2 , BattleDread 2 , StrategyDread 1 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 8, dread 9, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    unit Mongol Infantry exp 6 armour 0 weapon_lvl 0
    unit Mongol Infantry exp 6 armour 0 weapon_lvl 0
    unit Mongol Foot Archers exp 6 armour 0 weapon_lvl 0
    unit Mongol Heavy Archers exp 6 armour 0 weapon_lvl 0
    unit Mongol Heavy Archers exp 6 armour 0 weapon_lvl 0
    unit Mongol Heavy Archers exp 6 armour 0 weapon_lvl 0
    unit Mongol Heavy Lancers exp 6 armour 0 weapon_lvl 0
    unit Mongol Heavy Lancers exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Aradai, named character, age 22, x 290, y 168, family ;command 6, dread 7, loyalty 7, piety 1
    traits EasternWarlord 2 , Anger 3 , BattleDread 2 , StrategyDread 2 , PublicFaith 1 , Loyal 2 , ContentGeneral 3 ;command 6, dread 7, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Bayan, named character, age 21, x 292, y 162, family ;command 6, dread 7, loyalty 7, piety 1
    traits EasternWarlord 2 , Anger 3 , BattleDread 2 , StrategyDread 2 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 6, dread 7, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end

    ;;; move them to location of first invasion
    if I_CompareCounter mongols_sarkel = 1
    reposition_character Jebe, 280, 136
    reposition_character Aradai, 277, 133
    reposition_character Bayan, 278, 131
    end_if
    if I_CompareCounter mongols_yerevan = 1
    reposition_character Jebe, 291, 109
    reposition_character Aradai, 289, 108
    reposition_character Bayan, 291, 107
    end_if
    if I_CompareCounter mongols_baghdad = 1
    reposition_character Jebe, 292, 58
    reposition_character Aradai, 290, 60
    reposition_character Bayan, 293, 63
    end_if

    ;ADD MONGOL INVASION 2
    add_events
    event counter mongols_invasion
    date 20 40
    end_add_events
    end_if

    if I_EventCounter mongols_invasion == 3
    ;;; MONGOL INVASION 2 SCRIPT
    spawn_army
    faction mongols
    character Orda, named character, age 26, x 292, y 166, family ;command 8, dread 9, loyalty 7, piety 1
    traits EasternWarlord 3 , GoodCommander 2 , Genocide 2 , BattleDread 2 , StrategyDread 1 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 8, dread 9, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Subutai, named character, age 25, x 290, y 168, family ;command 9, dread 9, loyalty 7, piety 1
    traits EasternWarlord 2 , GoodCommander 3 , Anger 3 , BattleDread 3 , StrategyDread 3 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 9, dread 9, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Berkei, named character, age 24, x 292, y 162, family ;command 7, dread 7, loyalty 7, piety 6
    traits EasternWarlord 3 , Anger 2 , BattleDread 2 , StrategyDread 2 , PublicFaith 4, TouchedByTheGods 1 , Loyal 2, ContentGeneral 3 ;command 7, dread 7, loyalty 7, piety 6
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Orda, named character, age 23, x 288, y 168, family ;command 7, dread 7, loyalty 7, piety 1
    traits EasternWarlord 3 , StrategicSkill 1 , BattleDread 2 , StrategyDread 3 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 7, dread 7, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end

    if I_CompareCounter mongols_sarkel = 1
    reposition_character Batu, 280, 136
    reposition_character Subutai, 277, 133
    reposition_character Berkei, 278, 131
    reposition_character Orda, 277, 136
    end_if
    if I_CompareCounter mongols_yerevan = 1
    reposition_character Batu, 291, 109
    reposition_character Subutai, 289, 108
    reposition_character Berkei, 291, 107
    reposition_character Orda, 288, 106
    end_if
    if I_CompareCounter mongols_baghdad = 1
    reposition_character Batu, 292, 58
    reposition_character Subutai, 290, 60
    reposition_character Berkei, 293, 63
    reposition_character Orda, 290, 65
    end_if

    ;ADD MONGOL INVASION 3
    add_events
    event counter mongols_invasion
    date 30 50
    end_add_events
    end_if

    if I_EventCounter mongols_invasion == 4
    ;;; MONGOL INVASION 3 SCRIPT
    spawn_army
    faction mongols
    character Hulegu, named character, age 25, x 292, y 166, family ;command 8, dread 9, loyalty 7, piety 0
    traits EasternWarlord 3 , Genocide 2 , NaturalMilitarySkill 2 , BattleDread 3 , StrategyDread 2 , Loyal 2, ContentGeneral 3 ;command 8, dread 9, loyalty 7, piety 0
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Kitbuqa, named character, age 24, x 290, y 168, family ;command 8, dread 9, loyalty 7, piety 0
    traits EasternWarlord 3 , Anger 3 , BattleDread 3 , StrategyDread 2 , Loyal 2, ContentGeneral 3 ;command 8, dread 9, loyalty 7, piety 0
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Abaqha, named character, age 23, x 292, y 162, family ;command 7, dread 7, loyalty 7, piety 0
    traits EasternWarlord 2 , Bloodthirsty 2 , GoodCommander 2 , BattleDread 2 , StrategyDread 2 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 7, dread 7, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end
    spawn_army
    faction mongols
    character Kuo_Kan, named character, age 22, x 288, y 168, family ;command 7, dread 7, loyalty 7, piety 0
    traits EasternWarlord 2 , Bloodthirsty 2 , GoodCommander 2 , BattleDread 2 , StrategyDread 2 , PublicFaith 1, Loyal 2, ContentGeneral 3 ;command 7, dread 7, loyalty 7, piety 1
    unit Mongol Bodyguard exp 6 armour 0 weapon_lvl 0
    end

    if I_CompareCounter mongols_sarkel = 1
    reposition_character Hulegu, 280, 136
    reposition_character Kitbuqa, 277, 133
    reposition_character Abaqha, 278, 131
    reposition_character Kuo_Kan, 277, 136
    end_if
    if I_CompareCounter mongols_yerevan = 1
    reposition_character Hulegu, 291, 109
    reposition_character Kitbuqa, 289, 108
    reposition_character Abaqha, 291, 107
    reposition_character Kuo_Kan, 288, 106
    end_if
    if I_CompareCounter mongols_baghdad = 1
    reposition_character Hulegu, 292, 58
    reposition_character Kitbuqa, 290, 60
    reposition_character Abaqha, 293, 63
    reposition_character Kuo_Kan, 290, 65
    end_if

    terminate_monitor
    end_if
    end_monitor

    ;-- Timurids invasion --
    monitor_event EventCounter EventCounterType timurids_invasion_warn
    and EventCounter > 0
    ; ADD SCOUTING INVASION
    add_events
    event counter timurids_invasion
    date 2 4
    end_add_events
    if I_EventCounter timurids_invasion_warn == 2
    terminate_monitor
    end_if
    end_monitor

    monitor_event EventCounter EventCounterType timurids_invasion
    and EventCounter > 0
    if I_EventCounter timurids_invasion == 1
    ;;; SCOUTING INVASION
    add_events
    event emergent_faction timurids
    date 0
    ; region Tbilisi_Province
    region Yerevan_Province
    region Bulgar_Province
    region Sarkel_Province
    region Baghdad_Province
    movie event/timurids_invade.bik
    ; ADD TIMURID INVASION 1
    event counter timurids_invasion
    date 2
    end_add_events
    end_if
    if I_EventCounter timurids_invasion == 2

    ;Sarkel
    if I_CharacterTypeNearTile timurids named_character, 30 258, 134
    set_counter timurids_sarkel 1
    end_if
    ;Tbilisi / Yerevan
    if I_CharacterTypeNearTile timurids named_character, 20 278, 101
    set_counter timurids_yerevan 1
    end_if
    ;Baghdad
    if I_CharacterTypeNearTile timurids named_character, 30 291, 70
    set_counter timurids_baghdad 1
    end_if

Posting Permissions

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