Results 1 to 4 of 4

Thread: Scripting Alliances

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Darkstar's Avatar Senator
    Join Date
    Feb 2007
    Location
    Massachusetts, USA
    Posts
    1,032

    Default Scripting Alliances

    Is it possible to script two factions to always be allied (or maybe set their faction standing to 1 each turn?)

    I want to make it so two factions will never go to war.

  2. #2
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Scripting Alliances

    Sounds like that should work

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  3. #3
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: Scripting Alliances

    Would that also work if you have crusades / jihad ?

    Catholic factions might go to war with allies if the Pope requires it?

    Also there's the problem of loyalist revolts - if you get revolts in one city and it reverts to its original faction that sets of a war between it and the most recent owner.

    Would it need a diplomat to arrange a ceasefire in those cases?

  4. #4
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Scripting Alliances

    You can script diplomatic stances. That way you would be able to set factions to allied/at war by script at any point in the game. But You cannot prevent the AI from trying to change that.

    For example, you can script in that Rome and Carthago will be at war when the Romans attack Messana (example from EB), but you cannot prevent them from instantly making peace again the next turn. This would require a loop that they are set to war each single turn when condition X is meat. The AI would most likely react by making peace every single turn.

    So it only realy works for the players faction, or when you make sure that faction standing is set accordingly, plus that the state of war makes sense for the AI according to campaign.dmb


    Quote Originally Posted by Rozanov View Post
    Catholic factions might go to war with allies if the Pope requires it?
    Define "got to war". As said, you can script them at war but you cannot force the AI to do anything hostile.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

Posting Permissions

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