Civ4ArtDefines Misc: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(1st entry of data, copied from "civ4.wikidot.com".)
 
No edit summary
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Misc''' file declares art objects and properties for various elements of the overhead map, including aqueducts, cloud cover, icecaps, mountains and hills in the global view, unit selectors, flags, and the highlighting and path lines, among others.
|[[Civ4ArtDefines_Leaderhead|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>
<font color=red>This page is missing information.
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
Do not remove this notice until it is complete.</font>
=Summary=
This file declares art files, and art properties for various elements of the overhead map, including aqueducts, cloud cover, the icecaps, globeview mountains & hills; the unit selectors, flags, highlighting & path lines; etc…




=Single Line Tags=
==Tags==
===Text Tags===
===Text===
{| 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 || Label that is used throughout all other XML files
!Type
|-
| Label that is used throughout all other XML files
|Path || Disc path to the file for this artwork<br>
<font color=red>it is unknown what the info after the :: is used for.</font>
|-
|NIF || Location of .nif file
|-
|KFM || Location of .kfm file
|}
|}




===Floating Point Tags===
===Art===
{| 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
|-
|-
|fScale || Scale on Map
!Path
| Directory path to the file for this artwork<br>
<font color=red>It is unknown what the info after the :: is used for.</font>
|-
!fScale
| Scale on map
|-
!NIF
| Location of .nif file
|-
!KFM
| Location of .kfm 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.
 
  <MiscArtInfo>
  <MiscArtInfo>
     <Type>ART_AQUEDUCT_ENDPIECE</Type>
     <Type>ART_AQUEDUCT_ENDPIECE</Type>
Line 47: Line 51:
     <KFM/>
     <KFM/>
  </MiscArtInfo>
  </MiscArtInfo>
{| align="left"
|[[Civ4ArtDefines_Movie|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 00:46, 19 May 2009

The Civ4ArtDefines_Misc file declares art objects and properties for various elements of the overhead map, including aqueducts, cloud cover, icecaps, mountains and hills in the global view, unit selectors, flags, and the highlighting and path lines, among others.

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.

This page is missing information. Do not remove this notice until it is complete.


Tags

Text

Tag Name Description
Type Label that is used throughout all other XML files


Art

Tag Name Description
Path Directory path to the file for this artwork

It is unknown what the info after the :: is used for.

fScale Scale on map
NIF Location of .nif file
KFM Location of .kfm 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.

<MiscArtInfo>
   <Type>ART_AQUEDUCT_ENDPIECE</Type>
   <Path>Art/Structures/Buildings/Aqueduct/Aqueduct.nif::1x1_end</Path>
   <fScale>1.0</fScale>
   <NIF/>
   <KFM/>
</MiscArtInfo>