Announcement

Collapse
No announcement yet.

Feat.txt

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

  • 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 }
    }
    Civ2 military advisor: "No complaints, Sir!"
Working...
X