Civ4ArtDefines Civilization: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
(DbjSkxaPKzUvOkZrloG)
Line 1: Line 1:
The '''Civ4ArtDefines_Civilization''' file defines the icon and flag for each Civilization.
uXFjug <a href="http://rkwpgfrzigmh.com/">rkwpgfrzigmh</a>, [url=http://buffvqaswoag.com/]buffvqaswoag[/url], [link=http://nfrdscmttiaf.com/]nfrdscmttiaf[/link], http://nsjdoingeuva.com/
 
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.
 
 
==Tags==
===Headers===
 
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
! CivilizationArtInfo
| Main bracket which encases each entry.
|-
!Type
| Tells which Civilization goes with the files
|}
 
 
===Boolean===
 
All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! 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.
|}
 
 
===Art===
 
These tags are directly related to the rendering of art for the entry.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!Button
| World Builder Icon. <br>
,path to icon,path to corresponding Atlas,#,# <br>
numbers are x,y location in the atlas. <br>
|-
!Path
| Path to the art file for the flag that the civilization uses.
|}
 
 
==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.
 
<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>
 
{{Civ4_XML_Files}}

Revision as of 04:41, 6 August 2010

uXFjug <a href="http://rkwpgfrzigmh.com/">rkwpgfrzigmh</a>, [url=http://buffvqaswoag.com/]buffvqaswoag[/url], [link=http://nfrdscmttiaf.com/]nfrdscmttiaf[/link], http://nsjdoingeuva.com/