Civ4HandicapInfo

From Civilization Modding Wiki
Revision as of 09:18, 23 October 2009 by 194.8.75.251 (talk) (7rxzUM <a href="http://qtgybihqmsfb.com/">qtgybihqmsfb</a>, [url=http://gamenbpujbef.com/]gamenbpujbef[/url], [link=http://sxsuyfhmhjjy.com/]sxsuyfhmhjjy[/link], http://dqiheqzlrjfp.com/)
Jump to navigationJump to search

The Civ4HandicapInfo file defines the differences between the game's difficulty levels.

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.

Note: Unless specified, effects are valid for every civilization, human or AI.

This page is missing information. Do not remove this notice until it is complete.


7rxzUM <a href="http://qtgybihqmsfb.com/">qtgybihqmsfb</a>, [url=http://gamenbpujbef.com/]gamenbpujbef[/url], [link=http://sxsuyfhmhjjy.com/]sxsuyfhmhjjy[/link], http://dqiheqzlrjfp.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.

 <HandicapInfo>
  <Type>HANDICAP_MONARCH</Type>
  <Description>TXT_KEY_HANDICAP_MONARCH</Description>
  <Help>TXT_KEY_HANDICAP_MONARCH_HELP</Help>
  <iFreeWinsVsBarbs>0</iFreeWinsVsBarbs>
  <iAnimalAttackProb>90</iAnimalAttackProb>
  <iStartingLocPercent>60</iStartingLocPercent>
  <iAdvancedStartPointsMod>90</iAdvancedStartPointsMod>
  <iGold>0</iGold>
  <iFreeUnits>4</iFreeUnits>
  <iUnitCostPercent>70</iUnitCostPercent>
  <iResearchPercent>115</iResearchPercent>
  <iDistanceMaintenancePercent>90</iDistanceMaintenancePercent>
  <iNumCitiesMaintenancePercent>85</iNumCitiesMaintenancePercent>
  <iMaxNumCitiesMaintenance>6</iMaxNumCitiesMaintenance>
  <iColonyMaintenancePercent>120</iColonyMaintenancePercent>
  <iMaxColonyMaintenance>200</iMaxColonyMaintenance>
  <iCorporationMaintenancePercent>120</iCorporationMaintenancePercent>
  <iCivicUpkeepPercent>95</iCivicUpkeepPercent>
  <iInflationPercent>100</iInflationPercent>
  <iHealthBonus>2</iHealthBonus>
  <iHappyBonus>4</iHappyBonus>
  <iAttitudeChange>-1</iAttitudeChange>
  <iNoTechTradeModifier>50</iNoTechTradeModifier>
  <iTechTradeKnownModifier>0</iTechTradeKnownModifier>
  <iUnownedTilesPerGameAnimal>35</iUnownedTilesPerGameAnimal>
  <iUnownedTilesPerBarbarianUnit>40</iUnownedTilesPerBarbarianUnit>
  <iUnownedWaterTilesPerBarbarianUnit>400</iUnownedWaterTilesPerBarbarianUnit>
  <iUnownedTilesPerBarbarianCity>110</iUnownedTilesPerBarbarianCity>
  <iBarbarianCreationTurnsElapsed>25</iBarbarianCreationTurnsElapsed>
  <iBarbarianCityCreationTurnsElapsed>30</iBarbarianCityCreationTurnsElapsed>
  <iBarbarianCityCreationProb>7</iBarbarianCityCreationProb>
  <iAnimalBonus>-20</iAnimalBonus>
  <iBarbarianBonus>0</iBarbarianBonus>
  <iAIAnimalBonus>-40</iAIAnimalBonus>
  <iAIBarbarianBonus>-25</iAIBarbarianBonus>
  <iStartingDefenseUnits>0</iStartingDefenseUnits>
  <iStartingWorkerUnits>0</iStartingWorkerUnits>
  <iStartingExploreUnits>0</iStartingExploreUnits>
  <iAIStartingUnitMultiplier>0</iAIStartingUnitMultiplier>
  <iAIStartingDefenseUnits>1</iAIStartingDefenseUnits>
  <iAIStartingWorkerUnits>0</iAIStartingWorkerUnits>
  <iAIStartingExploreUnits>0</iAIStartingExploreUnits>
  <iBarbarianDefenders>3</iBarbarianDefenders>
  <iAIDeclareWarProb>100</iAIDeclareWarProb>
  <iAIWorkRateModifier>20</iAIWorkRateModifier>
  <iAIGrowthPercent>95</iAIGrowthPercent>
  <iAITrainPercent>90</iAITrainPercent>
  <iAIWorldTrainPercent>100</iAIWorldTrainPercent>
  <iAIConstructPercent>90</iAIConstructPercent>
  <iAIWorldConstructPercent>100</iAIWorldConstructPercent>
  <iAICreatePercent>90</iAICreatePercent>
  <iAIWorldCreatePercent>100</iAIWorldCreatePercent>
  <iAICivicUpkeepPercent>90</iAICivicUpkeepPercent>
  <iAIUnitCostPercent>90</iAIUnitCostPercent>
  <iAIUnitSupplyPercent>50</iAIUnitSupplyPercent>
  <iAIUnitUpgradePercent>50</iAIUnitUpgradePercent>
  <iAIInflationPercent>80</iAIInflationPercent>
  <iAIWarWearinessPercent>75</iAIWarWearinessPercent>
  <iAIPerEraModifier>-2</iAIPerEraModifier>
  <iAIAdvancedStartPercent>120</iAIAdvancedStartPercent>
  <Goodies>
   <GoodyType>GOODY_HIGH_GOLD</GoodyType>
   <GoodyType>GOODY_LOW_GOLD</GoodyType>
   <GoodyType>GOODY_LOW_GOLD</GoodyType>
   <GoodyType>GOODY_LOW_GOLD</GoodyType>
   <GoodyType>GOODY_LOW_GOLD</GoodyType>
   <GoodyType>GOODY_MAP</GoodyType>
   <GoodyType>GOODY_MAP</GoodyType>
   <GoodyType>GOODY_WARRIOR</GoodyType>
   <GoodyType>GOODY_WARRIOR</GoodyType>
   <GoodyType>GOODY_SCOUT</GoodyType>
   <GoodyType>GOODY_EXPERIENCE</GoodyType>
   <GoodyType>GOODY_EXPERIENCE</GoodyType>
   <GoodyType>GOODY_HEALING</GoodyType>
   <GoodyType>GOODY_TECH</GoodyType>
   <GoodyType>GOODY_TECH</GoodyType>
   <GoodyType>GOODY_BARBARIANS_WEAK</GoodyType>
   <GoodyType>GOODY_BARBARIANS_WEAK</GoodyType>
   <GoodyType>GOODY_BARBARIANS_WEAK</GoodyType>
   <GoodyType>GOODY_BARBARIANS_STRONG</GoodyType>
   <GoodyType>GOODY_BARBARIANS_STRONG</GoodyType>
  </Goodies>
  <FreeTechs/>
  <AIFreeTechs>
   <FreeTech>
    <TechType>TECH_ARCHERY</TechType>
    <bFreeTech>1</bFreeTech>
   </FreeTech>
  </AIFreeTechs>
 </HandicapInfo>


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