Difference between revisions of "Civ4TechInfos"

From Civilization Modding Wiki
Jump to: navigation, search
(Integers)
(Tags)
Line 7: Line 7:
  
  
==Tags==
+
  http://www.treatanxietydisorder.net/ xanax 551909 http://fimbresforcouncil.com/ auto insurance ijitn http://meridiapills.com/ meridia >:(( http://www.librosyviajes.com/metoprolol.html metoprolol =[
  http://librosyviajes.com/cialis.html cialis %-D http://www.meridiapills.com/ meridia 741598 http://librosyviajes.com/metoprolol.html metoprolol 79950 http://good-bye-anxiety.com/ xanax 4027
 
 
 
===Text===
 
 
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
 
|-
 
! style="background:#efefef;" | Tag Name
 
! style="background:#efefef;" | Description
 
|-
 
! Advisor
 
| The category of this text, used in-game to provide suggestions of what to research.  For example, Religion, Culture, Growth, or Military, among others.
 
|-
 
! Button
 
| A comma separated field that lists four things: the path of the normal tech image, the path of the smaller image for this tech, and then x-y grid coordinates of the smaller image.  The path of the normal image ''must'' be written.
 
|-
 
! Civilopedia
 
| The text for a tech's civilopedia entry.  It may reference a text file if it starts with TXT_KEY_.
 
|-
 
! Description
 
| The in-game label for a tech.  It may reference a text file if it starts with TXT_KEY_.
 
|-
 
! Era
 
| The pre-defined era of technologies that this technology belongs to (e.g. Ancient, Classical, Medieval, etc.).
 
|-
 
! FirstFreeUnitClass
 
| Provides the first player to research this technology a unit of the specified unit class.
 
|-
 
! Help
 
| This defines the help tips given for this technology upon mouseover.  It may reference a text file if it starts with TXT_KEY_.
 
|-
 
! Quote
 
| The quote displayed in the civilopedia for this tech.  It may reference a text file if it starts with TXT_KEY_.
 
|-
 
! Sound
 
| Reference to the sound played when this tech is researched.
 
|-
 
! SoundMP
 
| Reference to the sound played when this tech is researched in a multiplayer game.
 
|-
 
! Strategy
 
| This contains the strategy text for a specific technology.  It may reference a text file if it starts with TXT_KEY_.
 
|-
 
! Type
 
| A unique internal label assigned to this tech.  This is the first tag for each specific tech.
 
|}
 
 
 
 
 
http://club-lucha-universitario.com/ phentermine zdzx http://www.librosyviajes.com/cialis.html cialis %[[ http://treatanxietydisorder.net/ xanax >:) http://www.good-bye-anxiety.com/ xanax 3847
 
 
 
===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.
 
|}
 
 
 
 
 
===Lists (Multi-line)===
 
 
 
All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).
 
 
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
 
|-
 
! style="background:#efefef;" | Tag Name
 
! style="background:#efefef;" | Description
 
|-
 
!AndPreReqs
 
| This lists all technologies that ''must'' be researched before this technology.  In-game, it creates an icon in the top right of the tech's button on the tech tree.
 
|-
 
!DomainExtraMoves
 
| Gives a specified number of movement points to units of a certain type.  For example, Refrigeration gives all naval units +1 movement.
 
|-
 
!CommerceFlexible
 
| Allows for the adjustment of the specified commerce slider (science, culture, etc.).
 
|-
 
!Flavors
 
| Modifies AI point weighting based on an assigned flavor (potential flavors include Production, Science, Growth, and Military, among others).
 
|-
 
!OrPreReqs
 
| Used to draw the connecting lines on the tech tree, this lists all of the "OR" prerequisites: that is, you must discover at least one of these technologies before you can research the tech in question.
 
|-
 
!SpecialBuilding
 
| Unknown.  This is defined in the schema file, but not listed in the Civ4TechInfos file itself.
 
|-
 
!TerrainTrades
 
| Allows trade across the specified terrain types.  For example, Sailing allows trade on coastal tiles.
 
|}
 
 
 
  
 
==Example==
 
==Example==

Revision as of 10:17, 19 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.


http://www.treatanxietydisorder.net/ xanax 551909 http://fimbresforcouncil.com/ auto insurance ijitn http://meridiapills.com/ meridia >:(( http://www.librosyviajes.com/metoprolol.html metoprolol =[

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