Civ4ArtDefines Building: 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_Bonus|Previous article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}<br><br>
=Summary=
=Summary=


Line 52: Line 58:
     <Button>,Art/Interface/Buttons/Buildings/Palace.dds,Art/Interface/Buttons/Buildings_Atlas.dds,6,5</Button>
     <Button>,Art/Interface/Buttons/Buildings/Palace.dds,Art/Interface/Buttons/Buildings_Atlas.dds,6,5</Button>
  </BuildingArtInfo>
  </BuildingArtInfo>
{| align="left"
|[[Civ4ArtDefines_Civilization|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 21:07, 10 May 2009

Previous article
Back to XML Reference



Summary

Defines all the art files and art properties for the buildings (both in the city and in the civilopedia).


Single Line Tags

Text Tags

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 corresponding Atlas,#,#
numbers are x,y location in the atlas.

Boolean Tags

Tag Name Description
bAnimated Determines if it is animated or not.

Floating Point Tags

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

Example

<BuildingArtInfo>
   <Type>ART_DEF_BUILDING_PALACE</Type>
   <bAnimated>0</bAnimated>
   <fScale>1.0</fScale>
   <fInterfaceScale>0.5</fInterfaceScale>
   <NIF>Art/Structures/Buildings/Palace/Palace.nif</NIF>
   <KFM/>
   <Button>,Art/Interface/Buttons/Buildings/Palace.dds,Art/Interface/Buttons/Buildings_Atlas.dds,6,5</Button>
</BuildingArtInfo>
Next article
Back to XML Reference