Problems With Custom Splines

iain2006

Member
After successfully creating buildings with Google Sketchup and and RubyTMIX, I have been trying to create a new road spline.

The spline seems to be created okay - It shows up in Trainz Objectz and in the asset list in surveyor where the thumbnail preview is also present however when I try to lay the spline it appears invisible. Cars will appear driving on the road however the texture itself is missing. All of the required files for the asset seem to be present in the folder so I am at a total loss as to what is causing this.

My first attempt was not properly aligned to the axes in Sketchup however I have rectified this to no avail.

Any ideas why my splines are invisible?


P.S.

I am using TRS 2004 so cannot import exactly as per the instruction for Sketchup but manually copying the files into the Despatcher folder and resetting the cache in TrainzObjectz works fine, for buildings at least. However since I am able to see the assets listed in Surveyor I am inclined to think the problem is something else.
 
Not having created content for anything prior to TC3, all I can suggest is that you should probably look at a similar road spline, see how it is set up in the config, and adapt those tags and values to your needs.

Kieran.
 
Thanks Kieran that's sorted it.

It was indeed problems with the config file and I'm guessing it's because the format for later versions is incompatible with pre TS2009. The category-era-0 and category region-0 were missing from the original and this was flagged up by Content Dispatcher.

Here's the modified config I've made by looking at other roads for the settings:

kuid <kuid2:277619:21013:1>
region "Sketchup Creations"
type "Roads"
description "Another model created in Google SketchUp and exported to Trainz with RubyTMIX. The effective system load of this asset is 1028 polygons (128 from geometry, 900 from textures)."
trainz-build 1.3
category-class "SS"
category-era-0 "1990s"
category-era-1 "2010s"
category-region-0 "US"
category-region-1 "US"
trainz-build 1.3
istrack 0
isroad 1
length 12
endlength 0.05
asset-filename "road_dbl_bus_lane"
width 1
grounded 0
light 1
casts_shadows 0
carrate 40
traffic-speed 13.41
numlanes 4
bendy 1


username "road_dbl_bus_lane"
author ""
organisation "*"
contact-email ""
contact-website "
"
license "!"
kind "track"

Here's the unmodified config below for comparison:

kuid <kuid2:277619:21014:1>
description "Another model created in Google SketchUp and exported to Trainz with RubyTMIX. The effective system load of this asset is 1028 polygons (128 from geometry, 900 from textures)."
username "Road_Dbl_Bus_Lane"
trainz-build 1.3
kind "track"
category-class "SR"
category-era "2010s"
category-region "GB"
author "Iain2006"
organisation ""
contact-email ""
contact-website ""
license ""

mesh-table
{
default
{
mesh "road_dbl_bus_lane.im"
auto-create 1
}
}

track
{
mesh-length 12.000
track-lod-tree
{
mesh "default"
}
}
istrack 0
isroad 1
carrate 10
traffic-speed 13.41
numlanes 4

thumbnails
{
0
{
image "thumbnail.jpg"
width 240
height 180
}
}
 
I have this same trouble with a board I imported from TS2009 to 2012.
There are tree splines that don't appear, but instead there are "ghost splines" on the landscape where trees should be. How to I replace them?
 
I have this same trouble with a board I imported from TS2009 to 2012.
There are tree splines that don't appear, but instead there are "ghost splines" on the landscape where trees should be. How to I replace them?

Hello,

I'm afraid what you describe is not quite the same.

Your issue appears to be that the route has Missing Dependencies.

You can go into Content Manager and use that to download any that are on the DLS.

Any unknowns, you can look up at Trainz Kuid Index.
(http://www.trainzkuidindex.com)

Kieran.
 
Back
Top