I need help adding a new type of terrain. Basically I would like to add a new type of desert, using all the existing art work for desert and make it impassable.
As far as I know you'd have to edit the CIV4ArtDefines_Terrain.xml file to define which art work to use and the CIV4TerrainInfos.xml to define the specifics of this terrain.
Editing the CIV4TerrainInfos.xml seems to go well.
I am running onto trouble with the graphics though. In the CIV4ArtDefines_Terrain.xml file I have created another entry, named the new terrain SALTPAN but other than that copied the entry for desert:
<TerrainArtInfo>
<Type>ART_DEF_TERRAIN_SALTPAN</Type>
<Path>Art/Terrain/Textures/DesertBlend.dds</Path>
<Grid>Art/Terrain/Textures/DesertGrids.dds</Grid>
<Detail>Art/Terrain/Textures/DesertDetail.dds</Detail>
<Button>,Art/Interface/Buttons/BaseTerrain/Desert.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,2,1</Button>
<LayerOrder>2</LayerOrder>
<AlphaShader>0</AlphaShader>
<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 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>
</TerrainArtInfos>
However, when in the worldbuilder I add this terrain to a map, it looks like a mixture of flat peeks and coast. What am i doing wrong here?
As far as I know you'd have to edit the CIV4ArtDefines_Terrain.xml file to define which art work to use and the CIV4TerrainInfos.xml to define the specifics of this terrain.
Editing the CIV4TerrainInfos.xml seems to go well.
I am running onto trouble with the graphics though. In the CIV4ArtDefines_Terrain.xml file I have created another entry, named the new terrain SALTPAN but other than that copied the entry for desert:
Spoiler :
<TerrainArtInfo>
<Type>ART_DEF_TERRAIN_SALTPAN</Type>
<Path>Art/Terrain/Textures/DesertBlend.dds</Path>
<Grid>Art/Terrain/Textures/DesertGrids.dds</Grid>
<Detail>Art/Terrain/Textures/DesertDetail.dds</Detail>
<Button>,Art/Interface/Buttons/BaseTerrain/Desert.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,2,1</Button>
<LayerOrder>2</LayerOrder>
<AlphaShader>0</AlphaShader>
<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 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>
</TerrainArtInfos>
However, when in the worldbuilder I add this terrain to a map, it looks like a mixture of flat peeks and coast. What am i doing wrong here?