Civ4ArtDefines Bonus

From Civilization Modding Wiki
Revision as of 20:14, 10 May 2009 by Draco (talk | contribs) (1st entry of data, copied from "civ4.wikidot.com".)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Summary

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


Single Line Tags

Text Tags

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

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>