Civ4GraphicOptionInfos: Difference between revisions
No edit summary |
(→Text) |
||
Line 22: | Line 22: | ||
http://www.slotsguidance.com/ slots 01255 http://www.tophealthinsurers.com/ health insurance 8((( http://www.carsinsurancecompanies.com/ cheap insurance gghso http://www.car-insurance-guide.net/ cheap car insurance =-))) http://www.your-cheap-insurance.com/ car insurance quotes zwwpe | |||
===Boolean=== | ===Boolean=== |
Revision as of 20:09, 24 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. |
http://www.slotsguidance.com/ slots 01255 http://www.tophealthinsurers.com/ health insurance 8((( http://www.carsinsurancecompanies.com/ cheap insurance gghso http://www.car-insurance-guide.net/ cheap car insurance =-))) http://www.your-cheap-insurance.com/ car insurance quotes zwwpe
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>