How do I get a custom grayscale displacement map imported into TS12?

mcummins

New member
Try as I may but I cannot figure out how to import a custom grayscale map into TS12. Anybody have any suggestions?

I am referring to the feature under Topology/Advanced/Displacement Map in Surveyor. The manual says to place the custom grayscale map in the “World\custom\displacements” folder however there is no such folder in TS12. The folder did exist in the 06 and 09 version of Trainz and my grayscale map does work in the older versions but not in 12. I have tried creating the folder in TS12 but no luck.

Any suggestions?
 
Displacement maps are now assets, search for displacement in content manager if you open one for edit, contains a config and a greyscale bmp file, just clone it change the name so its different to the others and drop your bmp in instead of the one that's there and commit.
 
I tried the exact same thing, but it didn't work. When I try to use it in the editor, it wouldn't work. I have no idea why, do you? It has two warnings, but, well, they are just warnings. Am I missing something?
 
I tried the exact same thing, but it didn't work. When I try to use it in the editor, it wouldn't work. I have no idea why, do you? It has two warnings, but, well, they are just warnings. Am I missing something?

While you can usually ignore warnings, they shouldn't be there if you followed the above process.

What does 'didn't work' mean? Is there an error, or did the topology not change how you expected. If the change wasn't what you expected you should post the map, the adjustments you used in applying it, what you expected, and what you got.
 
While you can usually ignore warnings, they shouldn't be there if you followed the above process.

What does 'didn't work' mean? Is there an error, or did the topology not change how you expected. If the change wasn't what you expected you should post the map, the adjustments you used in applying it, what you expected, and what you got.


There was two warnings. One was "Required Thumnail Container is missing" and "Required tag 'category class' was missing and has been set to default" I don't know what to do. Can you explain the process with more details?
 
There was two warnings. One was "Required Thumbnail Container is missing" and "Required tag 'category class' was missing and has been set to default" I don't know what to do.

You might have started with a very old asset.

You need to make some changes to config.txt, and you need to find a thumbnail image.

Add the line
category-class "BRSH"
to the config.txt file.

Then also add the lines

Code:
thumbnails
{
   0
   {
     image                               "$screenshot$.jpg"
     width                               240
     height                              180
   }
}

Then create an image of your map that is 240x180 in JPG format named $screenshot$.jpg and include it in the asset folder.

But these warnings would not have prevented the map from working, so you should explain what the actual problem was.
 
I could probably fix the thumnail warning, I know how to do that. I will try it. Thank you, I will get back to yo if I have any problems.
 
BTW The Category Class Item is there. Maybe some things are named wrong. I will mess with everything. Thanks!
 
Back
Top