Announcement

Collapse
No announcement yet.

DiplomacyProposal.txt

Collapse
X
Collapse
  •  

  • 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"
    }
    Attached Files
      Posting comments is disabled.

    Latest Articles

    Collapse

    • Strategies.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\AIDATA\Strategies.txt

      The Strategies.txt file defines the various strategic states for the AI. See the AI customization document for details on how the strategic states are used by the AI.
      ...
      December 4, 2010, 21:31
    • WonderBuildLists.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\AIDATA\WonderBuildLists.txt

      This file contains build lists of Wonders for the AI to build. The build list names are referenced in BuildListSequences.txt and reference Wonders from Wonders.txt.
      ...
      December 4, 2010, 21:14
    • UnitBuildLists.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\AIDATA\UnitBuildLists.txt

      This file contains build lists of Units for the AI to build. The build list names are special and are directly referenced by the AI code. The lists reference Units from Units.txt.
      ...
      December 4, 2010, 21:09
    • Personalities.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\AIDATA\Personalities.txt

      This file define the personality attributes for various personalities. The personality names are referenced from Strategies.txt.
      ...
      December 4, 2010, 20:51
    • ImprovementLists.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\AIDATA\ImprovementLists.txt

      This file contains build lists of Tile Improvements for the AI to build. The build list names are referenced in Strategies.txt and reference Tile Improvements from TileImp.txt.
      ...
      December 4, 2010, 20:42
    • Hscore.txt
      by Martin Gühmann
      \CTP2_DATA\DEFAULT\GAMEDATA\Hscore.txt

      This file contains the High Score information for games played. The shipped version of this file is blank. And no modifications of this file should be necessary.
      ...
      December 4, 2010, 20:37
    Working...
    X