Civ4ArtDefines Building: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary |
No 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). | Defines all the art files and art properties for the buildings (both in the city and in the civilopedia). | ||
= | ==Tags== | ||
=== | ===Headers=== | ||
{| border="1" cellpadding=" | {| border="1" cellpadding="3" cellspacing="0" | ||
|- | |- | ||
! style="background:#efefef;" | Tag Name | ! style="background:#efefef;" | Tag Name | ||
! style="background:#efefef;" | Description | ! style="background:#efefef;" | Description | ||
|- | |- | ||
! BuildingArtInfo | |||
| The main bracket for each entry. | |||
| | |||
|- | |- | ||
| | !Type | ||
| Label that is used throughout all other XML files. | |||
|} | |} | ||
===Boolean | |||
{| border="1" cellpadding=" | ===Boolean=== | ||
{| border="1" 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 it is animated or not. | |||
|} | |} | ||
=== | |||
{| border="1" cellpadding=" | ===Art=== | ||
{| border="1" 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 | |||
|- | |- | ||
!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.<br> | |||
,path to icon,path to corresponding Atlas,#,#<br> | |||
numbers are x,y location in the atlas. | |||
|} | |} | ||
=Example= | |||
==Example== | |||
<BuildingArtInfo> | <BuildingArtInfo> | ||
<Type>ART_DEF_BUILDING_PALACE</Type> | <Type>ART_DEF_BUILDING_PALACE</Type> | ||
Line 58: | Line 63: | ||
<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="right" | {|align="right" | ||
|[[Civ4 XML Reference|Back to XML Reference]] | |[[Civ4 XML Reference|Back to XML Reference]] | ||
|} | |} |
Revision as of 20:55, 14 May 2009
Defines all the art files and art properties for the buildings (both in the city 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,#,# |
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 |