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 |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
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. | |||
<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> | ||
==Tags== | |||
= | |||
===Text Tags=== | ===Text Tags=== | ||
{| border="1" cellpadding=" | {| 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, as defined in CIV4LeaderHeadInfos.xml | |||
|- | |- | ||
!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. | |||
|- | |- | ||
!KFM | |||
| The location of the KFM file. | |||
|- | |- | ||
!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> | |||
|} | |} | ||
=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> | ||
{ | |||
{{Civ4_XML_Files}} | |||
Latest revision as of 18:11, 24 April 2010
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, as defined 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>