Civ4GameOptionInfos: Difference between revisions
m (Reverted edits by 193.36.37.2 (Talk) to last version by Deanej) |
|||
Line 40: | Line 40: | ||
elGxRk <a href="http://kirqaxrvqagt.com/">kirqaxrvqagt</a>, [url=http://duqliozkydtf.com/]duqliozkydtf[/url], [link=http://dwvtylmuqhua.com/]dwvtylmuqhua[/link], http://faylcosqgwah.com/ | |||
==Example== | ==Example== |
Revision as of 21:53, 5 July 2010
The Civ4GameOptionInfos file defines what options are available in a particular game when starting from the custom game screen (such as Advanced Start, No Tech Trading, etc.). Changes to this file must be reflected in the SDK.
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 |
---|---|
GameOptionInfos | This tag surrounds the entries in the file |
GameOptionInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the option appears in other files |
Description | The text for the option in the game |
Help | Mouse-over text for the option in the game |
elGxRk <a href="http://kirqaxrvqagt.com/">kirqaxrvqagt</a>, [url=http://duqliozkydtf.com/]duqliozkydtf[/url], [link=http://dwvtylmuqhua.com/]dwvtylmuqhua[/link], http://faylcosqgwah.com/
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.
<GameOptionInfo> <Type>GAMEOPTION_ADVANCED_START</Type> <Description>TXT_KEY_GAME_OPTION_ADVANCED_START</Description> <Help>TXT_KEY_GAME_OPTION_ADVANCED_START_HELP</Help> <bDefault>0</bDefault> <bVisible>1</bVisible> </GameOptionInfo>