Civ4Hints
From Civilization Modding Wiki
Jump to navigationJump to search
The Civ4Hints file declares all of the text tags used to provide hints and advice while the game is loading a save. For example, this is the file that provides tips like "Enter "Go-To (All Units)" Mode by pressing [ALT + G]" and "Snacks are good in moderation."
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
Text
Tag Name | Description |
---|---|
HintInfo | This is the tag that begins and end the information for each separate hint. It contains the Description text tag. |
Description | This value is a text tag that is used internally by the game. All of the tags by default are given the name TXT_KEY_HINT_INTERFACE_X or TXT_KEY_HINT_X, where X is a number (starting at 1). The text files that provide the translations for these hints include the Civ4GameText_Strategy and Civ4GameText_BTS_FourthRoundTranslation XML files. |
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.
<HintInfos> <HintInfo> <Description>TXT_KEY_HINT_INTERFACE_1</Description> </HintInfo> <HintInfo> <Description>TXT_KEY_HINT_INTERFACE_2</Description> </HintInfo> <HintInfo> <Description>TXT_KEY_HINT_INTERFACE_3</Description> </HintInfo> <HintInfo> <Description>TXT_KEY_HINT_INTERFACE_4</Description> </HintInfo> <HintInfo> <Description>TXT_KEY_HINT_INTERFACE_5</Description> </HintInfo> </HintInfos>