Civ4ArtDefines Bonus: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This file declares all the art files, and art properties, for each of the Resources. | |||
This file declares all the art files, and art properties for the Resources. | |||
= Tags = | == Tags == | ||
=== Headers === | === Headers === | ||
{| border="1" cellpadding=" | {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | ||
|- | |- | ||
! style="background:#efefef;" | Tag Name | ! style="background:#efefef;" | Tag Name | ||
| Line 25: | Line 17: | ||
=== Art === | === Art === | ||
{| border="1" cellpadding=" | {| border="1" style="text-align:left" cellpadding="3" cellspacing="0" | ||
|- | |- | ||
! style="background:#efefef;" | Tag Name | ! style="background:#efefef;" | Tag Name | ||
| Line 47: | Line 39: | ||
= Example = | == Example == | ||
<BonusArtInfo> | <BonusArtInfo> | ||
<Type>ART_DEF_BONUS_ALUMINUM</Type> | <Type>ART_DEF_BONUS_ALUMINUM</Type> | ||
Revision as of 20:50, 14 May 2009
This file declares all the art files, and art properties, for each of the Resources.
Tags
Headers
| Tag Name | Description |
|---|---|
| BonusArtInfo | Main bracket for each entry. |
| Type | Label that is used throughout all other XML files. |
Art
| Tag Name | Description |
|---|---|
| fScale | Scale on Map. |
| fInterfaceScale | Multiply by fScale to get scale in Civilopedia. |
| NIF | Location of .nif file. |
| KFM | Location of .kfm file. |
| Button | Icon, generally: ,path to icon,path to Atlas,x-coordinate,y-coordinate. |
Example
<BonusArtInfo> <Type>ART_DEF_BONUS_ALUMINUM</Type> <fScale>1.0</fScale> <fInterfaceScale>1.0</fInterfaceScale> <NIF>Art/Terrain/Resources/Aluminum/Aluminum.nif</NIF> <KFM>Art/Terrain/Resources/Aluminum/Aluminum.kfm</KFM> <Button>,Art/Interface/Buttons/WorldBuilder/Aluminum.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,1,12</Button> </BonusArtInfo>
| Next article |
| Back to XML Reference |