Results 1 to 2 of 2

Thread: Scripting AI faction's capital in btw campaign?

Hybrid View

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

    Default Scripting AI faction's capital in btw campaign?

    Well the topic says for itself i want jerusalem to be the capital of egypt or turks when they conquer it as i what the pope automatically trigger first crusade on jerusalem not that damn cairo.
    if i remove cairo as a crusade target in decsr_regions.txt the first crusade is called in 35-54 turns on vilnius which is not cool and is historically in accurate.
    the retrofit mod seems to call the crusades on capital's only.
    i.e.
    Iconium if i add it as a crusade target for the turks which is their capital.
    Cairo if i add it as a crusade target for the egypt which is their capital.
    Vilnius if i add it as a crusade target for the lithuania which is their capital.

    So i want a script so that i can set AI faction capital via a scripting in campaign_script.txt in btw campaign.

    If i give jerusalem to egypt as their capital in starting through descr_strat.txt the crusade is always called on jerusalem in about 15-21 turns which is perfect but i want the ai-faction egypt to capture jerusalem first.

    Plz see the attachments for further acknowledgment of the problem at hand.
    Last edited by Ishan; August 22, 2009 at 05:40 AM.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Scripting AI faction's capital in btw campaign?

    One thing that seems to work: put the Jerusalem region on the top of the descr_regions file. The first crusade should go there.










Posting Permissions

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