View Full Version : Junctions
Owls91
04-18-2003, 04:17 PM
This question has been raised before on the Crotrainz message boards, however, since that forum doesnt even have a searchable archive I cant find the answer I am looking for. The question is;
How do I move the track that the train travels on across to the left/right so I can create a junction? Ive tried moving the track across using the method for shifting other tracks ie. Rail 0;-2 but it doesnt seem to work.
Any help would be greatly appreciated.
jantorre
04-18-2003, 05:19 PM
I think you have to use .curve or .turn commands.
If you use the .curve, and dont know the radius I found that the switch\rail objects that the fantastic SWITCH program makes includes the rail data, including radius. THANK YOU Rüdiger Hülsmann!
His program is under downloads:
http://home.t-online.de/home/r.hulsmann/
Im shure that coders on this forum will help you with a more detailed "guide".
A usefull tip though is to look in routefiles that you download(like the tube lines) and look in their code
My bedtime story of toonight is 24 pages of the Circle line.
Hope that this helps a bit
Stooopid_person
04-19-2003, 12:08 AM
Use .curve radius;cant,
Remember to put a .curve 0 to stop the curve!
OR you can use the .turn command. .turn ???,
I'm not sure what the variable in .turn is but I have experminted, use numbers below 1. E.g. 0.x otherwise the track will be turned about 90 degrees!
For .turn, there is no need to put a .turn 0. .turn is useful for crossing over to other tracks.
Routemaster J
04-19-2003, 07:45 AM
.turn is the ratio that you move left or right every 25m!
Say you want to move to a track 5 metres to the left then that is
-5/25=-0.2
So using .turn -0.2, will move you 5m to the left every 25m, until you cancel it by saying the opposite, ie. .turn 0.2! Just remember to keep other tracks straight just define thier position relative to track 0, or they will all follow!
100, .rail 1;5, .rail 2;-5, .turn -0.2, .rail 3;0
125, .rail 1;10, .rail 2;0, .turn 0.2, .rail 3;5
Result (diagramatic):
0 3 1
| | |
|\| |
| | |
2 0 1
Hope this helps!
TomBoyRacer
04-19-2003, 08:27 PM
To be honest, After spending a year working this way, I found that using freeobj points generated in switch, with a invisible track to trigger the point sounds is the best way, but it takes a little practise to get it right.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.