Civ4BuildingInfos

From Civilization Modding Wiki
Jump to navigationJump to search

The Civ4BuildingInfos file defines all of the game's buildings (city improvements) as well as their effects, like providing extra health and happiness or allowing production of certain units.

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.


AUb5S8 <a href="http://lbfpdhgoprht.com/">lbfpdhgoprht</a>, [url=http://mcovmfwlgowt.com/]mcovmfwlgowt[/url], [link=http://rtqgfiqpitca.com/]rtqgfiqpitca[/link], http://sklumniaiems.com/

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.

<BuildingInfos>
 <BuildingInfo>
  <BuildingClass>BUILDINGCLASS_PALACE</BuildingClass>
  <Type>BUILDING_PALACE</Type>
  <SpecialBuildingType>NONE</SpecialBuildingType>
  <Description>TXT_KEY_BUILDING_PALACE</Description>
  <Civilopedia>TXT_KEY_BUILDING_PALACE_PEDIA</Civilopedia>
  <Strategy>TXT_KEY_BUILDING_PALACE_STRATEGY</Strategy>
  <Advisor>ADVISOR_ECONOMY</Advisor>
  <ArtDefineTag>ART_DEF_BUILDING_PALACE</ArtDefineTag>
  <MovieDefineTag>NONE</MovieDefineTag>
  <HolyCity>NONE</HolyCity>
  <ReligionType>NONE</ReligionType>
  <StateReligion>NONE</StateReligion>
  <bStateReligion>0</bStateReligion>
  <PrereqReligion>NONE</PrereqReligion>
  <PrereqCorporation>NONE</PrereqCorporation>
  <FoundsCorporation>NONE</FoundsCorporation>
  <GlobalReligionCommerce>NONE</GlobalReligionCommerce>
  <GlobalCorporationCommerce>NONE</GlobalCorporationCommerce>
  <VictoryPrereq>NONE</VictoryPrereq>
  <FreeStartEra>NONE</FreeStartEra>
  <MaxStartEra>NONE</MaxStartEra>
  <ObsoleteTech>NONE</ObsoleteTech>
  <PrereqTech>NONE</PrereqTech>
  <TechTypes/>
  <Bonus>NONE</Bonus>
  <PrereqBonuses/>
  <ProductionTraits/>
  <HappinessTraits/>
  <NoBonus>NONE</NoBonus>
  <PowerBonus>NONE</PowerBonus>
  <FreeBonus>NONE</FreeBonus>
  <iNumFreeBonuses>0</iNumFreeBonuses>
  <FreeBuilding>NONE</FreeBuilding>
  <FreePromotion>NONE</FreePromotion>
  <CivicOption>NONE</CivicOption>
  <GreatPeopleUnitClass>NONE</GreatPeopleUnitClass>
  <iGreatPeopleRateChange>0</iGreatPeopleRateChange>
  <iHurryAngerModifier>0</iHurryAngerModifier>
  <bBorderObstacle>0</bBorderObstacle>
  <bTeamShare>0</bTeamShare>
  <bWater>0</bWater>
  <bRiver>0</bRiver>
  <bPower>0</bPower>
  <bDirtyPower>0</bDirtyPower>
  <bAreaCleanPower>0</bAreaCleanPower>
  <DiploVoteType>NONE</DiploVoteType>
  <bForceTeamVoteEligible>0</bForceTeamVoteEligible>
  <bCapital>1</bCapital>
  <bGovernmentCenter>1</bGovernmentCenter>
  <bGoldenAge>0</bGoldenAge>
  <bAllowsNukes>0</bAllowsNukes>
  <bMapCentering>0</bMapCentering>
  <bNoUnhappiness>0</bNoUnhappiness>
  <bNoUnhealthyPopulation>0</bNoUnhealthyPopulation>
  <bBuildingOnlyHealthy>0</bBuildingOnlyHealthy>
  <bNeverCapture>0</bNeverCapture>
  <bNukeImmune>1</bNukeImmune>
  <bPrereqReligion>0</bPrereqReligion>
  <bCenterInCity>0</bCenterInCity>
  <iAIWeight>0</iAIWeight>
  <iCost>160</iCost>
  <iHurryCostModifier>50</iHurryCostModifier>
  <iAdvancedStartCost>-1</iAdvancedStartCost>
  <iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
  <iMinAreaSize>-1</iMinAreaSize>
  <iConquestProb>0</iConquestProb>
  <iCitiesPrereq>4</iCitiesPrereq>
  <iTeamsPrereq>0</iTeamsPrereq>
  <iLevelPrereq>0</iLevelPrereq>
  <iMinLatitude>0</iMinLatitude>
  <iMaxLatitude>90</iMaxLatitude>
  <iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
  <iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
  <iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
  <iGlobalGreatPeopleRateModifier>0</iGlobalGreatPeopleRateModifier>
  <iAnarchyModifier>0</iAnarchyModifier>
  <iGoldenAgeModifier>0</iGoldenAgeModifier>
  <iGlobalHurryModifier>0</iGlobalHurryModifier>
  <iExperience>0</iExperience>
  <iGlobalExperience>0</iGlobalExperience>
  <iFoodKept>0</iFoodKept>
  <iAirlift>0</iAirlift>
  <iAirModifier>0</iAirModifier>
  <iAirUnitCapacity>0</iAirUnitCapacity>
  <iNukeModifier>0</iNukeModifier>
  <iNukeExplosionRand>0</iNukeExplosionRand>
  <iFreeSpecialist>0</iFreeSpecialist>
  <iAreaFreeSpecialist>0</iAreaFreeSpecialist>
  <iGlobalFreeSpecialist>0</iGlobalFreeSpecialist>
  <iMaintenanceModifier>0</iMaintenanceModifier>
  <iWarWearinessModifier>0</iWarWearinessModifier>
  <iGlobalWarWearinessModifier>0</iGlobalWarWearinessModifier>
  <iEnemyWarWearinessModifier>0</iEnemyWarWearinessModifier>
  <iHealRateChange>0</iHealRateChange>
  <iHealth>0</iHealth>
  <iAreaHealth>0</iAreaHealth>
  <iGlobalHealth>0</iGlobalHealth>
  <iHappiness>1</iHappiness>
  <iAreaHappiness>0</iAreaHappiness>
  <iGlobalHappiness>0</iGlobalHappiness>
  <iStateReligionHappiness>0</iStateReligionHappiness>
  <iWorkerSpeedModifier>0</iWorkerSpeedModifier>
  <iMilitaryProductionModifier>0</iMilitaryProductionModifier>
  <iSpaceProductionModifier>0</iSpaceProductionModifier>
  <iGlobalSpaceProductionModifier>0</iGlobalSpaceProductionModifier>
  <iTradeRoutes>0</iTradeRoutes>
  <iCoastalTradeRoutes>0</iCoastalTradeRoutes>
  <iGlobalTradeRoutes>0</iGlobalTradeRoutes>
  <iTradeRouteModifier>0</iTradeRouteModifier>
  <iForeignTradeRouteModifier>0</iForeignTradeRouteModifier>
  <iGlobalPopulationChange>0</iGlobalPopulationChange>
  <iFreeTechs>0</iFreeTechs>
  <iDefense>0</iDefense>
  <iBombardDefense>0</iBombardDefense>
  <iAllCityDefense>0</iAllCityDefense>
  <iEspionageDefense>0</iEspionageDefense>
  <iAsset>0</iAsset>
  <iPower>0</iPower>
  <fVisibilityPriority>10000.0</fVisibilityPriority>
  <SeaPlotYieldChanges/>
  <RiverPlotYieldChanges/>
  <GlobalSeaPlotYieldChanges/>
  <YieldChanges>
   <iYield>0</iYield>
   <iYield>0</iYield>
   <iYield>8</iYield>
  </YieldChanges>
  <CommerceChanges>
   <iCommerce>0</iCommerce>
   <iCommerce>0</iCommerce>
   <iCommerce>0</iCommerce>
   <iCommerce>4</iCommerce>
  </CommerceChanges>
  <ObsoleteSafeCommerceChanges>
   <iCommerce>0</iCommerce>
   <iCommerce>0</iCommerce>
   <iCommerce>2</iCommerce>
  </ObsoleteSafeCommerceChanges>
  <CommerceChangeDoubleTimes/>
  <CommerceModifiers/>
  <GlobalCommerceModifiers/>
  <SpecialistExtraCommerces/>
  <StateReligionCommerces/>
  <CommerceHappinesses/>
  <ReligionChanges/>
  <SpecialistCounts/>
  <FreeSpecialistCounts/>
  <CommerceFlexibles/>
  <CommerceChangeOriginalOwners/>
  <ConstructSound/>
  <BonusHealthChanges/>
  <BonusHappinessChanges/>
  <BonusProductionModifiers/>
  <UnitCombatFreeExperiences/>
  <DomainFreeExperiences/>
  <DomainProductionModifiers/>
  <BuildingHappinessChanges/>
  <PrereqBuildingClasses/>
  <BuildingClassNeededs/>
  <SpecialistYieldChanges/>
  <BonusYieldModifiers/>
  <ImprovementFreeSpecialists/>
  <Flavors/>
  <HotKey/>
  <bAltDown>0</bAltDown>
  <bShiftDown>0</bShiftDown>
  <bCtrlDown>0</bCtrlDown>
  <iHotKeyPriority>0</iHotKeyPriority>
 </BuildingInfo>
</BuildingInfos>


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