How do you Import a Rock into Trainz?

BobCass

New member
Lets Say you have a color on a pic that you like and would like to put it to on scenery..How would you do it??Thanking You in advance..Rock color..
 
Last edited:
Lets Say you have a color on a pic that you like and would like to put it to on scenery..How would you do it??Thanking You in advance..Rock color..

Hi Bob,

I did that just recently myself. It's pretty easy I may add.

Clone one of the built-in textures or one from someone else that has no errors or warnings.
Open the asset for edit in Explorer
Copy in your texture into the folder.
Delete the original's texture - .tga file.
Rename your texture to the original's.
You will have to create the 248 x 180 .jpg thumbnail.

Commit and it's ready to use.

John
 
John: Thanks for your reply..I tried it and it worked partially..Please explain how to change picture color into texture??I am sure that's my problem..
 
Open in an editor and save it as the right size TGA file. "right size" would be a power of 2, meaning each side must be 2,4,8,16,32,64,128,256,512,1024 and so on pixels. The sides do not have to be the same (1024 x 256 would be OK for instance)
 
One thing about switching out tga's; they should be the same size as the original, as a power of 2, described above, and have the same name as the original, as John says. If you change the name, you must change the name in the txt file and config file.
 
To get texture from color, you need to create a bump map, or normal map from the image. If you are using gimp, there is a plugin that will make this trivial; I assume there is a similar plug in in photoshop, but beyond those I can't give you much help.

ns

PS: 1000th post
 
mjolnir: what is the name of the plug-in for GIMP and where can it be obtained?

Thanks to all contributors; this is good info I can use.
 
mjolnir: what is the name of the plug-in for GIMP and where can it be obtained?

Thanks to all contributors; this is good info I can use.

Just Google 'normal map gimp' and the top of the list is the gimp plugin registry where you can download it.

Also if your texture file is a tga or bmp then PEV's Images2TGA will create a normal map for you (File menu, create normal map).

Scottish
 
Back
Top