Civ4ArtDefines Civilization: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align="left"
This file defines the icon and flag for each Civilization.
|[[Civ4ArtDefines_Building|Previous article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}<br><br>
=Summary=
Defines the icon and flag for each Civilization.




=Single Line Tags=
==Tags==
===Text Tags===
===Text===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|Type || Tells which Civilization goes with the files
! CivilizationArtInfo
|-
| Main bracket which encases each entry.
|Button || World Builder Icon. <br>
,path to icon,path to corrosponing Atlas,#,# <br>
numbers are x,y location in the atlas. <br>
|-
|-
|Path || Path to the Flag that the civilization uses
!Type
| Tells which Civilization goes with the files
|}
|}




===Boolean===
===Boolean===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|bWhiteFlag || Defines whether or not a flag will have a white background; if set to 0 it will use the civ's primary and secondary colors.
!bWhiteFlag
| Defines whether or not a flag will have a white background; if set to 0 it will use the civ's primary and secondary colors.
|}
|}




=Example=
===Art===
{| border="1" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!Button
| World Builder Icon. <br>
,path to icon,path to corrosponing Atlas,#,# <br>
numbers are x,y location in the atlas. <br>
|-
!Path
| Path to the artfile for the flag that the civilization uses.
|}
 


==Example==
  <CivilizationArtInfo>
  <CivilizationArtInfo>
     <Type>ART_DEF_CIVILIZATION_AMERICA</Type>
     <Type>ART_DEF_CIVILIZATION_AMERICA</Type>
Line 44: Line 51:
     <bWhiteFlag>0</bWhiteFlag>
     <bWhiteFlag>0</bWhiteFlag>
  </CivilizationArtInfo>
  </CivilizationArtInfo>
{| align="left"
|[[Civ4ArtDefines_Feature|Next article]]
|}
{|align="right"
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|[[Civ4 XML Reference|Back to XML Reference]]
|}
|}

Revision as of 20:58, 14 May 2009

This file defines the icon and flag for each Civilization.


Tags

Text

Tag Name Description
CivilizationArtInfo Main bracket which encases each entry.
Type Tells which Civilization goes with the files


Boolean

Tag Name Description
bWhiteFlag Defines whether or not a flag will have a white background; if set to 0 it will use the civ's primary and secondary colors.


Art

Tag Name Description
Button World Builder Icon.

,path to icon,path to corrosponing Atlas,#,#
numbers are x,y location in the atlas.

Path Path to the artfile for the flag that the civilization uses.


Example

<CivilizationArtInfo>
   <Type>ART_DEF_CIVILIZATION_AMERICA</Type>
   <Button>,Art/Interface/Buttons/Civilizations/America.dds,Art/Interface/Button/Civics_Civilizations_Religions_Atlas.dds,1,5</Button>
   <Path>Art/Interface/TeamColor/FlagDECAL_Star.dds</Path>
   <bWhiteFlag>0</bWhiteFlag>
</CivilizationArtInfo>
Back to XML Reference