Civ4SeasonInfos: Difference between revisions
m (Reverted edits by 190.12.74.162 (Talk) to last version by Deanej) |
m (Protected "Civ4SeasonInfos": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
(No difference)
|
Revision as of 00:58, 6 July 2010
The Civ4SeasonInfos file defines the seasons used in the game using the season calendar option. In Vanilla and Warlords this was located in Civ4BasicInfos.
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.
Tags
Headers
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
Tag Name | Description |
---|---|
SeasonInfos | This tag surrounds all entries in the file |
SeasonInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the seasons are referred to in other files |
Description | The text for the season in the game |
Example
In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.
<SeasonInfo> <Type>SEASON_WINTER</Type> <Description>TXT_KEY_SEASON_WINTER</Description> </SeasonInfo>