Civ4DenialInfos: Difference between revisions
m (Reverted edits by 118.69.226.73 (Talk) to last version by Ginger Ale) |
|||
Line 5: | Line 5: | ||
==Tags== | ==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 | |||
|- | |||
!DenialInfos | |||
|This tag surrounds the entries in the file | |||
|- | |||
!DenialInfo | |||
|Main bracket for each entry | |||
|} | |||
===Text=== | ===Text=== |
Revision as of 19:01, 6 August 2010
The Civ4DenialInfos file contains the different reasons an AI may refuse to trade something. In Vanilla and Warlords, this is part of the Civ4BasicInfos file.
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 |
---|---|
DenialInfos | This tag surrounds the entries in the file |
DenialInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the denial is referred to in other files |
Description | Text for the denial 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.
<DenialInfo> <Type>DENIAL_FAVORITE_CIVIC</Type> <Description>TXT_KEY_DENIAL_FAVORITE_CIVIC</Description> </DenialInfo>