1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Land Target and Manipulating the AI

Discussion in 'Civ4 - Strategy & Tips' started by Kaitzilla, Jan 6, 2016.

  1. Seraiel

    Seraiel Chieftain

    Joined:
    Sep 6, 2011
    Messages:
    7,954
    Gender:
    Male
    I believe I tested it when trying out domination via peacevassaling one game after your Gauntlet and I'm about 97% sure, that Vassal's borders did not count. But yes, good idea to get 100% correct information on that :) . If I remember which game I played with peacevassaling the AIs, I'll maybe check a few saves. Would cost me quite some time though, maybe it'd be easier to simply worldbuilder that situation.
     
  2. Pollina

    Pollina Chieftain

    Joined:
    Dec 19, 2011
    Messages:
    1,785
    Thought I'd look into this some more. :scan:

    There are 2 land target checks in the code: AI_isLandTarget and AI_isAllyLandTarget. The former only checks land target status for a team. That's the player and possible PA partners, but no vassals. The latter includes vassals (and masters) and any team that has a defensive pact with the team for which land target status is checked.

    • AI_isLandTarget checks border tiles for the team and not for each of the team’s players individually. That means that if Player A and Player B are in the same team and the AI has 4 border tiles with Player A and another 4 border tiles with Player B, the AI will consider that team a land target.
    • AI_isAllyLandTarget checks land target status for a team and each of the team's vassals and DP allies individually. It will, e.g., return false if the AI only has 4 border tiles with the player (or more precisely: team) and another 4 with their vassal, but it will return true if the AI has 8 border tiles with the team’s DP partner.

    AI_isLandTarget is used in the cases I listed earlier:
    Note that the AI is slightly more likely to capitulate if you have vassals (or war allies) that are a land target of the AI while having a higher power rating than the AI. (see this post on vassalization mechanics)


    AI_isAllyLandTarget is only used in the context of war bribes: For “We're afraid of their military might.” or ”We would have nothing to gain.” checks and when calculating the cost of a war bribe.

    * AI is more likely to accept a war bribe if the war target is one of their land targets. (Land target status halves the power threshold.)
    * Bribing an AI to DoW another AI is cheaper if the war target is one of our (=the bribing player’s) land targets. (This seems a bit odd to me.)
     
  3. krikav

    krikav Theorycrafter

    Joined:
    Aug 25, 2011
    Messages:
    2,458
    Location:
    Sweden
    Bumping this thread because it's absolutely golden.
    Thank you so much for putting in the effort into this testing!

    A quick question, does the "Our close borders cause tension" have anything at all with landtarget to do, or is that an entierly different calculation?
     
  4. Anysense

    Anysense Chieftain

    Joined:
    Jan 30, 2015
    Messages:
    698
    IIRC there is a multiplier that depends on land target status and greatly affects border tension calculations. Can't remember the exact formulae, but diplo hit from border tension depends on how many tiles you "steal", AI personality and some other factors, including, unless I'm much mistaken, land target.
     
    krikav likes this.
  5. Kaitzilla

    Kaitzilla Lord Croissant

    Joined:
    Jun 21, 2008
    Messages:
    8,264
    Gender:
    Male
    Location:
    America!
    Thanks! :)

    Yes, Tachywaxon outlined how "Our close borders cause tension" works here:
    https://forums.civfanatics.com/threads/civ-illustrated-1-know-your-enemy.478563/page-4#post-11940844

    I never put it into the guide because I never got around to testing it completely, but the years have changed my mind on its importance and it will go into the Civ Illustrated 2.0 revision in the future.
     
    krikav likes this.

Share This Page