1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Replace or Update

Discussion in 'Mod Creation Help' started by Riker13, Dec 27, 2017.

  1. Riker13

    Riker13 Chieftain

    Joined:
    Nov 9, 2001
    Messages:
    695
    Location:
    UK
    Hi All,
    I would like to change when Defence Pact comes in to play, in the game it comes in with CIVIC_MOBILIZATION but I want it to come in with CIVIC_DIPLOMATIC_SERVICE, is there a way of overiding this with a Replace or Update command and if so how?

    Many Regards
    Riker13:crazyeye:
     
  2. raen

    raen Coat of Arms

    Joined:
    May 12, 2003
    Messages:
    1,657
    Location:
    Portugal
    (...)
    <DiplomaticActions>
    <Update>
    <Where DiplomaticActionType="DIPLOACTION_DEFENSIVE_PACT"/>
    <Set TargetPrereqCivic="CIVIC_DIPLOMATIC_SERVICE"/>
    </Update>
    <Update>
    <Where DiplomaticActionType="DIPLOACTION_DEFENSIVE_PACT"/>
    <Set InitiatorPrereqCivic="CIVIC_DIPLOMATIC_SERVICE"/>
    </Update>

    (...)
     
  3. Riker13

    Riker13 Chieftain

    Joined:
    Nov 9, 2001
    Messages:
    695
    Location:
    UK
    Many thanks Raen I will give that a go after my current game :)
     
    raen likes this.
  4. Riker13

    Riker13 Chieftain

    Joined:
    Nov 9, 2001
    Messages:
    695
    Location:
    UK
    Works like a charm.
    All the best.
     
    raen likes this.

Share This Page