Civ4ArtDefines Interface: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with '{| align="left" |Previous article |} {|align="right" |Back to XML Reference |}<br><br> =Summary= Gives tetxtures/3d stuff fo...') |
Ginger Ale (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The '''Civ4ArtDefines_Interface''' file defines textures and 3D objects for various elements of the interface. | |||
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== | ||
===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 || | |Type || Name of the object | ||
|- | |- | ||
|Path || | |Path || Location of the image file | ||
|} | |} | ||
=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. | |||
<InterfaceArtInfo> | <InterfaceArtInfo> | ||
<Type>ARROW_HEAD</Type> | <Type>ARROW_HEAD</Type> | ||
<Path>art/interface/screens/TechTree/Head.dds</Path> | <Path>art/interface/screens/TechTree/Head.dds</Path> | ||
</InterfaceArtInfo> | </InterfaceArtInfo> | ||
{ | |||
{{Civ4_XML_Files}} | |||
Latest revision as of 01:22, 26 May 2009
The Civ4ArtDefines_Interface file defines textures and 3D objects for various elements of the interface.
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
Text Tags
Tag Name | Description |
---|---|
Type | Name of the object |
Path | Location of the image file |
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.
<InterfaceArtInfo> <Type>ARROW_HEAD</Type> <Path>art/interface/screens/TechTree/Head.dds</Path> </InterfaceArtInfo>