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

[Vanilla] Add a formal war?

Discussion in 'Civ6 - Creation & Customization' started by Falk Bruskeland, Feb 25, 2018.

  1. Falk Bruskeland

    Falk Bruskeland Chieftain

    Joined:
    Oct 8, 2017
    Messages:
    49
    Gender:
    Male
    Is it possible to add a formal war? And if so, for a specific civilization?

    For example like India in R&F, where they can declare a "War of Territorial Expansion".

    So this is what I want to do:
    * Add a formal war which can only be used by a specific civilization
    * (lua) Can check if a civilization has declared this formal war, or is in a formal war.
     
  2. fraggle7

    fraggle7 Chieftain

    Joined:
    Jul 25, 2007
    Messages:
    20
    These are already in game and anyone can use the war for territorial expansion as long as you have the correct civic/tech and meet the parameters of 2 cities within 10 tiles of 2 of there cities.
     
  3. isau

    isau Warlord

    Joined:
    Jan 15, 2007
    Messages:
    2,753
    To do this you need to add an entry to the DiplomaticActions table defining the custom war type. Then at the civilization or leader level, add a modifier of the type MODIFIER_PLAYER_ADD_DIPLOMATIC_ACTION_OVERRIDE. Look at Chandragupta for an example.
     

Share This Page