Civ4AttitudeInfos: Difference between revisions
(→Text) |
m (Unprotected "Civ4AttitudeInfos") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
===Text=== | |||
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | |||
|- | |||
! style="background:#efefef;" | Tag Name | |||
! style="background:#efefef;" | Description | |||
|- | |||
!Type | |||
|How the attitude is referred to in other files | |||
|- | |||
!Description | |||
|The text used to show the attitude in the game | |||
|} | |||
==Example== | ==Example== |
Latest revision as of 03:29, 3 October 2011
The Civ4AttitudeInfos file defines what attitudes leaders can have toward each other for diplomacy. In Vanilla and Warlords this info is contained 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 |
---|---|
AttitudeInfos | This tag surrounds all the entries of the file |
AttitudeInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the attitude is referred to in other files |
Description | The text used to show the attitude 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.
<AttitudeInfo> <Type>ATTITUDE_FRIENDLY</Type> <Description>TXT_KEY_ATTITUDE_FRIENDLY</Description> </AttitudeInfo>