Civ4MonthInfos: Difference between revisions
(→Tags) |
m (Unprotected "Civ4MonthInfos") |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 4: | Line 4: | ||
==Tags== | |||
===Headers=== | |||
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data. | |||
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | |||
|- | |||
! style="background:#efefef;" | Tag Name | |||
! style="background:#efefef;" | Description | |||
|- | |||
!MonthInfos | |||
|This tag surrounds all the entries | |||
|- | |||
!MonthInfo | |||
|Main bracket for each entry | |||
|} | |||
===Text=== | |||
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | |||
|- | |||
! style="background:#efefef;" | Tag Name | |||
! style="background:#efefef;" | Description | |||
|- | |||
!Type | |||
|How the month is referred to in other files | |||
|- | |||
!Description | |||
|Text for the month used in the game | |||
|} | |||
==Example== | ==Example== |
Latest revision as of 01:28, 3 October 2011
The Civ4MonthInfos file defines the months in the game when using the months calendar option. In Vanilla and Warlords this is 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 |
---|---|
MonthInfos | This tag surrounds all the entries |
MonthInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the month is referred to in other files |
Description | Text for the month used 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.
<MonthInfo> <Type>MONTH_JANUARY</Type> <Description>TXT_KEY_MONTH_JANUARY</Description> </MonthInfo>