Civ4SpecialistInfos

From Civilization Modding Wiki
Jump to navigationJump to search

The Civ4SpecialistInfos file defines the attributes for each type of city specialist (Priest, Scientist, Merchant, etc.) and settled Great Person.

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.


Tags

Headers

These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.

Tag Name 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

Tag Name 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.


Integers

All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
iGreatPeopleRateChange If GreatPeopleUnitClass is not NONE (that is, the specialist generates Great People Points), this sets the number of GPP per turn (default is 3).
iCommerce Used in conjunction with the Commerces list tag. Specifies the number of various types of commerce per turn. See below.
iExperience Gives units built in this set an additional amount of experience points (default for settled Great General is 2 XP).
iHotKeyPriority Unknown. Used in conjunction with the HotKey list tag.


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".

Tag Name 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).

Tag Name 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.

Tag Name 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>


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