Need Help Please Problem With Config File

km1961

Content & Picture DVD
Hi

Have created an road piece in GMAX and have attached point at either end for other road pieces to conect to. When I place this item onto baseboard and try to attatch another piece to it, Trainz program crashes. Anybody know where I am going wrong. Config file below

trainz-build 2.5
category-class "BB"
category-region "BR"
category-era "2010s"
username "crossover"
kind "buildable"
mesh-table {
crossover {
mesh "crossover.IM"
auto-create 1
}
}
attached-track {
useadjoiningtracktype 1
vertices {
0 "a.left"
1 "a.right"
}
}
kuid <kuid:240102:1071>

Thank you all and lookforward to your helpful replies

Kevin
 
Kevin,

I would have a look at the naming of the attachment points if I were you. I think they should be something like a.track0a, and a.track0b, rather than a.left, and a.right.

But I'm no expert.

regards
Charles
 
Hi Charles

Thank you I will try it tomorrow as we are about to have tea and watch some television

Will let you know tomorrow the outcome

Thank you

Kevin
 
KIND: TRACK​
– ROAD

Default location:​
C:\Program Files\Auran\TRS2004\World\Custom\Track\​
This is used for creating roads.​
config.txt:​
kuid <KUID2:####:####:1>
kind track
type Roads
region Australia
length 5
grounded 0.4
istrack 0
width 7.9
bendy 1
isroad 1
uncached_alphas 1
carrate 55
obsolete-table
{
}
username
description " "
trainz-build 1.5
category-class SR
category-region-0 AU
category-era-0​
Breakdown:
region​
Surveyor region.​
type​
Surveyor type.​
length​
Length of track segment in meters.​
grounded​
Height in meters for the road to be offset from terrain.​
istrack​
0​
= This is not rail tracks .

width​
Width of track mesh in meters.​
bendy​
Switches how track is bent on corners, set as 1 allows
the mesh to be deformed as the spline is bent around​
corners.​
isroad​
Specifies track is a road with cars,​
1 for cars to appear on road
0 for no cars to appear.​
uncached_alphas​
This is used in certain situations to improve alpha sorting.​
This should only be set to 1 for tracks that use an alpha
texture and are always placed flat near the ground. This
is only used on road splines.​
carrate​
Defines traffic density on road (minimum seconds
between each car generated).
0 = No traffic.
Number must be greater than 3.​
Refer to Tips and Tricks Chapter on how to add created​
vehicles to road traffic.​
Additional Notes for splines:​
Splines may be used to create a number of objects that
are not track, a building, bridges, walls, fences a row of​
poles or trees for example.​
upright 0​
This effects how vertical the objects in the spline are, for​
example a row of poles:​
0 = the poles will be placed at right angles to the slope of​
the ground.​
1 = the poles will be truly vertical regardless of the ground​
slope.​
Notes:​
bendy and upright have a visible effect for Kind
Track splines, see diagram below. For Kind Bridge or
Tunnel, the splines show as in bendy 1, bendy 0 has
no visual effect. However, bendy 1 should always be
entered in the config.txt file for bridge and tunnel Kinds,

as the tag improves handling of the spline and Trainz
performance .
A Kind track placed on the ground is now height​
adjustable, and is the best option for most spline models.​
Splines of Kind track have a much less frame rate and​
performance impact than Kind bridge.
 
Last edited:
Back
Top