Civ4CivicInfos

From Civilization Modding Wiki
Jump to navigationJump to search

The Civ4CivicInfos file declares the effects each civic has in the game.

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.


6CgkgI <a href="http://iyrvxnrpiujg.com/">iyrvxnrpiujg</a>, [url=http://jkwtnlxefmqe.com/]jkwtnlxefmqe[/url], [link=http://wsrfqeriwwep.com/]wsrfqeriwwep[/link], http://oxmslxotzoyn.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.

 <CivicInfo>
  <CivicOptionType>CIVICOPTION_ECONOMY</CivicOptionType>
  <Type>CIVIC_ENVIRONMENTALISM</Type>
  <Description>TXT_KEY_CIVIC_ENVIRONMENTALISM</Description>
  <Civilopedia>TXT_KEY_CIVIC_ENVIRONMENTALISM_PEDIA</Civilopedia>
  <Strategy>TXT_KEY_CIVIC_ENVIRONMENTALISM_STRATEGY</Strategy>
  <Button>,Art/Interface/Buttons/Civics/Environmentalism.dds,Art/Interface/Buttons/Civics_Civilizations_Religions_Atlas.dds,7,1</Button>
  <TechPrereq>TECH_MEDICINE</TechPrereq>
  <iAnarchyLength>1</iAnarchyLength>
  <Upkeep>UPKEEP_MEDIUM</Upkeep>
  <iAIWeight>0</iAIWeight>
  <iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
  <iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
  <iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
  <iStateReligionGreatPeopleRateModifier>0</iStateReligionGreatPeopleRateModifier>
  <iDistanceMaintenanceModifier>0</iDistanceMaintenanceModifier>
  <iNumCitiesMaintenanceModifier>0</iNumCitiesMaintenanceModifier>
  <iCorporationMaintenanceModifier>25</iCorporationMaintenanceModifier>
  <iExtraHealth>6</iExtraHealth>
  <iFreeExperience>0</iFreeExperience>
  <iWorkerSpeedModifier>0</iWorkerSpeedModifier>
  <iImprovementUpgradeRateModifier>0</iImprovementUpgradeRateModifier>
  <iMilitaryProductionModifier>0</iMilitaryProductionModifier>
  <iBaseFreeUnits>0</iBaseFreeUnits>
  <iBaseFreeMilitaryUnits>0</iBaseFreeMilitaryUnits>
  <iFreeUnitsPopulationPercent>0</iFreeUnitsPopulationPercent>
  <iFreeMilitaryUnitsPopulationPercent>0</iFreeMilitaryUnitsPopulationPercent>
  <iGoldPerUnit>0</iGoldPerUnit>
  <iGoldPerMilitaryUnit>0</iGoldPerMilitaryUnit>
  <iHappyPerMilitaryUnit>0</iHappyPerMilitaryUnit>
  <bMilitaryFoodProduction>0</bMilitaryFoodProduction>
  <iMaxConscript>0</iMaxConscript>
  <bNoUnhealthyPopulation>0</bNoUnhealthyPopulation>
  <iExpInBorderModifier>0</iExpInBorderModifier>
  <bBuildingOnlyHealthy>0</bBuildingOnlyHealthy>
  <iLargestCityHappiness>0</iLargestCityHappiness>
  <iWarWearinessModifier>0</iWarWearinessModifier>
  <iFreeSpecialist>0</iFreeSpecialist>
  <iTradeRoutes>0</iTradeRoutes>
  <bNoForeignTrade>0</bNoForeignTrade>
  <bNoCorporations>0</bNoCorporations>
  <bNoForeignCorporations>0</bNoForeignCorporations>
  <iCivicPercentAnger>0</iCivicPercentAnger>
  <bStateReligion>0</bStateReligion>
  <bNoNonStateReligionSpread>0</bNoNonStateReligionSpread>
  <iStateReligionHappiness>0</iStateReligionHappiness>
  <iNonStateReligionHappiness>0</iNonStateReligionHappiness>
  <iStateReligionUnitProductionModifier>0</iStateReligionUnitProductionModifier>
  <iStateReligionBuildingProductionModifier>0</iStateReligionBuildingProductionModifier>
  <iStateReligionFreeExperience>0</iStateReligionFreeExperience>
  <YieldModifiers/>
  <CapitalYieldModifiers/>
  <TradeYieldModifiers/>
  <CommerceModifiers/>
  <CapitalCommerceModifiers/>
  <SpecialistExtraCommerces/>
  <Hurrys/>
  <SpecialBuildingNotRequireds/>
  <SpecialistValids/>
  <BuildingHappinessChanges/>
  <BuildingHealthChanges>
   <BuildingHealthChange>
    <BuildingType>BUILDINGCLASS_PUBLIC_TRANSPORTATION</BuildingType>
    <iHealthChange>2</iHealthChange>
   </BuildingHealthChange>
  </BuildingHealthChanges>
  <FeatureHappinessChanges/>
  <ImprovementYieldChanges>
   <ImprovementYieldChange>
    <ImprovementType>IMPROVEMENT_FOREST_PRESERVE</ImprovementType>
    <ImprovementYields>
     <iYield>0</iYield>
     <iYield>0</iYield>
     <iYield>2</iYield>
    </ImprovementYields>
   </ImprovementYieldChange>
   <ImprovementYieldChange>
    <ImprovementType>IMPROVEMENT_WINDMILL</ImprovementType>
    <ImprovementYields>
     <iYield>0</iYield>
     <iYield>0</iYield>
     <iYield>2</iYield>
    </ImprovementYields>
   </ImprovementYieldChange>
  </ImprovementYieldChanges>
  <WeLoveTheKing/>
 </CivicInfo>


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