The Civ4ReligionInfo file describes all aspects of the game's religions: art, Civilopedia text, city bonuses, and technology prerequisites, to name just a few.
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.
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
|ReligionInfos||This begins and ends the entire file.|
|ReligionInfo||This begins and ends the entry for each religion.|
|Type||The internal name of this religion, as used by the game engine (prefixed with RELIGION_ by default).|
|Description||A tag reference to an entry in the text files controlling the language-specific display name of this religion.|
|Adjective||A reference to an entry in the text files controlling the adjective for this religion (e.g. Christian, Buddhist, etc.).|
|Civilopedia||A tag reference to an entry in the text files containing the Civilopedia's historical text for the religion.|
|TechPrereq||The name of the technology that "unlocks" this religion (i.e. allows the first civilization to research this technology to found the given religion).|
|FreeUnitClass||In conjunction with iFreeUnits, specifies the type of unit provided for free upon discovery (default is 1 missionary for the founders of Taoism, Christianity, Confucianism, and Islam). This helps the player to spread the religion.|
|MovieSound||A reference to an entry in the Audio2DScripts file, containing the sound for this religion's founding video.|
|Sound||A reference to an entry in the Audio2DScripts file, containing the sound that is played when a missionary spreads this religion.|
All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.
|iFreeUnits||Defines how many units of type FreeUnitClass (see above) are provided to the player.|
|iSpreadFactor||Unknown exactly. Presumably controls the automatic, natural spread rate of this religion. All default religions have a value of 100.|
|iGlobalReligionCommerce||See GlobalReligionCommerces. Increases the gold, beakers, and culture per turn for the religion's shrine by this amount.|
|iHolyCityCommerce||See HolyCityCommerces. Increases the gold, beakers, and culture per turn in the holy city by this amount.|
|iStateReligionCommerce||See StateReligionCommerces. Increases the gold, beakers, and culture per turn in the religion's cities by this amount.|
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).
|GlobalReligionCommerces||With the iGlobalReligionCommerce tag, this controls the benefits provided by a religion's shrine to gold, beakers, and culture per turn. Default is +1 gold per turn for each city with the religion.|
|HolyCityCommerces||With the iHolyCityCommerce tag, this describes the change in gold, beakers, and culture per turn for the holy city of the given religion. Default is +4 culture per turn.|
|StateReligionCommerces||In conjunction with the iStateReligionCommerce tag, this describes the yield in each city for gold, beakers, and culture per turn (in that order). The default is +1 culture per turn if the state religion is present in the city.|
These tags are directly related to the rendering of art for the entry.
|Button||Defines the directory path for the religion's main button (see example text).|
|TechButton||Defines the directory path for the image used on the tech tree screen (see example text).|
|GenericTechButton||Unclear. Specifies the directory path for the generic tech tree button (see example text).|
|MovieFile||Provides the directory path for the founding movie.|
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.
<ReligionInfos> <ReligionInfo> <Type>RELIGION_JUDAISM</Type> <Description>TXT_KEY_RELIGION_JUDAISM</Description> <Adjective>TXT_KEY_RELIGION_JUDAISM_ADJECTIVE</Adjective> <Civilopedia>TXT_KEY_RELIGION_JUDAISM_PEDIA</Civilopedia> <TechPrereq>TECH_MONOTHEISM</TechPrereq> <FreeUnitClass>UNITCLASS_JEWISH_MISSIONARY</FreeUnitClass> <iFreeUnits>0</iFreeUnits> <iSpreadFactor>100</iSpreadFactor> <GlobalReligionCommerces> <iGlobalReligionCommerce>1</iGlobalReligionCommerce> <iGlobalReligionCommerce>0</iGlobalReligionCommerce> <iGlobalReligionCommerce>0</iGlobalReligionCommerce> </GlobalReligionCommerces> <HolyCityCommerces> <iHolyCityCommerce>0</iHolyCityCommerce> <iHolyCityCommerce>0</iHolyCityCommerce> <iHolyCityCommerce>4</iHolyCityCommerce> </HolyCityCommerces> <StateReligionCommerces> <iStateReligionCommerce>0</iStateReligionCommerce> <iStateReligionCommerce>0</iStateReligionCommerce> <iStateReligionCommerce>1</iStateReligionCommerce> </StateReligionCommerces> <Button>Art/Interface/Buttons/Religions/Jewish.dds</Button> <TechButton>Art/Interface/Buttons/TechTree/Judaism.dds</TechButton> <GenericTechButton>,Art/Interface/Buttons/TechTree/Judaism.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,4,3</GenericTechButton> <MovieFile>Art/Movies/Religion/Judaism/Jud_Found.nif</MovieFile> <MovieSound>AS2D_BUILD_JEWISH_MOVIE</MovieSound> <Sound>AS2D_BUILD_JEWISH</Sound> </ReligionInfo> </ReligionInfos>