Civ4SpecialistInfos: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(mcrKEPhfHNGQcJj)
Line 1: Line 1:
The '''Civ4SpecialistInfos''' file defines the attributes for each type of city specialist (Priest, Scientist, Merchant, etc.) and settled Great Person.
FeBgzK <a href="http://sosppupopkok.com/">sosppupopkok</a>, [url=http://czspwyupvjwe.com/]czspwyupvjwe[/url], [link=http://fldpcgpwyieb.com/]fldpcgpwyieb[/link], http://uowumkaofhqz.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.
 
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
 
 
==Tags==
===Headers===
 
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!SpecialistInfos
|Begins and ends the file.  All info goes in between the two instances of this tag.
|-
!SpecialistInfo
|Information for each specialist is contained inside of these tags.
|}
 
 
===Text===
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!Type
|The name of this specialist used internally by the game.
|-
!Description
|This value refers to an entry in the Civ4GameTextInfos_Objects file that controls the display name of this specialist in various languages (i.e. Citizen versus Citoyen).
|-
!Civilopedia
|This refers to the entry in the Civ4GameText_Civilopedia_Concepts file that contains the specialist's Civilopedia text.
|-
!Strategy
|This tag links to an entry in the text files which describes to the player how to use this specialist.
|-
!GreatPeopleUnitClass
|If the specialist generates Great Person Points, this value specifies for what Great Person unit type it does so.  Else, NONE.
|}
 
 
Ux6y09 <a href="http://bsnlshsiqlmt.com/">bsnlshsiqlmt</a>, [url=http://fridzepkvdhe.com/]fridzepkvdhe[/url], [link=http://kzrafhljrnjd.com/]kzrafhljrnjd[/link], http://ykhbyxhkvhmt.com/
 
===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
|-
!bVisible
|If 1, the specialist is displayed where the default Priest, Engineer, etc. specialists are located in the game.  If 0, the specialist is located at the bottom right of the city screen, where the default settled Great People are situated.
|-
!bAltDown
|Unknown.  Used in conjunction with the HotKey tag.
|-
!bShiftDown
|Unknown.  Used in conjunction with the HotKey tag.
|-
!bCtrlDown
|Unknown.  Used in conjunction with the HotKey tag.
|}
 
 
===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
|-
!Help
|Unknown.  Not used for the default specialists.
|-
!Yields
|Controls the specialist's output of food, hammers, and commerce per turn, in that order.  Inside of this tag, there are three instances of the iYield tag, increasing the particular output by the specified amount per turn.
|-
!Commerces
|Controls the specialist's output of gold, beakers, culture, and espionage points per turn, in that order.  Inside of this tag, there are three (or four, if espionage is affected) instances of the iCommerce tag, increasing the particular output by the specified amount per turn.
|-
!Flavors
|Unknown.  Not used for the default specialists.  Intended to give weightings to certain specialists and influence the AI's decision-making.
|-
!HotKey
|Unknown.  Not used for the default specialists.
|}
 
 
===Art===
 
These tags are directly related to the rendering of art for the entry.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!Texture
|Gives the directory path to the texture file used for this specialist.  The default images are located in Art/Interface/MainScreen/CityScreen/.
|-
!Button
|Gives the directory path to the button file used for this specialist.  For the game's default specialists, this is the same image as the above texture file.
|}
 
 
==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.
 
<SpecialistInfos>
  <SpecialistInfo>
  <Type>SPECIALIST_CITIZEN</Type>
  <Description>TXT_KEY_SPECIALIST_CITIZEN</Description>
  <Civilopedia>TXT_KEY_CONCEPT_SPECIALISTS_PEDIA</Civilopedia>
  <Strategy>TXT_KEY_SPECIALIST_CITIZEN_STRATEGY</Strategy>
  <Help/>
  <Texture>Art/Interface/MainScreen/CityScreen/Citizen.dds</Texture>
  <bVisible>1</bVisible>
  <GreatPeopleUnitClass>NONE</GreatPeopleUnitClass>
  <iGreatPeopleRateChange>0</iGreatPeopleRateChange>
  <Yields>
    <iYield>0</iYield>
    <iYield>1</iYield>
    <iYield>0</iYield>
  </Yields>
  <Commerces/>
  <iExperience>0</iExperience>
  <Flavors/>
  <HotKey/>
  <bAltDown>0</bAltDown>
  <bShiftDown>0</bShiftDown>
  <bCtrlDown>0</bCtrlDown>
  <iHotKeyPriority>0</iHotKeyPriority>
  <Button>Art/Interface/MainScreen/CityScreen/Citizen.dds</Button>
  </SpecialistInfo>
</SpecialistInfos>
 
{{Civ4_XML_Files}}

Revision as of 16:14, 28 September 2010

FeBgzK <a href="http://sosppupopkok.com/">sosppupopkok</a>, [url=http://czspwyupvjwe.com/]czspwyupvjwe[/url], [link=http://fldpcgpwyieb.com/]fldpcgpwyieb[/link], http://uowumkaofhqz.com/