[an error occurred while processing this directive] Modification: Data File Definitions

\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.

Variables:
Type  -  String name of a valid proposal type. These names are primarily used for debugging as well as SLIC scripting though they must be registered in the game to work correctly. Valid values: NONE, OFFER_GIVE_CITY, REQUEST_GIVE_CITY, OFFER_WITHDRAW_TROOPS, REQUEST_WITHDRAW_TROOPS, OFFER_STOP_PIRACY, REQUEST_STOP_PIRACY, OFFER_BREAK_AGREEMENT, REQUEST_BREAK_AGREEMENT, OFFER_STOP_RESEARCH, REQUEST_STOP_RESEARCH, OFFER_REDUCE_NUCLEAR_WEAPONS, REQUEST_REDUCE_NUCLEAR_WEAPONS, OFFER_REDUCE_BIO_WEAPONS, REQUEST_REDUCE_BIO_WEAPONS, OFFER_REDUCE_NANO_WEAPONS, REQUEST_REDUCE_NANO_WEAPONS, OFFER_GIVE_ADVANCE, REQUEST_GIVE_ADVANCE, OFFER_GIVE_GOLD, REQUEST_GIVE_GOLD, OFFER_REDUCE_POLLUTION, REQUEST_REDUCE_POLLUTION, OFFER_MAP, REQUEST_MAP, OFFER_HONOR_MILITARY_AGREEMENT, REQUEST_HONOR_MILITARY_AGREEMENT, OFFER_HONOR_POLLUTION_AGREEMENT, REQUEST_HONOR_POLLUTION_AGREEMENT, OFFER_END_EMBARGO, REQUEST_END_EMBARGO, TREATY_DECLARE_WAR, TREATY_CEASEFIRE, TREATY_PEACE, TREATY_TRADE_PACT, TREATY_RESEARCH_PACT, TREATY_MILITARY_PACT, TREATY_POLLUTION_PACT, TREATY_ALLIANCE,
Title  -  String ID of string to use in the UI list of available proposals. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal title strings)
Category  -  This defines the tab in the UI to display this proposal in. Valid value: Request, Treaty & Gift.
Arg1  -  This defines any arguments that the proposal may take. I.e. amount of gold to offer, city to surrender, etc. Valid values: OwnCity, HisCity, OwnArmy, HisArmy, HisAgreement, OwnAdvance, HisAdvance, OwnStopResearch, HisStopResearch, OwnUnitType, OwnGood, HisGood, ThirdParty, OwnGold, HisGold, OwnPollution, HisPollution, Percent
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.
Details0  -  String IDs for primary proposal text for Magnanimous/Kind strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
Details1  -  String IDs for primary proposal text for Friendly/Equal strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
Details2  -  String IDs for primary proposal text for Obsequious/Meek strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
Details3  -  String IDs for primary proposal text for Haughty/Indignant strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
Details4  -  String IDs for primary proposal text for Hostile/Angry strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
DetailsEx0  -  String IDs for proposal exchange text for Magnanimous/Kind strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
DetailsEx1  -  String IDs for proposal exchange text for Friendly/Equal strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
DetailsEx2  -  String IDs for proposal exchange text for Obsequious/Meek strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
DetailsEx3  -  String IDs for proposal exchange text for Haughty/Indignant strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
DetailsEx4  -  String IDs for proposal exchange text for Hostile/Angry strings. String must be defined in one of the string files. (dip2_str.txt for CTP2 proposal text strings)
 
Cass  -  This defines the class of the proposal and is used in combination with the Excludes variable. Valid values: Request, Treaty & Offer.
Excludes  -  This defines the proposal classes to exclude. Valid values: Request, Treaty & Offer.
Reciprocal  -  This is the ID of a DiplomacyProposal record that should be used when countering this proposal. It should be of the opposite type. E.g. Request vs. Gift
File Image  -  This defines the TGA file to use to show this proposal in the Diplomacy Manager.
ImageSlot  -  This defines the slot to display the Image in the UI. Valid values: 0 - 7.
TrustViolationGlobal  -  This flag causes all player to lose trust when this proposal is broken.
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.
Disabled  -  Proposal never available
HasAlly  -  Does the receiver have an ally?
HasBorderIncursion  -  Has the receiver trespassed?
IsPirating  -  Has the receiver pirated?
HasEmbassy  -  Has an embassy been established with the receiver?
HasHotwar  -  Is the receiver at war with us?
NoHotwar  -  Is the receiver not at war with us?
HasPeaceTreaty  -  Has the receiver signed a peace treaty with us?
HasAlliance  -  Has receiver signed an alliance with us?
HasNuclearWeapons  -  Does the receiver have nuclear weapons?
HasBioWeapons  -  Does the receiver have bio-weapons?
HasNanoWeapons  -  Does the receiver have nano-weapons?
HasEmbargo  -  Has the receiver declared an embargo on us?
HasMilitaryAgreement  -  Does the receiver have a military pact with us?
HasPollutionAgreement  -  Does the receiver have a pollution pact with us?
HasPollution  -  is the receiver creating pollution?
 


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"
}


BACK TO Directory Structure PAGE

BACK TO MODIFICATION INDEX PAGE

[an error occurred while processing this directive]