Civ4ArtDefines Leaderhead

From Civilization Modding Wiki
Revision as of 20:20, 17 May 2009 by Ginger Ale (talk | contribs)
Jump to navigationJump to search

The Civ4ArtDefines_Leaderhead file defines the graphics used for the leaders in the game.

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

Text Tags

Tag Name Description
Type The leader the tag is for, aefined in CIV4LeaderHeadInfos.xml
Button Has two entries separated with comma. Unsure what exactly the first entry does: it links to the same button but doesn't seem to be enough by itself. Second entry defines the art used for the button (includes the Civilopedia button) and the circular arrow indicator used on the map screen. The two numbers following the second entry are the position of the button in the DDS (think of the Unit32.pcx file back in Civ3): first number is the column, second is the line.
NIF Locations of the NIF file.
KFM The location of the KFM file.
NoShaderNIF Locations of a NIF file with no shaders - unsure??
BackgroundKFM The location of the KFM file for the background - unsure??


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.

<LeaderheadArtInfo>
   <Type>ART_DEF_LEADER_BARBARIAN</Type>
   <Button>,Art/interface/LeaderHeads/Btn_LH_Mongol_Genghis.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,6,12</Button>
   <NIF>art/LeaderHeads/Sid/sid.nif</NIF>
   <KFM>art/LeaderHeads/Sid/sid.kfm</KFM>
   <NoShaderNIF>art/LeaderHeads/Sid/sid_noshader.nif</NoShaderNIF>
   <BackgroundKFM>art/LeaderHeads/Sid/sid_BG.kfm</BackgroundKFM>
</LeaderheadArtInfo>