Changing tracks on bridges, crossings and tunnels.

Grazza

New member
Is there any way to change the tracks on crossings, bridges and tunnels.
I am using a certain type of track and then I put a bridge but when I connect it to the bridge the track on the bridge doesnt change, and I cant seem to work out how to get around it.
Can anyone help???
 
The config.txt for a bridge usually has the KUID of the track used. Usually you can just change it to the track you want,

Segy
 
To have changing track you will need to have the line

useadjoiningtracktype 1

example:

track <kuid:-10:137>
useadjoiningtracktype 1
vertices
{
0 "a.track1a"
1 "a.track1b"
}
 
Or the "cheat" way is to lay your selected across the bridge ON TOP of the bridge track and lower the bridge until your track obscures the bridge track.
 
2004 or 2006

For 2004 .....

I cheated in a big way for my own use, I used Trainz object and told the map to search for all assets, i then looked at the list, found the bridge track and Told it to replace that one with the one I wanted ....

Just be careful to replace single with single and double with double track.

When I went back into trainz all the tracks had changed to the ones I wanted.

Tom
 
The other option is to do the 'alias' trick. This is useful if you also want to use the bridge in its original form as well as its 'modified' form. I've done that myself but it does mean you can't upload it to DLS.






Cheers

Nix
 
Changing Bridge Track

To have changing track you will need to have the line

useadjoiningtracktype 1

example:

track <kuid:-10:137>
useadjoiningtracktype 1
vertices
{
0 "a.track1a"
1 "a.track1b"
}

So if the only mention of track in the config.txt file is
istrack 0
how would you change it?
Thanks
 
Here's the method I was told for TRS2004 when I wanted to make the same bridges with snow tracks. I'd advise copying this into Notepad and saving it in wahtever folder you store TRS Docs in:

Code:
Here is an example using the "Alias" command to change the track on a built-in bridge 
 
kuid           <kuid:*******:******> --- Your kuid Here
kind           "bridge"
alias           <kuid:-1:101166>      --- Alias from the Built-in files -- stonepole_uk_1t
bridgetrack       <kuid:****:****>      ---  Change the track here to one with snow
trackoffsets        2.5                   
height            -50
rgb            0,0,255
region            "UK"
length            20
istrack            1
casts_shadows        1
type            "Bridges"
category-era-0        "1900s"
category-era-1        "1910s"
category-era-2        "1920s"
category-era-3        "1930s"
category-era-4        "1940s"
category-era-5        "1950s"
category-era-6        "1960s"
category-era-7        "1970s"
category-era-8        "1980s"
category-era-9        "1990s"
category-era-10        "2000s"
category-era-11        "2010s"
category-region-0   "US"
category-class        "TB"
trainz-build        1.3
description        " "
asset-filename        "stonepole_uk_1t"
username        "Concrete Stone Pole 1 Track"
thumbnail                            
author            " "
organisation        " "
contact-email        " "
contact-website        " "
license            " "
 
you will need to change the line ..
username "Concrete Stone Pole 1 Track"
to something appropriate e.g. "Concrete Stone Pole 1 Track Snow" 
You can alias any track you like to the standard Auran bridges or tunnels
 
Changing Bridge Track

Post the config file here, if you don't mind - you will probably just have to add a couple lines.
The config.txt :-

kuid <kuid:72730:37511>
asset-filename "GT_Viadukt1_G"
istrack 0
isroad 1
carrate 0
bendy 1
type "Bridge"
light 1
region "DE"
height 5
casts_shadows 0
kuid-table {
}
obsolete-table {
}
length 20
trainz-build 2
description "1-gleisiges Viadukt, bis zu 100 m hoch, Granit"
category-class "TB"
category-region-0 "DE"
category-era-0 "1900s"
username "1gl-Viadukt-Granit"
thumbnail
author "Gerd Traue"
organisation "&"
contact-email "contact@gerd-traue.de"
contact-website "http://gerd-traue.de"
license "Freeware, this object is released free of charge. You may use and redistribute the model as long as the readme file and this licence is included. Download over other web pages is permitted, please send me a notification by email.
Copyright of the model and original textures remains with Gerd Traue.
Commercial use of my Objects without permission is strictly prohibited and will be prosecuted !"
kind "track"
 
Interesting - I wonder how this asset works without a bridgetrack entry? Is there no functional track other than what is modeled into the bridge model?
 
Interesting - I wonder how this asset works without a bridgetrack entry? Is there no functional track other than what is modeled into the bridge model?

I wonder if the track is built-in as part of the mesh, and he uses an invisible track to allow the train to drive over the bridge on the fake track.

John
 
Bridge Track

Yes there appears to be track on it (looks like 42") but no vertices to connect to.
Looks as if it is a road bridge over which you lay your road or track. Interestingly enough I note that tcorken has recently uploaded a similar bridge which also appears to have track on it.
I think I'll just use the nearest equivalent rail bridge and compromise on authentic looks. That'll be easier than overlaying track on a rising gradient curve.
Thanks for all the help & suggestions.
 
It is possible to build a bridge as road or track with the track or road as part of the mesh. I have a couple of track bridges on the download station I made that way. They look like bridges, but act like track. You can attach another track spline to it just like you are laying tracks. The problem with kind "bridge" is it doesn't curve very well. But tracks curve fine with no kinks and you can use the track straitener tool on it. The above bridge looks like a road bridge from the config file. You could try reversing the one and zero between the istrack and isroad lines and see if that works. It should.

Jack
 
Or the "cheat" way is to lay your selected across the bridge ON TOP of the bridge track and lower the bridge until your track obscures the bridge track.

i think this is the safest way to do it, if you begin messing with config txt's then that will only work for your computer, if uploaded to the dls, then i dont think these changes would show when downloaded.

cheers

Gav
 
The bridge in question is part of Gerd's excellent viaduct kit, and does not have any track on it. The rails you can see are check rails. The bridge spline is designed to be used with the fundaments and pillars supplied as part of the kit, to which the bridge and track(s) can be attached. The only drawback is that the fundaments (which are type mocrossing, and have attached track) do not change their track type when you attach spline tracks to them. This is where changing the useadjoiningtracktype trick comes in.



The alias trick is best used on spline bridges and tunnels, and does work on built-in assets. See 123327:38815 and other bridges and tunnels by honeymonster1971 for examples of how this is done.

Hope this helps...

Paul
 
Back
Top