Results 1 to 8 of 8

Thread: is it possible to have less aggressive factions?

Hybrid View

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

    Default is it possible to have less aggressive factions?

    all the other factions, always attack me.
    I tried to offer great amount of money to all my neighbours, so that my relationship with them was alwas "perfect" or "outstanding". Regardless this, they attack me.
    The only peaceful faction is the papal state. Well, I'd like the other factions were less aggressive towards me and they attacked me only if the relationship is so-so or lower, ori if attack them first. Otherwise, they should attack me only if the power of my faction is much smaller than theirs.
    It is very odd when I am the most powerful faction in the known world and my neighbours with a "perfect" relatioship attack me.
    Is there a way to make the chance they start a war with me, more dependent upon my/their power and how much good our relationship is?

  2. #2

    Default Re: is it possible to have less aggressive factions?

    descr_campaign_ai_db is the file your looking for...it's in XML format but you can edit it with notepad or notepad++....this controls how factions decide who to attack and when to attack them...

    If you don't want to mess around with this file then just play the game on easy settings....

  3. #3

    Default Re: is it possible to have less aggressive factions?

    thanks for the info!

    In this file, I found this line

    SPECIAL CASE EXISTS HERE IN CODE FOR FORCING ATTACK ON HUMAN IF AT PEACE WITH EVERYONE FOR TOO LONG (hard = 4 turns, normal = 10 turns, easy = 20 turns)


    this means that, after a few turns, someone will attack me whatever I change in this file?

  4. #4
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: is it possible to have less aggressive factions?

    No, that's talking about stuff you can change.

  5. #5

    Default Re: is it possible to have less aggressive factions?

    I am studying this file.

    I want that if I have good relations with other factions, and I am not at war, they do not attack me.

    I wrote something like that, in the section
    SPECIAL CASE EXISTS HERE IN CODE FOR 'CAN_ATTACK_FACTION', NO INVASION IF SO

    Spoiler Alert, click show to read: 
    <decision_entry>
    <!--
    do not attack player if good relationship and neautral
    -->
    <min_entry target_faction_standing="-1" stance="Neutral" target_human="true" />
    <faction_attitude can_force_invade="false" />
    </decision_entry>



    I believed the other factions didn't attack me, if we are not at war. I started a new game, and after 10 turns, they attack me.

  6. #6

    Default Re: is it possible to have less aggressive factions?

    SPECIAL CASE EXISTS HERE IN CODE FOR FORCING ATTACK ON HUMAN IF AT PEACE WITH EVERYONE FOR TOO LONG (hard = 4 turns, normal = 10 turns, easy = 20 turns)
    Yes, this is actually active in the game, to shut it off you need to change
    Code:
    <use_cheat_overrides bool="true"/>
    to
    Code:
    <use_cheat_overrides bool="false"/>
    It's near the begining of the file before any faction_ai_label's

    You only told them they couldnt FORCE invade, not that they cant invade AT ALL can_force_invade covers forced invasions (such as crusades) and naval invasions, not normal "I wanna attack you" invasions. By the way, -1 faction standing is as low as it's possible to get, so no-one will ever attack you if you use that minimum. -1.0 is lowest, 0.0 is neutral and 1.0 is highest. So to achive what your looking for try:
    Code:
    <decision_entry>
    <!--
    do not attack player if good relationship and neautral 
    -->
    <min_entry target_faction_standing="0.3" stance="Neutral" target_human="true"/>
    <faction_attitude can_force_invade="false" invade="invade_none"/>
    </decision_entry>
    With cheat overrides set to fals. You may want to add a line in for allies as well.
    You may find this link usefull
    http://rtw.heavengames.com/cgi-bin/f...t&f=9,6718,,10
    Last edited by CavalryCmdr; January 26, 2012 at 01:11 PM.

  7. #7
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: is it possible to have less aggressive factions?

    I have <use_cheat_overrides bool="true"/> and do not experience this feature's described effects.

  8. #8

    Default Re: is it possible to have less aggressive factions?

    thanks for the detailed info, but unfortunately, they still attack me.

    I tried to use the target_faction_standing="-1" so that none should attack me, but they do

    HOwever, I found this mod shabawangy diplomacy mod1.5, and tested it for a while, and the other factions don't attack me, if I am their allied.

Posting Permissions

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