Civ4ArtDefines Building: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Defines all the art files and art properties for the buildings (both in the city and in the civilopedia).
The '''Civ4ArtDefines_Building''' files declares all the art files and art properties for the buildings, both in the city screen and in the civilopedia.





Revision as of 01:13, 16 May 2009

The Civ4ArtDefines_Building files declares all the art files and art properties for the buildings, both in the city screen and in the civilopedia.


Tags

Headers

Tag Name Description
BuildingArtInfo The main bracket for each entry.
Type Label that is used throughout all other XML files.


Boolean

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


Art

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

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


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>
Back to XML Reference