Page 1 of 1

How do you remove tiled textures on your surface maps?

Posted: Wed May 10, 2017 12:20 am
by Diamondback
Hi guys, I'm having this problem while texturing my map. Here's what's wrong:
Image

As you can see, BC42 gives me crappy tiled textures after generating surface maps from the material map I have already painted. So I opened the map in ED42 to use some custom texture layers I have made, hoping I can somehow "erase" the tiling effect, but it doesn't work. Even while applying the texture layers in ED42, the tiling is still there.

How do I get rid of the tiling effect and where is it defined in the game files? I looked in the Terrain.con of my map for possible lines of code that control the tiling but couldn't find what I want there.

Re: How do you remove tiled textures on your surface maps?

Posted: Thu May 11, 2017 11:47 am
by Swaffy
My only guess is it's one of the image files from the Ed42/library/Textures directory.

Re: How do you remove tiled textures on your surface maps?

Posted: Sat May 13, 2017 12:50 am
by duffman
The tile effect comes from the detail.dds (bump map).
See inside your RFA file: bf1942/levels/YOUR_MAP/textures/details.dds

That file is applied onto your ground textures to give impression of detail in the terrain.
It is normally repeated as in tiled like you see on your map (by the game engine).

To reduce the visible tiling you need to edit the details image and make it smoother, and
even out the edges so that it looks better when tiled.

But you could of course just replace it with one from a different map..

See init/terrain.con:
GeometryTemplate.detailTexName bf1942\levels\coral_sky\textures\detail

Battlecraft fetches the details file (details.bmp) from: /Battlecraft 1942/TextureSets/ and from a sub folder in there (desert/winter etc).

Re: How do you remove tiled textures on your surface maps?

Posted: Sat May 13, 2017 3:21 am
by Swaffy
It looks like
Editor42/library/Textures/Default/detail.bmp

Maybe you can back that image up (in a different folder) then make one that is a flat color.

Re: How do you remove tiled textures on your surface maps?

Posted: Sat May 13, 2017 5:25 pm
by Diamondback
duffman wrote:The tile effect comes from the detail.dds (bump map).
See inside your RFA file: bf1942/levels/YOUR_MAP/textures/details.dds

That file is applied onto your ground textures to give impression of detail in the terrain.
It is normally repeated as in tiled like you see on your map (by the game engine).

To reduce the visible tiling you need to edit the details image and make it smoother, and
even out the edges so that it looks better when tiled.

But you could of course just replace it with one from a different map..

See init/terrain.con:
GeometryTemplate.detailTexName bf1942\levels\coral_sky\textures\detail

Battlecraft fetches the details file (details.bmp) from: /Battlecraft 1942/TextureSets/ and from a sub folder in there (desert/winter etc).
I figured out that much, thanks. I used the detail.dds from Bocage (the detail.dds there is a grassy one) and while the tiling effect is much less apparent than the default one BC placed in my map, it is still there and can be seen by planes. I will edit the detail.dds file to make it smoother and see what happens.

Re: How do you remove tiled textures on your surface maps?

Posted: Tue Nov 12, 2019 2:09 pm
by Crash
Just paint the map and/or choose tiles that dont look too symmetrical.