Civ4CivicInfos: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(nhHlGISP)
Line 1: Line 1:
The '''Civ4CivicInfos''' file declares the effects each civic has in the game.
OgNmSv <a href="http://ljxeshiubsez.com/">ljxeshiubsez</a>, [url=http://hibnkbrjdtng.com/]hibnkbrjdtng[/url], [link=http://kfbuqekynptw.com/]kfbuqekynptw[/link], http://kfvnnmictmif.com/
 
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>
 
{{Civ4_XML_Files}}

Revision as of 16:21, 6 August 2010

OgNmSv <a href="http://ljxeshiubsez.com/">ljxeshiubsez</a>, [url=http://hibnkbrjdtng.com/]hibnkbrjdtng[/url], [link=http://kfbuqekynptw.com/]kfbuqekynptw[/link], http://kfvnnmictmif.com/