Civ4WorldInfo
The Civ4WorldInfo file defines the different world sizes available.
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.
This page is missing information. Do not remove this notice until it is complete.
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 |
---|---|
WorldInfo | Main bracket for each entry |
Type | Name used in other files |
Text
Tag Name | Description |
---|---|
Description | Text displayed in game |
Help | Unknown |
Integers
All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.
Tag Name | Description |
---|---|
iDefaultPlayers | Default number of players |
iUnitNameModifier | Unknown |
iTargetNumCities | Unknown |
iNumFreeBuildingBonuses | Unknown |
iBuildingClassPrereqModifiers | Unknown |
iMaxConscriptModifier | Unknown |
iWarWearinessModifier | Unknown |
iGridWidth | Width of the map; units unknown |
iGridHeight | Height of the map; units unknown |
iTerrainGrainChange | Unknown |
iFeatureGrainChange | Unknown |
iResearchPercent | Unknown |
iTradeProfitPercent | Unknown |
iDistanceMaintenacePercent | Unknown |
iNumCitiesMaintenancePercent | Unknown |
iColonyMaintenancePercent | Unknown |
iCorporationMaintenancePercent | Unknown |
iNumCitiesAnarchyPercent | Unknown |
iAdvancedStartPointsMod | Unknown |
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.
<WorldInfo> <Type>WORLDSIZE_DUEL</Type> <Description>TXT_KEY_WORLD_DUEL</Description> <Help>TXT_KEY_WORLD_DUEL_HELP</Help> <iDefaultPlayers>2</iDefaultPlayers> <iUnitNameModifier>50</iUnitNameModifier> <iTargetNumCities>4</iTargetNumCities> <iNumFreeBuildingBonuses>1</iNumFreeBuildingBonuses> <iBuildingClassPrereqModifier>0</iBuildingClassPrereqModifier> <iMaxConscriptModifier>-50</iMaxConscriptModifier> <iWarWearinessModifier>50</iWarWearinessModifier> <iGridWidth>10</iGridWidth> <iGridHeight>6</iGridHeight> <iTerrainGrainChange>-1</iTerrainGrainChange> <iFeatureGrainChange>-1</iFeatureGrainChange> <iResearchPercent>100</iResearchPercent> <iTradeProfitPercent>80</iTradeProfitPercent> <iDistanceMaintenancePercent>50</iDistanceMaintenancePercent> <iNumCitiesMaintenancePercent>45</iNumCitiesMaintenancePercent> <iColonyMaintenancePercent>67</iColonyMaintenancePercent> <iCorporationMaintenancePercent>400</iCorporationMaintenancePercent> <iNumCitiesAnarchyPercent>11</iNumCitiesAnarchyPercent> <iAdvancedStartPointsMod>80</iAdvancedStartPointsMod> </WorldInfo>