Civ4MPOptionInfos
The Civ4MPOptionInfos file defines game options used for multiplayer.
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 |
---|---|
MPOptionInfo | Main bracket for each entry |
Type | Label used in other files |
Text
Tag Name | Description |
---|---|
Description | The name of the option in the game |
Help | Mouse-over text for the option |
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 | Whether the option is on by default or not |
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.
<MPOptionInfo> <Type>MPOPTION_SIMULTANEOUS_TURNS</Type> <Description>TXT_KEY_MP_OPTION_SIMULTANEOUS_TURNS</Description> <Help>TXT_KEY_MP_OPTION_SIMULTANEOUS_TURNS_HELP</Help> <bDefault>0</bDefault> </MPOptionInfo>