Civ4ReligionInfo

From Civilization Modding Wiki
Jump to: navigation, search

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.


Contents

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
ReligionInfos This begins and ends the entire file.
ReligionInfo This begins and ends the entry for each religion.


Text

Tag Name Description
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.


Integers

All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
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.


Lists (Multi-line)

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).

Tag Name Description
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.


Art

These tags are directly related to the rendering of art for the entry.

Tag Name Description
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.


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.

<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>


GlobalDefinesGlobalDefinesAltGlobalTypesPythonCallbackDefines

Art:

Civ4ArtDefines_BonusCiv4ArtDefines_BuildingCiv4ArtDefines_CivilizationCiv4ArtDefines_FeatureCiv4ArtDefines_ImprovementCiv4ArtDefines_InterfaceCiv4ArtDefines_LeaderheadCiv4ArtDefines_MiscCiv4ArtDefines_MovieCiv4ArtDefines_TerrainCiv4ArtDefines_UnitCiv4MainMenusCiv4RiverModelInfosCiv4RouteModelInfos

Audio; Buildings:

Audio2DScriptsAudio3DScriptsAudioDefinesAudioSoundscapeScriptsCiv4BuildingClassInfosCiv4BuildingInfosCiv4CityLSystemCiv4PlotLSystemCiv4SpecialBuildingInfos

BasicInfos:

Civ4AttitudeInfosCiv4BasicInfosCiv4CalendarInfosCiv4CityTabInfosCiv4DenialInfosCiv4DomainInfosCiv4InvisibleInfosCiv4MemoryInfosCiv4MonthInfosCiv4NewConceptInfosCiv4SeasonInfosCiv4UnitAIInfosCiv4UnitCombatInfos

Civilizations; Events:

Civ4CivilizationInfosCiv4LeaderHeadInfosCiv4TraitInfosCiv4UnitArtStyleTypeInfosCiv4EventInfosCiv4EventTriggerInfos

GameInfo:

Civ4CivicInfosCiv4CivicOptionInfosCiv4ClimateInfoCiv4CommerceInfoCiv4CorporationInfoCiv4CultureLevelInfoCiv4CursorInfoCiv4DiplomacyInfosCiv4EmphasizeInfosCiv4EspionageMissionInfoCiv4EraInfosCiv4ForceControlInfosCiv4GameOptionInfosCiv4GameSpeedInfoCiv4GoodyInfoCiv4GraphicOptionInfosCiv4HandicapInfoCiv4HintsCiv4MPOptionInfosCiv4PlayerOptionInfosCiv4ProcessInfoCiv4ReligionInfoCiv4SeaLevelInfoCiv4SpecialistInfosCiv4TurnTimerInfoCiv4UpKeepInfoCiv4VictoryInfoCiv4VoteInfoCiv4VoteSourceInfosCiv4WorldInfo

Interface:

Civ4AdvisorInfosCiv4CameraInfosCiv4ColorValsCiv4InterfaceModeInfosCiv4PlayerColorInfosCiv4SlideShowInfosCiv4SlideShowRandomInfosCiv4SpaceShipInfosCiv4ThroneRoomeInfosCiv4ThroneRoomCameraInfosCiv4ThroneRoomStyleInfosCiv4WorldPickerInfos

Misc:

Civ4AttachableInfosCiv4CameraOverlayInfosCiv4DetailManagerCiv4EffectInfosCiv4QuestInfosCiv4RiverInfosCiv4RouteInfosCiv4TerrainPlainInfosCiv4TutorialInfosCiv4WaterPlaneInfos

Technologies:

Civ4TechInfos

Terrain:

Civ4BonusClassInfosCiv4BonusInfosCiv4FeatureInfosCiv4ImprovementInfosCiv4SymbolMeshPathsCiv4TerrainInfosCiv4TerrainSettingsCiv4YieldInfos

Units:

Civ4AnimationInfosCiv4AnimationPathInfosCiv4AutomateInfosCiv4BuildInfosCiv4CommandInfosCiv4ControlInfosCiv4EntityEventInfosCiv4FormationInfosCiv4MissionInfosCiv4PromotionInfosCiv4SpecialUnitInfosCiv4UnitClassInfosCiv4UnitInfos

Schemas:

Civ4GlobalDefinesSchemaCiv4GlobalTypesSchemaCiv4ArtDefinesSchemaAudioDefinesSchemaAudioScriptSchemaCiv4BasicInfoSchemaCiv4BuildingSchemaCiv4LSystemSchemaCiv4CivilizationSchemaCiv4EventSchemaCiv4GameInfoSchemaCiv4InterfaceSchemaCiv4MiscSchemaCiv4TutorialSchemaCiv4DetailManagerSchemaCiv4TechnologiesSchemaCiv4TerrainSchemaCiv4FormationSchemaCiv4UnitSchema

Italics: Beyond the Sword only