Civ4ForceControlInfos
The Civ4ForceControlInfos file describes the name and text for various forced options in multiplayer games.
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 |
---|---|
ForceControlInfos | This begins and ends the entire file. All instances of ForceControlInfo are contained within. |
ForceControlInfo | This contains the information for each multiplayer game option. |
Text
Tag Name | Description |
---|---|
Type | The name of the multiplayer game option, prefixed by FORCECONTROL_. This is used internally by the game. |
Description | A text value referencing an entry in the Civ4GameText_Misc file. This controls the display name of the forced game option in various languages. |
Help | Another text value, explaining the purpose of this game option and its effect (e.g. it might disable the player's ability to change game settings). |
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 | In the standard, unedited file, all options have a value of 0. If 1, this 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.
<ForceControlInfos> <ForceControlInfo> <Type>FORCECONTROL_SPEED</Type> <Description>TXT_KEY_FORCE_CONTROL_SPEED</Description> <Help>TXT_KEY_FORCE_CONTROL_SPEED_HELP</Help> <bDefault>0</bDefault> </ForceControlInfo> <ForceControlInfo> <Type>FORCECONTROL_HANDICAP</Type> <Description>TXT_KEY_FORCE_CONTROL_HANDICAP</Description> <Help>TXT_KEY_FORCE_CONTROL_HANDICAP_HELP</Help> <bDefault>0</bDefault> </ForceControlInfo> <ForceControlInfo> <Type>FORCECONTROL_OPTIONS</Type> <Description>TXT_KEY_FORCE_CONTROL_OPTIONS</Description> <Help>TXT_KEY_FORCE_CONTROL_OPTIONS_HELP</Help> <bDefault>0</bDefault> </ForceControlInfo> </ForceControlInfos>