Civ4ArtDefines Feature: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align="left"
|[[Civ4ArtDefines_Civilization|Previous article]]
|}
{|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=
Declares all the art files, and art properties for terrain features.


This file declares all the art files, their locations, and the art properties for terrain features.


=Single Line Tags=
 
===Text Tags===
==Tags==
{| border="1" cellpadding="2" cellspacing="0"
===Text===
{| 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
! FeatureArtInfo
|-
| This is the main bracket that encases each entry.
|NIF || Location of .nif file
|-
|KFM || Location of .kfm file
|-
|-
| Button || World Builder Icon.<br>
! Type
,path to icon,path to corrosponing Atlas,#,#<br>
| Label that is used throughout all other XML files.
numbers are x,y location in the atlas.<br>
|}
|}




===Boolean Tags===
===Boolean===
{| 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
|-
|-
|bAnimated || Determines if the Feature is animated or not.
! bAnimated
| Determines if the Feature is animated or not.
|-
|-
|bRiverArt || If 1, Feature art works with River Art for shaping (unsure)
! bRiverArt
| If 1, Feature art works with River Art for shaping <font color=red>(unsure)</font>.
|-
|-
|bTileArt || <font color=red>unknown</font>
! bTileArt
| <font color=red>This tag's purpose is unknown. Please help by figuring it out?</font>
|}
|}




===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
! fScale
| Scale on Map
|-
|-
|fInterfaceScale || multiply by fScale to get scale in Civilopedia
! fInterfaceScale
| multiply by fScale to get scale in Civilopedia.
|-
! NIF
| Location of .nif file.
|-
! KFM
| Location of .kfm file.
|-
! Button
| World Builder Icon.<br>
,path to icon,path to corrosponing Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
|}
|}



Revision as of 21:03, 14 May 2009

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

This file declares all the art files, their locations, and the art properties for terrain features.


Tags

Text

Tag Name Description
FeatureArtInfo This is the main bracket that encases each entry.
Type Label that is used throughout all other XML files.


Boolean

Tag Name Description
bAnimated Determines if the Feature is animated or not.
bRiverArt If 1, Feature art works with River Art for shaping (unsure).
bTileArt This tag's purpose is unknown. Please help by figuring it out?


Art

Tag Name Description
fScale Scale on Map
fInterfaceScale multiply by fScale to get scale in Civilopedia.
NIF Location of .nif file.
KFM Location of .kfm file.
Button World Builder Icon.

,path to icon,path to corrosponing Atlas,#,#
numbers are x,y location in the atlas.


Example

<FeatureArtInfo>
   <Type>ART_DEF_FEATURE_JUNGLE</Type>
   <bAnimated>0</bAnimated>
   <bRiverArt>0</bRiverArt>
   <bTileArt>1</bTileArt>
   <fScale>1.0</fScale>
   <fInterfaceScale>1.0</fInterfaceScale>
   <NIF/>
   <KFM/>
   <Button>,Art/Interface/Buttons/TerrainFeatures/Jungle.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,5,3</Button>
</FeatureArtInfo>
Next article
Back to XML Reference