Problem getting custom terrain textures to appear in game

Tips and discussion about scenery creation for RailWorks.

Problem getting custom terrain textures to appear in game

Unread postby SAR704 » Wed Nov 12, 2014 8:33 pm

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?
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Problem getting custom terrain textures to appear in game

Unread postby GreatNortherner » Thu Nov 13, 2014 6:47 am

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
User avatar
GreatNortherner
 
Posts: 1584
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: Problem getting custom terrain textures to appear in game

Unread postby SAR704 » Thu Nov 13, 2014 7:34 am

Yes I did both of these actions, prior to my original post in this topic.
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Problem getting custom terrain textures to appear in game

Unread postby wacampbell » Thu Nov 13, 2014 12:40 pm

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.
Wayne Campbell
wacampbell
 
Posts: 510
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Re: Problem getting custom terrain textures to appear in game

Unread postby SAR704 » Tue Nov 25, 2014 1:53 am

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.
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Problem getting custom terrain textures to appear in game

Unread postby wacampbell » Tue Nov 25, 2014 9:17 am

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.
Wayne Campbell
wacampbell
 
Posts: 510
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Re: Problem getting custom terrain textures to appear in game

Unread postby SAR704 » Tue Nov 25, 2014 9:07 pm

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.
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Problem getting custom terrain textures to appear in game

Unread postby wacampbell » Wed Nov 26, 2014 10:22 am

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.
Last edited by wacampbell on Wed Nov 26, 2014 11:21 am, edited 1 time in total.
Wayne Campbell
wacampbell
 
Posts: 510
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Re: Problem getting custom terrain textures to appear in game

Unread postby PapaXpress » Wed Nov 26, 2014 11:11 am

The answer was already mentioned, but perhaps this could help?
http://thegradecrossing.blogspot.com/20 ... to-cc.html
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Problem getting custom terrain textures to appear in game

Unread postby SAR704 » Wed Nov 26, 2014 10:58 pm

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.
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 1 guest