What are the dds export settings from a terrain texture? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Close Combat The Bloody First >> Close Combat: The Bloody First - Tech Support Forum



Message


Nomada_Firefox -> What are the dds export settings from a terrain texture? (2/20/2020 7:18:49 AM)

One question, when I try to load a dds terrain texture for a map, I see this.
[image]https://media.moddb.com/images/groups/1/25/24667/CC_TBF_Editor_2020-02-20_09-01-23-19.jpg[/image]
It is one of the game maps saved as dds in photoshop. I can imagine how you use a different dds export options. I used DXT1 RGB 4 bpp | no alpha

And probably from all the textures in game.




PipFromSlitherine -> RE: What are the dds export settings from a terrain texture? (2/20/2020 2:39:00 PM)

That means that the texture is missing, so likely it could have been placed in the wrong folder?

Cheers

Pip




Nomada_Firefox -> RE: What are the dds export settings from a terrain texture? (2/20/2020 8:52:41 PM)

Thanks. Yes it was the problem....the maps must be in the Close Combat - The Bloody First\Campaigns\MAIN\DATA\MAPS

The unique problem now is the height, I have a bump map from 4096x4096 but the map editor says this. What can be the problem?

[image]local://upfiles/4751/728E7E5F15F14E298D76393C634CF4F6.jpg[/image]




ineffable -> RE: What are the dds export settings from a terrain texture? (2/20/2020 10:40:20 PM)

The Height maps that the Map Editor saves are 1 pixel larger than the map size. eg. the height map for a 512x512 map (2x2) is 513x513 pixels. The height map for a 256x256 (1x1) map is 257x257 pixels. I'd extrapolate from there bearing in mind that 32x32 is the deploy tile size and 512x512 may be the max size.




Nomada_Firefox -> RE: What are the dds export settings from a terrain texture? (2/21/2020 7:09:00 AM)


quote:

ORIGINAL: ineffable

The Height maps that the Map Editor saves are 1 pixel larger than the map size. eg. the height map for a 512x512 map (2x2) is 513x513 pixels. The height map for a 256x256 (1x1) map is 257x257 pixels. I'd extrapolate from there bearing in mind that 32x32 is the deploy tile size and 512x512 may be the max size.

Are you sure? because you can not save a dds with this sizes. I have tried and it does not work. I do not want save a height, I want load a external height.




Nomada_Firefox -> RE: What are the dds export settings from a terrain texture? (2/21/2020 7:35:53 AM)

Now I see. It must be loaded as bmp and the size must be the same than the file saved by the map editor. In addition if I am not wrong, the height map is a black/white image and not a bump.




PipFromSlitherine -> RE: What are the dds export settings from a terrain texture? (2/21/2020 3:15:53 PM)

As said, the size of the texture must be W+1,H+1. DXT textures are not the appropriate format for this kind of data (even if, as you say, they could be in sizes which are not multiples of 4). Use a BMP or TGA for the image format, and save as a 32 bit image. The largest value of the RGB elements is used as the height.

Cheers

Pip




PipFromSlitherine -> RE: What are the dds export settings from a terrain texture? (2/21/2020 3:16:45 PM)


quote:

ORIGINAL: Nomada_Firefox

Thanks. Yes it was the problem....the maps must be in the Close Combat - The Bloody First\Campaigns\MAIN\DATA\MAPS

You should be able to use textures in the local folder (Documents/My Games/CloseCombatTheBloodyFirst/Maps

Cheers

Pip





PipFromSlitherine -> RE: What are the dds export settings from a terrain texture? (2/21/2020 5:10:47 PM)

Actually, looking at the code it looks like it fails to load the textures from the local path in the editor. We will fix for the next update so you don't need to put textures in the install data.

Note that the game itself will correctly load textures from the local Maps folder, just not the editor.

Cheers

Pip




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.636719E-02