The Civ4CivicOptionInfos file declares the various groups of civics: Government, Legal, Labor, Economy, and Religion. In the standard game, each civic category has five choices available to the player.
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.
|CivicOptionInfo||This brackets the information and tags for each of the five civic groups. All values are declared inside of this tag.|
|Type||This is the name of civic group used internally within the game. For example, each of the civics described in the Civ4CivicInfos file are placed in one of these categories (e.g. CIVICOPTION_GOVERNMENT or CIVICOPTION_LEGAL, to name two).|
|Description||This declares the text tag used in the Civ4GameTextInfos_Objects file to define the name of this civic category in various languages. This reference allows the game to display the proper name for this civic category on the F3 Civics screen.|
All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).
|TraitNoUpkeeps||Not used in the standard game. It can be used so that leaders with specified traits, as declared in the Civ4TraitInfos file, pay no maintenance for the civics of this category. It presumably takes values in the form of <Trait>TRAIT_NAME</Trait>.|
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.
<CivicOptionInfos> <CivicOptionInfo> <Type>CIVICOPTION_GOVERNMENT</Type> <Description>TXT_KEY_CIVICOPTION_GOVERNMENT</Description> <TraitNoUpkeeps/> </CivicOptionInfo> </CivicOptionInfos>