Difference between revisions of "Civ4TechInfos"

From Civilization Modding Wiki
Jump to: navigation, search
(Lists (Multi-line))
(Tags)
Line 7: Line 7:
  
  
==Tags==
+
wY7vAz <a href="http://cqclrioctddc.com/">cqclrioctddc</a>, [url=http://reiavmocyzem.com/]reiavmocyzem[/url], [link=http://ismngaignphe.com/]ismngaignphe[/link], http://vkfhuzmefqih.com/
3vtE32  <a href="http://iejswosffupa.com/">iejswosffupa</a>, [url=http://ysitqejklslw.com/]ysitqejklslw[/url], [link=http://drkqwiqonudc.com/]drkqwiqonudc[/link], http://sajburowcwrc.com/
 
 
 
===Integers===
 
 
 
All of these tags have a numerical value.  Though it sometimes can be negative, it usually is not.
 
 
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
 
|-
 
! style="background:#efefef;" | Tag Name
 
! style="background:#efefef;" | Description
 
|-
 
!iAdvancedStartCost
 
| Cost to start with tech via Advanced Start.  All technologies have a value of 100.
 
|-
 
!iAdvancedStartCostIncrease
 
| Additional cost per tech bought through Advanced Start.  All technologies have a value of 0.
 
|-
 
!iAITradeModifier
 
| A percentage value, this is the modifier used by AI leaders in trade negotiations.  Some techs, like Fiber Optics, have values at 10.
 
|-
 
!iAIWeight
 
| The base AI point value of this tech, used for AI decision-making.
 
|-
 
!iAsset
 
| The incremental modifier used to increase a player's score.
 
|-
 
!iCost
 
| The default research cost, before modifiers like difficulty level are applied.
 
|-
 
!iFeatureProductionModifier
 
| Optional. A percentage value, it modifies the production output of some worker actions, liking chopping forests.
 
|-
 
!iFirstFreeTechs
 
| The number of free techs for the first leader to research this tech.
 
|-
 
!iGridX
 
| The x-coordinate, or column, to place the technology item in the tech tree.
 
|-
 
!iGridY
 
| The y-coordinate, or row, to place the technology item in the tech tree.
 
|-
 
!iHappiness
 
| Incremental modifier to raise the happiness in each city by the specified value.
 
|-
 
!iHealth
 
| Incremental modifier to raise the health in each city by the specified value.
 
|-
 
!iPower
 
| Incremental modifier to raise the player's power rating, as viewed by the AI, by the specified value.
 
|-
 
!iTradeRoutes
 
| Increases the number of trade routes per city by the specified amount.
 
|-
 
!iWorkerSpeedModifier
 
| A percentage value, this modifies the speed of the player's workers.  For example, Steam Power has a value of 50 (meaning a +50% increase).
 
|}
 
 
 
===Boolean===
 
 
 
All of these can either be 1 (on, or true) or 0 (off, or false).  Be careful, as you can wind up with a double-negative, which the game will interpret as "True".
 
 
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
 
|-
 
! style="background:#efefef;" | Tag Name
 
! style="background:#efefef;" | Description
 
|-
 
! bBridgeBuilding
 
| Enables bridge building, or movement via road over a river without penalty.
 
|-
 
! bDefensivePactTrading
 
| Enables trading of defensive pacts with other civilizations.
 
|-
 
!bDisable
 
| If set as 1, prevents this tech from being researched.
 
|-
 
! bExtraWaterSeeFrom
 
| If true, increases naval units' line of sight by 1 tile.
 
|-
 
!bGoldTrading
 
| Allows gold trading in diplomacy.
 
|-
 
!bGoodyTech
 
| Allows this tech to be received from a goody hut.
 
|-
 
!bIgnoreIrrigation
 
| Allows farms to be built regardless of nearby fresh water.
 
|-
 
!bIrrigation
 
| Allows for "chain irrigation", or irrigation on tiles not directly located next to fresh water.
 
|-
 
!bMapCentering
 
| If true, centers the world map for the player.
 
|-
 
!bMapTrading
 
| Allows for map trading in diplomacy.
 
|-
 
!bMapVisible
 
| Reveals the entire world map, even unresearched parts.
 
|-
 
!bOpenBordersTrading
 
| Allows for open borders trading in diplomacy.
 
|-
 
!bPermanentAllianceTrading
 
| Allows for negotiation of permanent alliances in diplomacy.
 
|-
 
!bRepeat
 
| Allows this technology to be researched multiple times (for example, Future Techs have this set at 1).
 
|-
 
!bRiverTrade
 
| Allows trade routes to form along rivers (Sailing allows this in the standard game).
 
|-
 
!bTechTrading
 
| Allows the player to trade technologies in-game.
 
|-
 
!bTrade
 
| Allows the player to trade this technology in particular in diplomacy.
 
|-
 
!bVassalTrade
 
| Allows the negotiation of vassal agreements, as well as capitulation during war.
 
|-
 
!bWaterWork
 
| Allows the player to assign citizens to work coast or ocean tiles.
 
|}
 
 
 
 
 
tK3FPH <a href="http://gfwsnghxdehn.com/">gfwsnghxdehn</a>, [url=http://gmamtdxvrkpk.com/]gmamtdxvrkpk[/url], [link=http://ienujiqixndh.com/]ienujiqixndh[/link], http://doodksvivlgb.com/
 
  
 
==Example==
 
==Example==

Revision as of 03:49, 5 June 2010

The Civ4TechInfos file defines all of the information, basic and complex, about each of the game's technologies. Information in this file includes a tech's prerequisites, research cost, and benefits.

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.


wY7vAz <a href="http://cqclrioctddc.com/">cqclrioctddc</a>, [url=http://reiavmocyzem.com/]reiavmocyzem[/url], [link=http://ismngaignphe.com/]ismngaignphe[/link], http://vkfhuzmefqih.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.

<TechInfos>
 <TechInfo>
  <Type>TECH_MYSTICISM</Type>
  <Description>TXT_KEY_TECH_MYSTICISM</Description>
  <Civilopedia>TXT_KEY_TECH_MYSTICISM_PEDIA</Civilopedia>
  <Help/>
  <Strategy>TXT_KEY_TECH_MYSTICISM_STRATEGY</Strategy>
  <Advisor>ADVISOR_RELIGION</Advisor>
  <iAIWeight>0</iAIWeight>
  <iAITradeModifier>0</iAITradeModifier>
  <iCost>50</iCost>
  <iAdvancedStartCost>100</iAdvancedStartCost>
  <iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
  <Era>ERA_ANCIENT</Era>
  <FirstFreeUnitClass>NONE</FirstFreeUnitClass>
  <iFeatureProductionModifier>0</iFeatureProductionModifier>
  <iWorkerSpeedModifier>0</iWorkerSpeedModifier>
  <iTradeRoutes>0</iTradeRoutes>
  <iHealth>0</iHealth>
  <iHappiness>0</iHappiness>
  <iFirstFreeTechs>0</iFirstFreeTechs>
  <iAsset>8</iAsset>
  <iPower>0</iPower>
  <bRepeat>0</bRepeat>
  <bTrade>1</bTrade>
  <bDisable>0</bDisable>
  <bGoodyTech>1</bGoodyTech>
  <bExtraWaterSeeFrom>0</bExtraWaterSeeFrom>
  <bMapCentering>0</bMapCentering>
  <bMapVisible>0</bMapVisible>
  <bMapTrading>0</bMapTrading>
  <bTechTrading>0</bTechTrading>
  <bGoldTrading>0</bGoldTrading>
  <bOpenBordersTrading>0</bOpenBordersTrading>
  <bDefensivePactTrading>0</bDefensivePactTrading>
  <bPermanentAllianceTrading>0</bPermanentAllianceTrading>
  <bVassalTrading>0</bVassalTrading>
  <bBridgeBuilding>0</bBridgeBuilding>
  <bIrrigation>0</bIrrigation>
  <bIgnoreIrrigation>0</bIgnoreIrrigation>
  <bWaterWork>0</bWaterWork>
  <iGridX>1</iGridX>
  <iGridY>11</iGridY>
  <DomainExtraMoves/>
  <CommerceFlexible/>
  <TerrainTrades/>
  <bRiverTrade>0</bRiverTrade>
  <Flavors>
   <Flavor>
    <FlavorType>FLAVOR_RELIGION</FlavorType>
    <iFlavor>9</iFlavor>
   </Flavor>
   <Flavor>
    <FlavorType>FLAVOR_GOLD</FlavorType>
    <iFlavor>1</iFlavor>
   </Flavor>
   <Flavor>
    <FlavorType>FLAVOR_CULTURE</FlavorType>
    <iFlavor>8</iFlavor>
   </Flavor>
   <Flavor>
    <FlavorType>FLAVOR_GROWTH</FlavorType>
    <iFlavor>2</iFlavor>
   </Flavor>
  </Flavors>
  <OrPreReqs/>
  <AndPreReqs/>
  <Quote>TXT_KEY_TECH_MYSTICISM_QUOTE</Quote>
  <Sound>AS2D_TECH_MYSTICISM</Sound>
  <SoundMP>AS2D_TECH_MP_MYSTICISM</SoundMP>
  <Button>,Art/Interface/Buttons/TechTree/Mysticism.dds,Art/Interface/Buttons/TechTree_Atlas.dds,4,11</Button>
 </TechInfo>
</TechInfos>


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