Civ4ArtDefines Terrain: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align="left"
The '''Civ4ArtDefines_Terrain''' file defines art textures for all terrain types.
|[[Civ4ArtDefines_Movie|Previous article]]
 
|}
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.
{|align="right"
 
|[[Civ4 XML Reference|Back to XML Reference]]
|}<br>
<font color=red>This page is missing information.
<font color=red>This page is missing information.
Do not remove this notice until it is complete.</font>
Do not remove this notice until it is complete.</font>


Defines art texture for all terrain types


=Tags=
==Tags==
===Text===
===Text===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|Type || Terrain that goes with Files
!Type
| Terrain that goes with files
|-
|-
|Path || path to base texture
!Path
| path to base texture
|-
|-
|Detail || path to detail texture
!Detail
| path to detail texture
|-
|-
|Button || World Builder Icon.<br>
!Button
| World Builder Icon.<br>
,path to icon,path to corresponding Atlas,#,#<br>
,path to icon,path to corresponding Atlas,#,#<br>
numbers are x,y location in the atlas.<br>
numbers are x,y location in the atlas.<br>
Line 30: Line 31:


===Integers===
===Integers===
{| border="1" cellpadding="2" cellspacing="0"
 
All of these tags have a numerical value.  Though it sometimes can be negative, it usually is not.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
! style="background:#efefef;" | Description
|-
|-
|LayerOrder || unknown
!LayerOrder
| <font color=red>unknown</font>
|-
|-
|TextureBlend01 || <font color=red>unknown</font>
!TextureBlend01
| <font color=red>unknown</font>
|-
|-
|TextureBlend02 || <font color=red>unknown</font>
!TextureBlend02
| <font color=red>unknown</font>
|-
|-
|TextureBlend03 || <font color=red>unknown</font>
!TextureBlend03
| <font color=red>unknown</font>
|-
|-
|TextureBlend04 || <font color=red>unknown</font>
!TextureBlend04
| <font color=red>unknown</font>
|-
|-
|TextureBlend05 || <font color=red>unknown</font>
!TextureBlend05
| <font color=red>unknown</font>
|-
|-
|TextureBlend06 || <font color=red>unknown</font>
!TextureBlend06
| <font color=red>unknown</font>
|-
|-
|TextureBlend07 || <font color=red>unknown</font>
!TextureBlend07
| <font color=red>unknown</font>
|-
|-
|TextureBlend08 || <font color=red>unknown</font>
!TextureBlend08
| <font color=red>unknown</font>
|-
|-
|TextureBlend09 || <font color=red>unknown</font>
!TextureBlend09
| <font color=red>unknown</font>
|-
|-
|TextureBlend10 || <font color=red>unknown</font>
!TextureBlend10
| <font color=red>unknown</font>
|-
|-
|TextureBlend11 || <font color=red>unknown</font>
!TextureBlend11
| <font color=red>unknown</font>
|-
|-
|TextureBlend12 || <font color=red>unknown</font>
!TextureBlend12
| <font color=red>unknown</font>
|-
|-
|TextureBlend13 || <font color=red>unknown</font>
!TextureBlend13
| <font color=red>unknown</font>
|-
|-
|TextureBlend14 || <font color=red>unknown</font>
!TextureBlend14
| <font color=red>unknown</font>
|-
|-
|TextureBlend15 || <font color=red>unknown</font>
!TextureBlend15
| <font color=red>unknown</font>
|}
|}




=Example=
==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>
  <TerrainArtInfo>
     <Type>ART_DEF_TERRAIN_GRASS</Type>
     <Type>ART_DEF_TERRAIN_GRASS</Type>
Line 92: Line 115:
     <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>
     <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>
  </TerrainArtInfo>
{| align="left"
|[[Civ4ArtDefines_Unit|Next article]]
|}
{|align="right"
|[[Civ4 XML Reference|Back to XML Reference]]
|}

Revision as of 00:51, 19 May 2009

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>