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:
{| 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.


 
==Tags==
=Single Line 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, as defined 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]]
{{Civ4_XML_Files}}
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

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>


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