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

Peace treaty length

Discussion in 'Civ5 - Creation & Customization' started by ispanets, Jun 23, 2013.

  1. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Hello all,

    In my mod, I have the following code..

    <Update>
    <Set Value="10"/>
    <Where Name="PEACE_TREATY_LENGTH"/>
    </Update>

    But anyway, any peace treaty works for 30 turn. Is this number modified by map size or game speed?

    Can I change it somehow?

    Thanks.

    JJ
     
  2. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,411
    Location:
    Near Portsmouth, UK
    It's PeaceDealDuration in Civ5GameSpeeds.xml
     
  3. Putmalk

    Putmalk Deity

    Joined:
    Sep 26, 2010
    Messages:
    2,623
    Location:
    New York
    Peace treaty length should be 10 turns by default, I thought?

    Anyway, this may be modified by game speed - are you playing marathon?
     
  4. PawelS

    PawelS Ancient Druid

    Joined:
    Dec 11, 2003
    Messages:
    2,803
    Location:
    Poland
    Indeed, it was changed in one of the patches. The value in Defines is no longer used.
     
  5. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Thank you all!!
     

Share This Page