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...')
 
No edit summary
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Interface''' file defines textures and 3D objects for various elements of the interface.
|[[Civ4ArtDefines_Improvement|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>
=Summary=
Gives tetxtures/3d stuff for various interface things.




=Single-Line Tags=
==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 || Object Name
|Type || Name of the object
|-
|-
|Path || location of file
|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>
{| align="left"
|[[Civ4ArtDefines_Leaderhead|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 20:12, 17 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>