Terrain Graphic Problem

LPlate2

Warlord
Joined
Dec 27, 2018
Messages
299
Hi,

I've been trying to create some new terrains for my mod.

The problem I have is that where the new terrain meets a different terrain I get dark blocks as in the picture. Does anyone have any suggestions as to how I can fix this?

The artdefine xml is:
Spoiler :
Code:
       <TerrainArtInfo>
           <Type>ART_DEF_TERRAIN_U_CAVE</Type>
           <Path>Art/Terrain/Textures/CaveBlend.dds</Path>
           <Grid>Art/Terrain/Textures/CaveGrids.dds</Grid>
           <Detail>Art/Terrain/Textures/CaveDetail.dds</Detail>
           <Button>,Art/Interface/Buttons/BaseTerrain/Grassland.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,3,1</Button>
           <LayerOrder>11</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>
       <TerrainArtInfo>
           <Type>ART_DEF_TERRAIN_U_TUNNEL</Type>
           <Path>Art/Terrain/Textures/TunnelBlend.dds</Path>
           <Grid>Art/Terrain/Textures/TunnelGrids.dds</Grid>
           <Detail>Art/Terrain/Textures/TunnelDetail.dds</Detail>
           <Button>,Art/Interface/Buttons/BaseTerrain/Plains.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,8,1</Button>
           <LayerOrder>12</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>

The blend and grids dds are currently identical for the two terrains. Both terrains are based on graphics from spiralgraphics.biz website.
The detail dds I've used for both terrains is the same one as that for grasslands.
I've adjusted the LayerOrder values but otherwise, the terrains are based off the grasslands and plains.

Any help would be appreciated.
thanks,
 

Attachments

  • dds.zip
    787.4 KB · Views: 155
  • Civ4ScreenShot0024.JPG
    Civ4ScreenShot0024.JPG
    184.4 KB · Views: 108
I sorted the problem. I pulled out an old laptop which had an old version of Gimp, with the dds plug in and redid the blends and grids dds. The terrain no longer has the black patch problem.

The original versions were created as xcf files in the latest version of Gimp. As this does not have a dds plug in, I then used convertor software to make these into dds. Apparently, something got lost in translation.
 
You should try using Paint.net. It's free and easy to use and comes standard with a dds plugin. I do all my textures in it and I've newer had any issues.
 
Top Bottom