Civ4DenialInfos: Difference between revisions
(Created page with 'The '''Civ4DenialInfos''' file contained the different reasons an AI may refuse to trade something. In vanilla and warlords this is contained in Civ4BasicInfos. All tags mu...') |
Ginger Ale (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The '''Civ4DenialInfos''' file | 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. | 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. |
Revision as of 00:45, 5 June 2009
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>