Announcement

Collapse
No announcement yet.

Feat.txt

Collapse
X
Collapse
  •  

  • Feat.txt

    \CTP2_DATA\DEFAULT\GAMEDATA\Feat.txt

    This file defines the various Feats that can be accomplished in the game. There are two basic types of Feats and three custom Feats possible in the game. The basic Feats are first nation to discover an Advance and first nation to build X number of buildings. Any number of these basic Feats can be defined.

    The three custom Feats (FEAT_SAILED_AROUND_THE_WORLD, FEAT_CONQUERED_BY_FORCE and FEAT_CITY_RECAPTURED) are hard-coded in the game and must exist in the Feat.txt file. The conditions that trigger these Feats cannot be changed without changing the source code though their effects can be changed. New custom Feats can be created and logic for triggering them must be written in SLIC scripts. See the SLIC scripting documentation for more information on how SLIC scripts could be used to trigger Feats.

    The following variables are optional and define the various possible effects of the Feat.
    The following variables set things that make a Feat no longer accomplishable
    The following variable set things that cancel the effects of a Feat
    The following variables set conditions for the accomplishing of the Feat
    Example:
    FEAT_THEATERS
    {
    Duration 15
    Description str_ldl_0
    EffectIncreaseHappiness 5
    SlicMessage "FeatBuiltTheaters"
    Building { Building IMPROVE_THEATER Num 8 }
    }
    Attached Files
      Posting comments is disabled.

    Article Tags

    Collapse

    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