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 | The default number of resources, which e.g. Hollywood provide |
iBuildingClassPrereqModifiers | Unknown |
iMaxConscriptModifier | Unknown |
iWarWearinessModifier | Unknown |
iGridWidth | Width of the map; the value is actually only half of the map width in tiles |
iGridHeight | Height of the map; the value is actually only half of the map height in tiles |
iTerrainGrainChange | Unknown |
iFeatureGrainChange | Unknown |
iResearchPercent | A modifier applied to your overall research |
iTradeProfitPercent | Unknown |
iDistanceMaintenacePercent | A modifier applied to the city maintenance based on the distance to the capital |
iNumCitiesMaintenancePercent | A modifier applied to the city maintenance based on the number of cities |
iColonyMaintenancePercent | A modifier applied to the maintenance of oversee colonies (NOT the vassal; the cities, before they are freed, are meant) |
iCorporationMaintenancePercent | A modifier applied to the corporation maintenance |
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>