I'm working on making the turntables operational.
Here a rough demo video (no fake):
https://youtu.be/zsyg7_vWEto
Further details in the next days.
Operational turntable
#3
Posted 14 May 2016 - 04:45 PM
I really don't think there are words to describe the significance of this development - and how awesome it is! http://www.elvastower.com/forums/public/style_emoticons/default/bravo.gif
I'm sure I echo the feelings of many others when I say thanks for your efforts (and everyone else on the OR team for that matter) and all of the work that you do to make a great sim even better http://www.elvastower.com/forums/public/style_emoticons/default/sign_thank_you.gif
And my closing thought, this sure looks like another nail in the coffin of tired old MSTS :D
I'm sure I echo the feelings of many others when I say thanks for your efforts (and everyone else on the OR team for that matter) and all of the work that you do to make a great sim even better http://www.elvastower.com/forums/public/style_emoticons/default/sign_thank_you.gif
And my closing thought, this sure looks like another nail in the coffin of tired old MSTS :D
#4
Posted 14 May 2016 - 04:57 PM
Carlo !
To say I'm not only elated and extremely impressed by your work is a great understatement . Congratulations on an upcoming wonderful improvement for OR .
I'm really looking forward to this major innovation .
To say I'm not only elated and extremely impressed by your work is a great understatement . Congratulations on an upcoming wonderful improvement for OR .
I'm really looking forward to this major innovation .
#5
Posted 14 May 2016 - 06:22 PM
This will be great fun. And of course fill a hole.
But like midneguy said, the significance of this improvement is also symbolic. It is a significant enough advance that people will take note. It will put open rails on the map as having arrived.
Christopher
But like midneguy said, the significance of this improvement is also symbolic. It is a significant enough advance that people will take note. It will put open rails on the map as having arrived.
Christopher
#6
Posted 14 May 2016 - 07:44 PM
A Gold Medal award to Carlo, for a grande achievement event in the development of Open Rails.
Kudos!
Cheers Bazza.
Kudos!
Cheers Bazza.
#7
Posted 15 May 2016 - 01:04 AM
Thank you for appreciation!
In the meantime I start indicating the requirements for a turntable to be operational.
The turntable must be within tsection.dat. In the demo I used A1t27mTurntable.s, because it has the rotating bridge implemented as a single subblock, and I added the animation in the uncompressed .s file. Other turntables must be structured as that one, that is:
1) within tsection.dat the TrackShape structure must include the (invisible) track sections for all angles where an external track can be connected. The track sections must cover half circle, because they extend to the whole diameter, and therefore also to the other half circle. As an example the above turntable has following block within tsection.dat:
2) the shape (the .s file) must have an animated rotating bridge The animation block must be as shown here:
Unfortunately the above turntable has TRACKPIECE wich is not centered at the center of the platform, therefore I had to add also a translation animation. I attach here the block to be added at the end of the existing A1t27mTurntable.s (just above the last parenthesis).
a1t27mturntable_animations.zip (3.95K)
Number of downloads: 1259
To every route containing operational platforms a .dat file must be added, to be inserted in an OpenRails subdirectory within the route directory, with following format (example used for the demo video route):
XOffset, YOffset and ZOffset indicate the offset of the center of the turntable, relative to the zero of the shape.
I have analyzed tsection.dat: no other turntable available there has a shape with the rotating bridge within a separate and unique block (and therefore easily animable). But for a shape builder it's easy to replace the available shape with another one with same name, that has an animated bridge.
I think following turntables can be made operational with a new shape (in addition to the one I used of course):
- SR_Turntable_c_37m.s
- SR_Turntable_w_37m.s
- A1t42mTurntable.s
- ukfs_tt_68ft.s
- N1t16mTurntable.s (narrow gauge).
Therefore there is a starting base. If new turntables are desired, additions to tsection.dat should be considered and agreed.
It would be nice if a list of routes could be generated where A1t27mTurntable.s or any other of above turntables is present.
In the meantime I start indicating the requirements for a turntable to be operational.
The turntable must be within tsection.dat. In the demo I used A1t27mTurntable.s, because it has the rotating bridge implemented as a single subblock, and I added the animation in the uncompressed .s file. Other turntables must be structured as that one, that is:
1) within tsection.dat the TrackShape structure must include the (invisible) track sections for all angles where an external track can be connected. The track sections must cover half circle, because they extend to the whole diameter, and therefore also to the other half circle. As an example the above turntable has following block within tsection.dat:
TrackShape ( 253 FileName ( A1t27mTurntable.s ) NumPaths ( 18 ) SectionIdx ( 1 0 -0.18 0.0000 0 338 ) SectionIdx ( 1 -2.3278 -0.18 0.2040 10 338 ) SectionIdx ( 1 -4.5847 -0.18 0.8080 20 338 ) SectionIdx ( 1 -6.7025 -0.18 1.7960 30 338 ) SectionIdx ( 1 -8.6166 -0.18 3.1360 40 338 ) SectionIdx ( 1 -10.269 -0.18 4.7884 50 338 ) SectionIdx ( 1 -11.609 -0.18 6.7025 60 338 ) SectionIdx ( 1 -12.597 -0.18 8.8203 70 338 ) SectionIdx ( 1 -13.201 -0.18 11.077 80 338 ) SectionIdx ( 1 -13.405 -0.18 13.405 90 338 ) SectionIdx ( 1 -13.201 -0.18 15.733 100 338 ) SectionIdx ( 1 -12.597 -0.18 17.990 110 338 ) SectionIdx ( 1 -11.609 -0.18 20.107 120 338 ) SectionIdx ( 1 -10.269 -0.18 22.022 130 338 ) SectionIdx ( 1 -8.6166 -0.18 23.674 140 338 ) SectionIdx ( 1 -6.7025 -0.18 25.014 150 338 ) SectionIdx ( 1 -4.5847 -0.18 26.002 160 338 ) SectionIdx ( 1 -2.3278 -0.18 26.606 170 338 ) )
2) the shape (the .s file) must have an animated rotating bridge The animation block must be as shown here:
anim_node TRACKPIECE ( controllers ( 1 tcb_rot ( 3 tcb_key ( 0 0 0 0 1 0 0 0 0 0 ) tcb_key ( 1800 0 1 0 0.0 0 0 0 0 0 ) tcb_key ( 3600 0 0 0 -1 0 0 0 0 0 ) ) ) )
Unfortunately the above turntable has TRACKPIECE wich is not centered at the center of the platform, therefore I had to add also a translation animation. I attach here the block to be added at the end of the existing A1t27mTurntable.s (just above the last parenthesis).
a1t27mturntable_animations.zip (3.95K)
Number of downloads: 1259
To every route containing operational platforms a .dat file must be added, to be inserted in an OpenRails subdirectory within the route directory, with following format (example used for the demo video route):
2 Turntable( WFile ( "w-005625+014198.w" ) UiD ( 1280 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) ) Turntable( WFile ( "w-005631+014158.w" ) UiD ( 638 ) XOffset ( 0 ) YOffset ( -1.92177 ) ZOffset ( 13.4 ) TrackShapeIndex ( 253 ) Animation ( "TRACKPIECE" ) Diameter ( 27 ) )
XOffset, YOffset and ZOffset indicate the offset of the center of the turntable, relative to the zero of the shape.
I have analyzed tsection.dat: no other turntable available there has a shape with the rotating bridge within a separate and unique block (and therefore easily animable). But for a shape builder it's easy to replace the available shape with another one with same name, that has an animated bridge.
I think following turntables can be made operational with a new shape (in addition to the one I used of course):
- SR_Turntable_c_37m.s
- SR_Turntable_w_37m.s
- A1t42mTurntable.s
- ukfs_tt_68ft.s
- N1t16mTurntable.s (narrow gauge).
Therefore there is a starting base. If new turntables are desired, additions to tsection.dat should be considered and agreed.
It would be nice if a list of routes could be generated where A1t27mTurntable.s or any other of above turntables is present.
#10
Posted 15 May 2016 - 05:42 AM
List of routes containing A1t27mTurntable.s
Attached File(s)
-
A1t27mTurntable.s.txt (979bytes)
Number of downloads: 1372