Civ4ArtDefines Terrain: Difference between revisions
(Created page with '{| align="left" |Previous article |} {|align="right" |Back to XML Reference |}<br><br> <font color=red>This page is missing inform...') |
m (Unprotected "Civ4ArtDefines Terrain") |
||
(23 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
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. | |||
<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> | ||
= | ==Tags== | ||
===Text | ===Text=== | ||
{| border="1" cellpadding=" | {| 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 | |||
|- | |- | ||
!Path | |||
| path to base texture | |||
|- | |- | ||
!Detail | |||
| path to detail texture | |||
|- | |- | ||
!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 30: | ||
=== | ===Integers=== | ||
{| border="1" cellpadding=" | |||
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 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend01 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend02 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend03 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend04 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend05 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend06 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend07 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend08 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend09 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend10 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend11 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend12 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend13 | |||
| <font color=red>unknown</font> | |||
|- | |- | ||
!TextureBlend14 | |||
| <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 93: | 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> | ||
{ | |||
{{Civ4_XML_Files}} | |||
Latest revision as of 01:17, 3 October 2011
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,#,# |
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>