Page 1 of 1

Problem getting custom terrain textures to appear in game

Unread postPosted: Wed Nov 12, 2014 8:33 pm
by SAR704
I went to create a terrain blueprint, filled in the details, and it exported correctly, with the files appearing in the Assets folder as they should have. However, none of them show up when I load the sim and go to the route editor.

I set them up in (Route)\Environment\Terrain\Concrete\Grass with no wang selected. It indicated that the blueprint exported successfully, but I can't find them in the list of textures under my name in the game. I checked the case, and virtually everything. Is anyone able to tell me what I may have done wrong, or explain any details I may have forgotten with the process of getting them into the game?

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Thu Nov 13, 2014 6:47 am
by GreatNortherner
This is probably a stupid question, but did you enable the object set filter for your provier/product where you exported the terrtexes to? Also, did you set a display name for the textures in the blueprint? Other than something having gone terribly wrong, this is the only thing I can think of that may prevent anything from showing up in the editor.

Cheers
Michael

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Thu Nov 13, 2014 7:34 am
by SAR704
Yes I did both of these actions, prior to my original post in this topic.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Thu Nov 13, 2014 12:40 pm
by wacampbell
If you have created a new terrain texture blueprint, versus modifying the existing one, then the problem may be the new blueprint hasn't been referenced in your RouteProperties.

A route can reference only one terrain texture blueprint. This is defined in the RouteProperties.xml file in your route's folder. Look for the section titled <TerrainBlueprint>. Ensure this section of the RouteProperties is pointing to your newly created Terrain Texture blueprint.

However - a warning - if you are replacing a previous terrain blueprint in a route that already contains terrain texturing, you must be very careful that all the previously used textures are listed in your new blueprint in the same order and position as they were in their original blueprint.

In other words, replacing a terrain texture blueprint is an advanced procedure and must be done with appropriate care and knowledge.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Tue Nov 25, 2014 1:53 am
by SAR704
I've created the blueprint from scratch, just after setting up a new route, and converted the textures into ACE format using RWace. I've linked to the ace files in the blueprint, and set the properties for the display in the game in the blueprint.

The blueprint is in (name of route)\Environment\Terrain, and the source .ace files are located in the grass folder in the string of folders that you are requested to create before exporting. There is no Wang selected, as these are single textures. Other than the things already mentioned, I can't think of what I may be doing wrong.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Tue Nov 25, 2014 9:17 am
by wacampbell
SAR704 wrote:I've created the blueprint from scratch, just after setting up a new route, and converted the textures into ACE format using RWace. I've linked to the ace files in the blueprint, and set the properties for the display in the game in the blueprint.

The blueprint is in (name of route)\Environment\Terrain, and the source .ace files are located in the grass folder in the string of folders that you are requested to create before exporting. There is no Wang selected, as these are single textures. Other than the things already mentioned, I can't think of what I may be doing wrong.


You didn't mention it - did you reference the new blueprint in your RouteProperties.xml file? Look for the section titled <TerrainBlueprint>. Ensure this section of the RouteProperties is pointing to your newly created Terrain Texture blueprint.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Tue Nov 25, 2014 9:07 pm
by SAR704
The route blueprint is directly linked to the terrain blueprint. Here's the setup

Terrain blueprint

(author)\(name of route)\Environment\Terrain\Terrain_Texture_Blueprint.xml

Route Blueprint

(author)\(name of route)\Route_blueprint1.xml

The two main textures are located in the grass folder, with references, converted to ace with RWace.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Wed Nov 26, 2014 10:22 am
by wacampbell
SAR704 wrote:Route Blueprint

(author)\(name of route)\Route_blueprint1.xml



From your responses, I think you still have not linked your RouteProperties.xml to the new terrain blueprint as mentioned in my Nov 13, 2014 post two weeks ago.

After the route is created, changes to the Route Blueprint in your assets folder have no effect on your route. You must edit the RouteProperties.xml file in your route's folder in the Content\Routes subdirectory.

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Wed Nov 26, 2014 11:11 am
by PapaXpress
The answer was already mentioned, but perhaps this could help?
http://thegradecrossing.blogspot.com/20 ... to-cc.html

Re: Problem getting custom terrain textures to appear in game

Unread postPosted: Wed Nov 26, 2014 10:58 pm
by SAR704
wacampbell wrote:
SAR704 wrote:Route Blueprint

(author)\(name of route)\Route_blueprint1.xml



From your responses, I think you still have not linked your RouteProperties.xml to the new terrain blueprint as mentioned in my Nov 13, 2014 post two weeks ago.

After the route is created, changes to the Route Blueprint in your assets folder have no effect on your route. You must edit the RouteProperties.xml file in your route's folder in the Content\Routes subdirectory.


Hmm, I got confused with route properties in the blueprint section. I've edited the route properties.xml file in the content folder, and changed the provider, and they show up now. Thanks for that. Didn't realise you had to edit files in that folder.