Announcement

Collapse
No announcement yet.

DiplomacyProposal.txt

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DiplomacyProposal.txt

    \CTP2_DATA\DEFAULT\AIDATA\DiplomacyProposal.txt

    This file defines the variables for each proposal type available in diplomacy and primarily affects the UI. Entries from this file are referenced in the Diplomacy.txt state definitions.
    The following structures define the String IDs for the proposal text to be used when the proposal is selected. For each tone there is a primary and exchange version and each can has a String ID defined for if the receiving nation is stronger, weaker, or equal. Structure variables are: DetailsWeak, DetailsEven & DetailsStrong. See example for full syntax. NOTE: DetailsWeak and DetailsStrong were never used in CTP2 and may not work correctly.
    The following flags are used to filter the list of available proposals. If a flag is set then it must evaluate true before the proposal will be available.
    Example:
    PROPOSAL_OFFER_GIVE_CITY
    {
    Type "OFFER_GIVE_CITY"
    Title DIP_OFFER_GIVE_CITY
    Category:Gift
    Class:Offer
    Excludes:Offer
    Reciprocal PROPOSAL_REQUEST_GIVE_CITY
    Arg1:OwnCity
    Details0 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_0 }
    Details1 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_1 }
    Details2 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_2 }
    Details3 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_3 }
    Details4 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_4 }
    DetailsEx0 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_EX_0 }
    DetailsEx1 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_EX_1 }
    DetailsEx2 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_EX_2 }
    DetailsEx3 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_EX_3 }
    DetailsEx4 { DetailsEven DIP_DETAILS_OFFER_GIVE_CITY_EX_4 }
    Image "updi01.tga"
    }
    Last edited by Martin Gühmann; December 3, 2010, 20:51.
    Civ2 military advisor: "No complaints, Sir!"
Working...
X