Civ4ArtDefines Leaderhead: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(1st entry of data, copied from "civ4.wikidot.com".)
 
No edit summary
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Leaderhead''' file defines the graphics used for the leaders in the game.
|[[Civ4ArtDefines_Interface|Previous article]]
 
|}
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.
{|align="right"
 
|[[Civ4 XML Reference|Back to XML Reference]]
|}<br><br>
<font color=red>This page is missing information.
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
Do not remove this notice until it is complete.</font>
=Summary=
Defines the graphics used for the Leaders in the game.




=Single Line Tags=
==Tags==
===Text Tags===
===Text Tags===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|Type || The leader the tag is for. Defined in CIV4LeaderHeadInfos.xml
!Type
| The leader the tag is for, aefined in CIV4LeaderHeadInfos.xml
|-
|-
|Button || Has two entries separated with comma. Second entry defines the art used for the button (includes Civilopedia button) and the 'circle-above-map' arrow. The two numbers following the second entry are the position of the button in the DDS (think Unit32.pcx back in Civ-3). First number is the column, second is the line. Unsure what exactly the first entry does: it links to the same button but doesn't seem to be enough by itself.
!Button
| Has two entries separated with comma. <font color=red>Unsure what exactly the first entry does: it links to the same button but doesn't seem to be enough by itself</font>.  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.
!NIF
| Locations of the NIF file.
|-
|-
|KFM || The location of the KFM file.
!KFM
| The location of the KFM file.
|-
|-
|NoShaderNIF || Locations of a NIF file with no shaders - <font color=red>unsure??</font>
!NoShaderNIF
| Locations of a NIF file with no shaders - <font color=red>unsure??</font>
|-
|-
|BackgroundKFM || The location of the KFM file for the background - <font color=red>unsure??</font>
!BackgroundKFM
| The location of the KFM file for the background - <font color=red>unsure??</font>
|}
|}




=Example=
==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>
  <LeaderheadArtInfo>
     <Type>ART_DEF_LEADER_BARBARIAN</Type>
     <Type>ART_DEF_LEADER_BARBARIAN</Type>
Line 42: Line 46:
     <BackgroundKFM>art/LeaderHeads/Sid/sid_BG.kfm</BackgroundKFM>
     <BackgroundKFM>art/LeaderHeads/Sid/sid_BG.kfm</BackgroundKFM>
  </LeaderheadArtInfo>
  </LeaderheadArtInfo>
{| align="left"
|[[Civ4ArtDefines_Misc|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 20:20, 17 May 2009

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>