Hi,
I'm trying to get my head around the (global) TSECTION.DAT file. I'm new to this and am trying to create a tram route so it needs some pretty severe curves, where it would go round corners on streets. I'm just experimenting at the moment. The version of TSECTION.DAT that I am using is based on Build 00038.
From what I can see, the track shapes, say for example the 250r curve references two other track sections, when I look at those two other track sections, they seem to reference two more track sections and it goes on. I have seen examples where they seem to reference themselves, although I have to be honest, sometimes I get a bit lost.
I tried to create a new 100r curve at 10 degrees, and I get strange results. I'm using TSRE5 for the track builder, blender to build the objects, and Open Rails as the simulator.
When I add the track section, and then press Z to add it to the TDB, I dont get the yellow line. It will go in but when I run OR, the train stops when it gets to the section. Also, it will crash TSRE5 if I try to delete the object or press Z to take it back out of the TDB. However, if I place it and then press X a few times to get the curve to point the other way, it works fine.
I've looked in this forum, google and a couple of other forums to see if I can find the answer, but nothing which seems to 100% show me where I'm going wrong.
If anyone can point me in the right direction or how the logic of the two parts in the TSECTION.DAT file are put together, I would be most grateful.
Below are snippets from my TSECTION.DAT file
The trackshape PArt
And pictures of what I see in TSRE5
The left hand curve (doesnt work)
LeftHand.jpg
The right hand curve after pressing X (Does work)
RightHandPressedX.jpg
Also attached is my TSECTION.DAT
Thanks,
Wolfgang
I'm trying to get my head around the (global) TSECTION.DAT file. I'm new to this and am trying to create a tram route so it needs some pretty severe curves, where it would go round corners on streets. I'm just experimenting at the moment. The version of TSECTION.DAT that I am using is based on Build 00038.
From what I can see, the track shapes, say for example the 250r curve references two other track sections, when I look at those two other track sections, they seem to reference two more track sections and it goes on. I have seen examples where they seem to reference themselves, although I have to be honest, sometimes I get a bit lost.
I tried to create a new 100r curve at 10 degrees, and I get strange results. I'm using TSRE5 for the track builder, blender to build the objects, and Open Rails as the simulator.
When I add the track section, and then press Z to add it to the TDB, I dont get the yellow line. It will go in but when I run OR, the train stops when it gets to the section. Also, it will crash TSRE5 if I try to delete the object or press Z to take it back out of the TDB. However, if I place it and then press X a few times to get the curve to point the other way, it works fine.
I've looked in this forum, google and a couple of other forums to see if I can find the answer, but nothing which seems to 100% show me where I'm going wrong.
If anyone can point me in the right direction or how the logic of the two parts in the TSECTION.DAT file are put together, I would be most grateful.
Below are snippets from my TSECTION.DAT file
Code:
_Info(100m 10d) TrackSection ( 50003 SectionSize ( 1.435 0 ) SectionCurve ( 100 -10 ) ) _Info (100m 10 outer curve part) TrackSection ( 50103 SectionSize ( 1.435 0 ) SectionCurve ( 102.4925 -10 ) ) _Info (100m 10 inner curve part) TrackSection ( 50203 SectionSize ( 1.435 0 ) SectionCurve ( 97.5075 -10 ) )
Code:
TrackShape ( 50003 FileName ( t2c100r10d.s ) NumPaths ( 2 ) SectionIdx ( 1 -2.4925 0 0 0 50203 ) SectionIdx ( 1 2.4925 0 0 0 50103 ) ) TrackShape ( 50103 FileName ( dummy.s ) NumPaths ( 1 ) SectionIdx ( 1 2.4925 0 0 0 50103 ) ) TrackShape ( 50203 FileName ( dummy.s ) NumPaths ( 1 ) SectionIdx ( 1 -2.4925 0 0 0 50203 ) )
And pictures of what I see in TSRE5
The left hand curve (doesnt work)
LeftHand.jpg
The right hand curve after pressing X (Does work)
RightHandPressedX.jpg
Also attached is my TSECTION.DAT
Thanks,
Wolfgang







Comment