Civ4ArtDefines Improvement: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Improvement''' file declares art files and properties for all of the terrain improvements.
|[[Civ4ArtDefines_Feature|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=
Defines art files and art properties for the Terrain Improvements.




=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
|-
|-
|NIF || Location of .nif file
!NIF
| Location of .nif file
|-
|-
|KFM || Location of .kfm file
!KFM
| Location of .kfm file
|-
|-
|Button || World Builder Icon.<br>
!Button
| World Builder Icon.<br>
,path to icon,path to corrosponing Atlas,#,#<br>
,path to icon,path to corrosponing Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
numbers are x,y location in the atlas.<br>
Line 31: Line 29:


===Boolean===
===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
|-
|-
|bExtraAnimations || <font color=red>unknown</font>
!bExtraAnimations  
|<font color=red>unknown</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\
|}
|}




=Example=
==Example==
  <ImprovementArtInfo>
  <ImprovementArtInfo>
     <Type>ART_DEF_IMPROVEMENT_FARM</Type>
     <Type>ART_DEF_IMPROVEMENT_FARM</Type>
Line 62: Line 63:
     <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
     <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
  </ImprovementArtInfo>
  </ImprovementArtInfo>
{| align="left"
|[[Civ4ArtDefines_Interface|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 01:19, 16 May 2009

The Civ4ArtDefines_Improvement file declares art files and properties for all of the terrain improvements.

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
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.


Boolean

Tag Name Description
bExtraAnimations unknown


Art

Tag Name Description
fScale Scale on Map
fInterfaceScale multiply by fScale to get scale in Civilopedia\


Example

<ImprovementArtInfo>
   <Type>ART_DEF_IMPROVEMENT_FARM</Type>
   <bExtraAnimations>1</bExtraAnimations>
   <fScale>1.0</fScale>
   <fInterfaceScale>1.0</fInterfaceScale>
   <NIF>Art/Structures/Improvements/Farm/an_eu_farm01.nif</NIF>
   <KFM>Art/Structures/Improvements/Farm/an_eu_farm01.kfm</KFM>
   <Button>,Art/Interface/Buttons/Builds/BuildFarm.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,3,7</Button>
</ImprovementArtInfo>