Civ4AttitudeInfos: Difference between revisions
No edit summary |
m (Unprotected "Civ4AttitudeInfos") |
(5 intermediate revisions by 3 users not shown) | |
(No difference)
|
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>