Results 1 to 10 of 10

Thread: Modifying diplomacy

  1. #1
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Modifying diplomacy

    Dear all,

    I'm currently having a look at the files and want to modify the way diplomacy works: Mainly the cost of ceasefires, why alliances go from very generous to very demanding after about 30 turns of play (although reputation is same or better) and why demanding protectorates has a seemingly random behavior.

    I used the extractor to extract all files containing the word diplomacy but only the export_diplomacy.xml seems to hold any clue at all, although I might have missed the actual file.
    That xml file on the other hand doesn't make much sense to me at all as the modifiers are mainly 0.25 (no + or -) and all costs are 1.0. Thus I don't quite understand how that has to do with the cost of the terms at all.

    If someone could point me in the right direction on this (i.e. which file and how to modify it if its not obvious) I'd very much appreciate it.
    If its similar to the other export files (building, unit, traits, ancillaries, guilds) then I probably can figure out how to work it.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  2. #2

    Default Re: Modifying diplomacy

    Two other files are critical with this (maybe others too)

    descr_campaign_ai_db.xml
    descr_faction_standing.txt

    only just getting into this so i don't know much more than that yet.
    It's not a map.

  3. #3
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Modifying diplomacy

    Thanks! Will check them out
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  4. #4
    Member Member KnightErrant's Avatar
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    458

    Default Re: Modifying diplomacy

    This threads been quiet for a while but it
    has some good stuff in it about AI behavior:

    https://forums.totalwar.org/vb/showthread.php?t=75496

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Modifying diplomacy

    Keep in mind that a lot of stuff is hardcoded (like diplomacy decisions), the only thing you can really edit is faction standing and some of the invasion and defend decisions, but for that I'd wait for the 1.2 patch (they appear to have changed a bit of stuff around there)

  6. #6
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Modifying diplomacy

    Thanks for the link.

    Now I wonder what "alliance_against" does. Its found in the outnumbering the enemy section
    Also wondering how I can influence AI decision on when demanding a protectorate from them (the db file only has cases for AI offering protectorate and demanding protectorate but no response to human demands)
    Last edited by FactionHeir; 03-14-2007 at 16:33.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  7. #7
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Modifying diplomacy

    Alliance against means that you are allied with another faction that is at war with the target.

    And offering protectorate is probably what you want, although I didn't test it myself.

  8. #8
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Modifying diplomacy

    Hmmm that must be quite extreme then if it requires you to be allied with 6 other factions against 1 faction for it to become your protectorate :S

    On a related note, encircling the enemy faction with your own lands or almost encircling BUT having a stack in the regions which are not bordering your own makes demand of protectorate a balanced matter.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  9. #9
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Modifying diplomacy

    On a side note, protectorates don't really have much of a point in this game.
    I'd say it's always better to just conquer the province... because the AI will simply be too stubborn about it and even demand stuff instead of seeing it as the last possible way to survive as a faction.

  10. #10

    Default Re: Modifying diplomacy

    On a related note, encircling the enemy faction with your own lands or almost encircling BUT having a stack in the regions which are not bordering your own makes demand of protectorate a balanced matter.
    Interesting


    Personally i always liked protectorates cos they managed their own cities and chased their own rebels. Can be hard to get sometimes though.
    It's not a map.

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