Results 1 to 20 of 20

Thread: First Crusade script?

Hybrid View

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

    Default First Crusade script?

    Hi guys,
    I'm sorta annoyed that in every game the first Crusade to get called by the AI is always Cairo. I don't think I've played a single campaign yet that actually involved a crusade against Jerusalem occuring sometime prior to 1200, if at all.

    I'd like to possibly include a script to force the Pope to call a Crusade against Jerusalem at the year 1095, or maybe force it so that the first crusade is always against Jerusalem.

    Is this possible? Is anyone who is capable scripting able to help with this idea? I'm sure the modding community would love this.

    Thanks!

  2. #2
    Nebuchadnezzar's Avatar Centenarius
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    801

    Default Re: First Crusade script?

    The first crusade is Antioch iirc and not Cairo. If you are referring to Retrofit mod then maybe you should be asking in the Retrofit forum since it seems to me to be a retrofit bug.
    -------------------------
    Enough is enough.

  3. #3
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: First Crusade script?

    i get cairo for the first crusade and baghdad for the first jihad.....never fails. i can vouch for that.....no mods

  4. #4
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: First Crusade script?

    Crusades are pretty much hardcoded afaik, I have no idea what affects their target likelihood. The reason why no crusade against Jerusalem is called could be that it's rebel owned; his hatness doesn't call crusades against rebels normally. Try giving it to Egypt at the start and maybe you're lucky.

    No thing is everything. Every thing is nothing.

  5. #5
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: First Crusade script?

    The first Campaign I ever played (M2TW 1.0) the first crusade was called on Jerusalem. Since then it has been Cairo every time.

    I think there may be something to giving it to a Muslim faction. Historically, the Seljuks held Jerusalem at the time the campaign begins, so maybe giving it to the Turks would help.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

  6. #6

    Default Re: First Crusade script?

    LTC has jerusalem held by the egypt, his hatness has still demanded we storm cairo in every campaign i've started.

  7. #7

    Default Re: First Crusade script?

    Dannycanuck and I extensively tested this for both Retrofit and vanilla, and the Pope consistently calls the first Crusade to Cairo nearly every single time, as has been the consensus here, too. So no, this is certainly not a Retrofit bug or anything.

    But, my reason for posting in this particular forum was to see if it is possible to script the First Crusade. I take it that's not possible?

    I suppose giving Jerusalem to the Turks or Egypt may solve this...

    Thanks anyway,
    Candelarius

  8. #8
    B. Ward's Avatar ★★★★ RockNRolla ★★★★
    Join Date
    Feb 2007
    Location
    East Coast, United States
    Posts
    4,376

    Default Re: First Crusade script?

    giving it to egypt or the turks as their capital may solve it. and also possibly lowering the relations with the pope and these nations.

  9. #9
    Nebuchadnezzar's Avatar Centenarius
    Join Date
    Mar 2005
    Location
    Australia
    Posts
    801

    Default Re: First Crusade script?

    I remember from V1.0 that Antioch was definately the first crusade target so will assume one of the patches must have changed this for the worse. No surprises.
    -------------------------
    Enough is enough.

  10. #10
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: First Crusade script?

    Quote Originally Posted by Nebuchadnezzar View Post
    I remember from V1.0 that Antioch was definately the first crusade target so will assume one of the patches must have changed this for the worse. No surprises.
    I never experienced this with 1.0. For me it was Jerusalem with 1.0.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

  11. #11
    caralampio's Avatar Magnificus
    Join Date
    Dec 2006
    Location
    Guatemala
    Posts
    1,809

    Default Re: First Crusade script?

    When I play vanilla, first crusade is usually Jerusalem or Antioch. In fact I had never seen a crusade called to Cairo until I started playing retrofit. There, it is always Cairo.

  12. #12

    Default Re: First Crusade script?

    My dear friends, I have modded the Retrofit extensively...outside of Unspoken Knight, I must be one of the most experienced people with that mod. I've spent the past six months modding it and pulling it apart and adding to it....trust me, there is nothing in the Retrofit Mod that could possibly have changed the crusade target priority and I've already stated that even in vanilla 90% of the time Cairo is the first crusade called.

    But, please, I didn't start this thread in this forum to discuss if this is a bug or not, but to ask experienced modders, specifically those with scripting knowledge, if a crusade event can be scripted.

    Also, I've tested giving Jerusalem to Egypt or the Turks, and, it doesn't make a difference, the AI still calls the first crusade as Cairo every time. But, even so, I really just wanted some scripting help.

    I'm guessing that what I want just isn't possible, eh?

  13. #13
    iobor's Avatar Foederatus
    Join Date
    Aug 2005
    Location
    Norway
    Posts
    34

    Default Re: First Crusade script?

    Hi!

    I have always thought that the size of the population is the factor in choosing crusadetarget.

    i could be wrong....

    iobor

    If nothing else works, a total pig-headed unwillingness to look facts in the face will see us through.

  14. #14
    GenAnnoyance's Avatar Civis
    Join Date
    Apr 2008
    Location
    Falkirk, Scotland
    Posts
    109

    Default Re: First Crusade script?

    I'm using 1.3 and Antioch is always the 1st crusade for me and Baghdad is the 1st jihad. Normally when it's called Antioch is under control by Armenian or Seljuk rebels, I can't remeber which one exactly.

  15. #15
    Ramah's Avatar Libertus
    Join Date
    Mar 2008
    Location
    Sweden
    Posts
    77

    Default Re: First Crusade script?

    You can suggest targets for the crusade. Afaik it works sometimes and sometimes not.

  16. #16

    Default Re: First Crusade script?

    Quote Originally Posted by Ramah View Post
    You can suggest targets for the crusade. Afaik it works sometimes and sometimes not.
    As I said in the first post, the problem I'm talking about is when the AI calls the crusades, the AI always calls the first crusade against Cairo.

    The point of this thread....which nobody is reading....is can the first AI called crusade be scripted, or how to otherwise get the AI to call the first crusade against Jerusalem, rather than Cairo.

    Quote Originally Posted by GenAnnoyance View Post
    I'm using 1.3 and Antioch is always the 1st crusade for me and Baghdad is the 1st jihad. Normally when it's called Antioch is under control by Armenian or Seljuk rebels, I can't remeber which one exactly.
    You are obviously not playing vanilla or a vanilla based mod, I'm guessing you are playing Broken Crescent. The BC team probably modified the crusader targets in their mod.



    Sorry for being frustrated, but, I feel like this thread is going nowhere because I'm getting lots of nice feedback from folks, but, I think everyone is missing the point...I'll state it again to be helpful in case I didn't make it clear enough before:

    I posted this topic in this modding forum to see if any fellow modders could think of a way to cause the AI to call the first crusade against Jerusalem, since in the vanilla Grand Campaign, and mods based thereon, the AI does always call the first crusade against Cairo. This is easily testable by anybody, just start a campaign as Egypt, the Moors, the Turks, Byzantium, or some other non-Christian faction, and hit end turn over and over until the AI calls the first crusade, which will always be Cairo rather than Jerusalem. I have already tried giving Jerusalem to both Egypt and the Turks, to see if the AI is calling the crusade based on faction-ownership, but this doesn't make a difference either. Rather than making Jerusalem the only crusader target in descr_regions, is there any way to script the first crusade as Jersusalem?

    Only knowledgeable modders respond please, and please do not respond with suggestions like "just call the first crusade yourself against Jerusalem", since that is not the point of this thread (and not possible when playing as a Muslim faction), or comments like "oh, that is just a bug in the Retrofit Mod", as I have already stated that I have tested this in vanilla and the LTC mod....any vanilla based mod has this problem.

    Thanks again,
    Candelarius

  17. #17
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: First Crusade script?

    Quote Originally Posted by Candelarius View Post
    You are obviously not playing vanilla or a vanilla based mod ....
    Only knowledgeable modders respond please, and please do not respond with suggestions like "just call the first crusade yourself against Jerusalem", since that is not the point of this thread (and not possible when playing as a Muslim faction), or comments like "oh, that is just a bug in the Retrofit Mod", as I have already stated that I have tested this in vanilla and the LTC mod....any vanilla based mod has this problem.
    I understand your frustration, but I have to say once again...I never saw the first crusade called against Cairo until after I started using retrofit mod. Before that I was using the Vanilla game and it was Jerusalem and Antioch most of the time. So, this, along with the accounts of others in this thread, leads me to believe that this is not a universal experience with Vanilla.

    Although, when using retrofit mod, the 1st Crusade goes to Cairo every time.

    It would be nice is Caliban was still around. He was usually pretty good at giving us answers to questions like these.
    Last edited by Lord Condormanius; April 24, 2008 at 10:54 AM.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

  18. #18

    Default Re: First Crusade script?

    I understand your point Lord Condormanius, but, trust me, there is nothing modified in the Retrofit Mod that could possibly alter the crusade target preference. Literally. There really isn't much altered in the Retrofit Mod at all from vanilla. I suppose it is possible that running the game on the Kingdoms.exe could have caused this, but, I don't see how...hmmm.... :hmmm:



    Regardless....



    I FIXED IT!!!

    All you need to do is remove Cairo as a crusade target in descr_regions.txt. I did this tonight, and did three test campaigns. In all three, it the AI never once called a crusade against Cairo (of course), and instead did this:

    Campaign One: Crusade against Jerusalem, turn 30.
    Campaign Two: Crusade against Antioch, turn 33.
    Campaign Three: Crusade against Jerusalem, turn 74 (which itself was weird, the AI took forever to call the first crusade in like 1254!)

    So, apparently, somehow, having Cairo as a crusade target "sticks" the (Retrofit Mod?) game on Cairo as the sole crusade target. Maybe because in the Kingdoms.exe it is thinking Cairo is the only worthy target, since in Kingdoms the Kingdom of Jerusalem controls Jerusalem? I wonder....

    Anyway, I've removed Cairo as a crusade target in my own mod and now crusades are working normally again.

  19. #19
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: First Crusade script?

    Quote Originally Posted by Candelarius View Post
    I understand your point Lord Condormanius, but, trust me, there is nothing modified in the Retrofit Mod that could possibly alter the crusade target preference. Literally. There really isn't much altered in the Retrofit Mod at all from vanilla. I suppose it is possible that running the game on the Kingdoms.exe could have caused this, but, I don't see how...hmmm.... :hmmm:



    Regardless....



    I FIXED IT!!!

    All you need to do is remove Cairo as a crusade target in descr_regions.txt. I did this tonight, and did three test campaigns. In all three, it the AI never once called a crusade against Cairo (of course), and instead did this:

    Campaign One: Crusade against Jerusalem, turn 30.
    Campaign Two: Crusade against Antioch, turn 33.
    Campaign Three: Crusade against Jerusalem, turn 74 (which itself was weird, the AI took forever to call the first crusade in like 1254!)

    So, apparently, somehow, having Cairo as a crusade target "sticks" the (Retrofit Mod?) game on Cairo as the sole crusade target. Maybe because in the Kingdoms.exe it is thinking Cairo is the only worthy target, since in Kingdoms the Kingdom of Jerusalem controls Jerusalem? I wonder....

    Anyway, I've removed Cairo as a crusade target in my own mod and now crusades are working normally again.
    You know...I considered doing this, but I wanted to keep Cairo on the list for historical purposes. If that is the only way to do it, however...I'll do it.

    I wonder if changing the internal name for Jerusalem will do anything?
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

  20. #20
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: First Crusade script?

    From looking over the commands file in the docudemons, there doesn't appear to be a command to make the game call a crusade.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

Posting Permissions

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