Elvas Tower: Operational turntable - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 24 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Operational turntable

#1 User is online   Csantucci 

  • Executive Vice President
  • Group: Elite Member
  • Posts: 3,587
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 14 May 2016 - 12:54 PM

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.

#2 User is offline   PA1930 

  • Foreman Of Engines
  • Group: Contributing Member
  • Posts: 770
  • Joined: 16-December 12
  • Gender:Male
  • Simulator:-
  • Country:

Posted 14 May 2016 - 04:01 PM

That is amazing! Great work, Carlo!

#3 User is offline   midneguy 

  • Foreman Of Engines
  • Group: First Class
  • Posts: 840
  • Joined: 29-August 11
  • Gender:Male
  • Location:Nebraska
  • Simulator:MSTS
  • Country:

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

#4 User is offline   Hobo 

  • Engineer
  • Group: Active Member
  • Posts: 616
  • Joined: 19-December 04
  • Gender:Male
  • Location:Paris,Ont- Canada
  • Simulator:OPEN RAILS & MSTS
  • Country:

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 .

#5 User is offline   conductorchris 

  • Superintendant
  • Group: First Class
  • Posts: 1,499
  • Joined: 24-March 10
  • Gender:Male
  • Simulator:Open Rails - MSTS
  • Country:

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

#6 User is offline   captain_bazza 

  • Chairman, Board of Directors
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 13,365
  • Joined: 21-February 06
  • Gender:Male
  • Location:Way, way, way, South
  • Simulator:MSTS & OR
  • Country:

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.

#7 User is online   Csantucci 

  • Executive Vice President
  • Group: Elite Member
  • Posts: 3,587
  • Joined: 31-December 11
  • Gender:Male
  • Country:

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:
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).
Attached File  a1t27mturntable_animations.zip (3.95K)
Number of downloads: 177

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.

#8 User is offline   longiron 

  • Open Rails Developer
  • Group: Elite Member
  • Posts: 2,799
  • Joined: 25-July 08
  • Gender:Male
  • Location:Manasquan, NJ
  • Simulator:Open Rails, MSTS editors
  • Country:

Posted 15 May 2016 - 03:11 AM

Brilliant work. I'm sure modelers will jump on this.

#9 User is offline   Howky 

  • Fireman
  • Group: Active Member
  • Posts: 163
  • Joined: 14-February 13
  • Simulator:MSTS
  • Country:

Posted 15 May 2016 - 04:17 AM

Will it work even multiplayer ? :-)

#10 User is offline   Buttercup 

  • Conductor
  • Group: Active Member
  • Posts: 373
  • Joined: 24-July 08
  • Gender:Male
  • Country:

Posted 15 May 2016 - 05:42 AM

List of routes containing A1t27mTurntable.s

Attached File(s)



  • 24 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users