Results 1 to 30 of 68

Thread: Diplomacy, I wonder...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Village special needs person Member Kobal2fr's Avatar
    Join Date
    Nov 2006
    Location
    Paris, France
    Posts
    914

    Default Diplomacy, I wonder...

    I've noticed that at the beginning of the desc_campaing_ai_db.xml file, there is this declaration/explanation of variables :

    <trusted_ally_fs_threshold float="0.8"/> // min threshold for how much we like the target faction to consider them a trusted ally
    <trusted_ally_target_fs_threshold float="0.8"/> // min threshold for how much does the target faction like us to consider them a trusted ally
    <trusted_ally_gs_threshold float="0.2"/> // min threshold for how trustworthy is the target faction to consider them a trusted ally


    But in the actual code, these thresholds are all set to 999.0. Yet, the trusted ally status is checked a bunch of times, in triggers such as :

    <decision_entry>
    <!--
    If trusted ally, use defaults
    -->
    <min_entry trusted_ally="true"/>
    <faction_attitude can_force_invade="false"/>
    </decision_entry>

    If I am correct, I think this means the AI does not care for alliances AT ALL in its invasion decisions, or rather that the triggers checking for trusted alliances are effectively neutered. Which would account for much of the diplo grief and non-sensical aggressions.

    Has anyone tried setting these variables to the suggested declaration defaults (0.8, 0.8, 0.2) ?
    Last edited by Kobal2fr; 12-19-2006 at 08:17.
    Anything wrong ? Blame it on me. I'm the French.

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