Civ4ArtDefines Terrain

From Civilization Modding Wiki
Revision as of 00:51, 19 May 2009 by Ginger Ale (talk | contribs)
Jump to navigationJump to search

The Civ4ArtDefines_Terrain file defines art textures for all terrain types.

All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.

This page is missing information. Do not remove this notice until it is complete.


Tags

Text

Tag Name Description
Type Terrain that goes with files
Path path to base texture
Detail path to detail texture
Button World Builder Icon.

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


Integers

All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
LayerOrder unknown
TextureBlend01 unknown
TextureBlend02 unknown
TextureBlend03 unknown
TextureBlend04 unknown
TextureBlend05 unknown
TextureBlend06 unknown
TextureBlend07 unknown
TextureBlend08 unknown
TextureBlend09 unknown
TextureBlend10 unknown
TextureBlend11 unknown
TextureBlend12 unknown
TextureBlend13 unknown
TextureBlend14 unknown
TextureBlend15 unknown


Example

In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.

<TerrainArtInfo>
   <Type>ART_DEF_TERRAIN_GRASS</Type>
   <Path>Art/Terrain/Textures/GrassBlend.dds</Path>
   <Detail>Art/Terrain/Textures/GrassDETAIL.dds</Detail>
   <Button>,Art/Interface/Buttons/BaseTerrain/Grassland.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,3,1</Button>
   <LayerOrder>4</LayerOrder>
   <TextureBlend01>8,0</TextureBlend01>
   <TextureBlend02>1,0</TextureBlend02>
   <TextureBlend04>6,0</TextureBlend04>
   <TextureBlend08>5,0</TextureBlend08>
   <TextureBlend03>2,0</TextureBlend03>
   <TextureBlend06>10,0</TextureBlend06>
   <TextureBlend12>12,0</TextureBlend12>
   <TextureBlend09>9,0</TextureBlend09>
   <TextureBlend07>3,0</TextureBlend07>
   <TextureBlend14>14,0</TextureBlend14>
   <TextureBlend13>11,0</TextureBlend13>
   <TextureBlend11>4,0</TextureBlend11>
   <TextureBlend10>7,0</TextureBlend10>
   <TextureBlend05>13,0</TextureBlend05>
   <TextureBlend15>15,0 16,0 17,0 18,0 19,0 20,0 21,0 22,0 23,0 24,0 25,0 26,0 27,0 28,0 29,0 30,0 31,0 32,0</TextureBlend15>
</TerrainArtInfo>