Results 1 to 2 of 2

Thread: Yuezhi script q

  1. #1

    Default Yuezhi script q

    I want to play another roman campaign (usually what I do when there's nothing else), up to the imperial reforms this time (changed the trigger years so that I get them earlier, so I can at least play around with imperial units...).

    Please correct me if I'm wrong.

    The Yuezhi script section says that
    the Yuezhi
    ; will be very passive unless the player controls the Saka (pontus), the
    ; Sauromatae (armenia), Baktria (romans_brutii), the Pahlava (parthia), or
    ; the Arche Seleukeia (romans_julii) AND his faction controls Chighu.
    If I want them to be active even when I'm a roman, I should do the following:

    1. Remove the SettlementIsLocal check:
    Code:
    monitor_event SettlementTurnStart SettlementName Chighu
              and I_CompareCounter ShowEjectGarrisonAdvice = 1
              and PercentageOfPopulationInGarrison = 0
        advance_advice_thread Yuezhi_Near_Chighu_Thread
        set_counter ShowEjectGarrisonAdvice 0
    end_monitor
    ;
    monitor_event SettlementTurnStart SettlementName Chighu
              and I_CompareCounter ShowEjectGarrisonAdvice = 1
        set_counter ShowEjectGarrisonAdvice 0
    end_monitor
    2. Should I then replace the content of "and I_LocalFaction" everywhere in that section with "seleucid"? And that's all?


    Sorry to post this mess here, but it's not something I can actually verify right away, so I want to be sure it'll work, otherwise my campaign might crash on that turn...



    On a side note, are there any tutorials that would permit me to write a simple script (or add something to the EB script) to spawn armies for everybody (since I've tried adding armies to the descr_strat and it doesn't seem to work). I'd be grateful for a link.

  2. #2
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: Yuezhi script q

    Quote Originally Posted by Mister V View Post
    If I want them to be active even when I'm a roman, I should do the following:

    1. Remove the SettlementIsLocal check:
    2. Should I then replace the content of "and I_LocalFaction" everywhere in that section with "seleucid"? And that's all?
    No. A great deal more than that would be necessary. For one thing, the ownership of Chighu is temporarily transferred to one of several factions. If none of those factions still exist, the game would crash. There a number of reasons why it was written as it was: making the invasion active for more factions significantly increases its complexity and may have very serious side-effects.

    The author of this script had years of experience. Do not try re-writing this script at home.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



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