Civ4ArtDefines Building

From Civilization Modding Wiki
Revision as of 21:07, 10 May 2009 by Draco (talk | contribs)
Jump to navigationJump to search
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