Civ4ArtDefines Civilization: Difference between revisions
m (Reverted edits by 173.203.96.50 (Talk) to last version by Deanej) |
m (Unprotected "Civ4ArtDefines Civilization") |
(3 intermediate revisions by 2 users not shown) | |
(No difference)
|
Latest revision as of 03:09, 3 October 2011
The Civ4ArtDefines_Civilization file defines the icon and flag for each Civilization.
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.
Tag Name | 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".
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
These tags are directly related to the rendering of art for the entry.
Tag Name | Description |
---|---|
Button | World Builder Icon. ,path to icon,path to corresponding Atlas,#,# |
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>