Civ4ArtDefines Bonus: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(1st entry of data, copied from "civ4.wikidot.com".)
 
No edit summary
Line 5: Line 5:
= Single Line Tags =
= Single Line Tags =
=== Text Tags ===
=== Text Tags ===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="1" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
|-
! style="background:#efefef;" | Type
|Type || Label that is used throughout all other XML files
! style="background:#efefef;" | Label that is used throughout all other XML files
|-
|-
| NIF || Location of .nif file
| NIF || Location of .nif file
Line 21: Line 23:
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|-
|-
! style="background:#efefef;" | fScale
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Scale on Map
! style="background:#efefef;" | Description
|-
|fScale || Scale on Map
|-
|-
| fInterfaceScale || Multiply by fScale to get scale in Civilopedia
| fInterfaceScale || Multiply by fScale to get scale in Civilopedia

Revision as of 20:44, 10 May 2009

Summary

This file declares all the art files, and art properties for the Resources.


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 Icon, generally: ,path to icon,path to Atlas,x-coordinate,y-coordinate


Floating Point Tags

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


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>