Civ4GraphicOptionInfos: Difference between revisions
No edit summary |
(→Text) |
||
Line 22: | Line 22: | ||
SKkDj5 <a href="http://pkzlzedjmjik.com/">pkzlzedjmjik</a>, [url=http://jfczbxbaumbh.com/]jfczbxbaumbh[/url], [link=http://ftididsqffqh.com/]ftididsqffqh[/link], http://mkmcedizisfi.com/ | |||
===Boolean=== | ===Boolean=== |
Revision as of 12:49, 4 June 2010
The Civ4GraphicOptionInfos file describes the various choices available under the Graphics tab of the in-game options menu (accessible via keyboard shortcut of Control + O). Example options include Single Unit Graphics and Health Bars.
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 |
---|---|
GraphicOptionInfos | This begins and ends the entire file. All options' info is contained within. |
GraphicOptionInfo | This contains the information for each graphic option. |
SKkDj5 <a href="http://pkzlzedjmjik.com/">pkzlzedjmjik</a>, [url=http://jfczbxbaumbh.com/]jfczbxbaumbh[/url], [link=http://ftididsqffqh.com/]ftididsqffqh[/link], http://mkmcedizisfi.com/
Boolean
All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".
Tag Name | Description |
---|---|
bDefault | All standard options have a value of 0. If 1, this graphic option is enabled by default. |
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.
<GraphicOptionInfos> <GraphicOptionInfo> <Type>GRAPHICOPTION_SINGLE_UNIT_GRAPHICS</Type> <Description>TXT_KEY_OPTIONS_SINGLE_UNIT</Description> <Help>TXT_KEY_OPTIONS_SINGLE_UNIT_HELP</Help> <bDefault>0</bDefault> </GraphicOptionInfo> <GraphicOptionInfo> <Type>GRAPHICOPTION_HEALTH_BARS</Type> <Description>TXT_KEY_PLAYER_OPTION_SHOW_HEALTH_BARS</Description> <Help>TXT_KEY_PLAYER_OPTION_SHOW_HEALTH_BARS_HELP</Help> <bDefault>0</bDefault> </GraphicOptionInfo> <PlayerOptionInfo> <Type>GRAPHICOPTION_CITY_DETAIL</Type> <Description>TXT_KEY_PLAYER_OPTION_DETAILED_CITY_INFO</Description> <Help>TXT_KEY_PLAYER_OPTION_DETAILED_CITY_INFO_HELP</Help> <bDefault>0</bDefault> </PlayerOptionInfo> </PlayerOptionInfos>