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.
  • 38 Pages +
  • « First
  • 21
  • 22
  • 23
  • 24
  • 25
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Operational turntable Rate Topic: ***** 1 Votes

#221 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 22 December 2016 - 02:40 PM

For those who create additional OR turntables, I have written an Excel table to generate TrackShape entries with track vectors of an individual turntable for the tsection.dat. Only need to enter the diameter and the number of the desired tracks (angle distance) about the turntable to build:

Attached Image: TurntableVectors_eng.jpg Table download here
Hope the comments in the table are sufficient as an explanation.

Added Jan 2, 2017:
The Excel table is for turntable shapes with a centered pivot.
So the declared offsets for the shape in the turntable.dat can be 0:
Turntable(
	WFile ( "w-005565+015054.w" )
	UiD ( 3787 )
	XOffset ( 0 )
	YOffset ( 0 )
	ZOffset ( 0 )
	TrackShapeIndex ( 264 )
	Animation ( "TRACKPIECE" )
	Diameter ( 23 )
)


#222 User is offline   Jovet 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 2,249
  • Joined: 14-January 08
  • Gender:Male
  • Location:Omaha, Nebraska.
  • Simulator:MSTS/Open Rails
  • Country:

Posted 22 December 2016 - 04:08 PM

View Postjonas, on 22 December 2016 - 02:40 PM, said:

For those who create additional OR turntables, I have written an Excel table to generate TrackShape entries with track vectors of an individual turntable for the tsection.dat. Only need to enter the diameter and the number of the desired tracks (angle distance) about the turntable to build:

That's going to be a handy tool, I suspect! Thanks for offering it!

#223 User is offline   Nicolò 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 47
  • Joined: 25-October 14
  • Simulator:OpenRails
  • Country:

Posted 15 February 2017 - 04:14 PM

Little test with animated doors:
https://youtu.be/2Y7hqfY4LEU

#224 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 491
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 07 April 2017 - 12:19 AM

Hi Carlo. I am making custom turntables for my route. In the original the locos fit on the turn table with the wheelbase giving about 1 metre of spare room. In Orts even though the wheels are clearly on the turntable bridge, the sim says train partially on turntable. The loco bounding box would be bigger than the turntable bridge
My question is what determines the loco position. Is it perhaps the loco bounding box, or the contact wheel base?
I can make the turntable bigger than the scale size to fit the bounding box. Or should I adjust the parameters in the .dat?

Many thanks for turntables and your recent track sounds
and thanks to Jonas for the spread sheet
rick

#225 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,143
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 07 April 2017 - 01:25 AM

Far as I know, OR does not use the bounding box, just the size. So even if the wheels are on the table, if the length is longer than the diameter of the turntable it will not all be on the table. Perhaaps it is time to introduce a new parameter for use on turntables, Wheelbase. Then if all the wheels are on the table, the locomotive is deemed to be on, not partially on.

#226 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 07 April 2017 - 01:46 AM

Hi Rick, to check whether a loco is completely on the turntable or not, ORTS uses the length of the train as defined in the Size () line in the .eng file and the Diameter () line of file turntables.dat. You can try increasing the Diameter () value, but not so much that the turntable rotates even if the wheels are outside it :)

#227 User is offline   rickloader 

  • Conductor
  • Group: Status: First Class
  • Posts: 491
  • Joined: 05-February 13
  • Gender:Male
  • Location:Southampton uk
  • Simulator:Open Rails
  • Country:

Posted 08 April 2017 - 01:59 PM

Thanks. Yes I did end up with the Turntable rotating, and the loco stationary. A further increase in the diameter in turntable.dat got the loco rotating but then gave a "position of train in turntable not clear at ORTS.simulation Physics. train reenter track sections" error.
Reckon I have screwed up the connection to the out going track.
So I will make the turntable model oversize on diameter. No one will notice, and it will make operation easier. No problem!
Thanks again for the help
rick



#228 User is offline   rdamurphy 

  • Open Rails Developer
  • Group: Private - Open Rails Developer
  • Posts: 1,199
  • Joined: 04-May 06
  • Gender:Male
  • Location:Thornton, CO
  • Simulator:MSTS - OR
  • Country:

Posted 08 April 2017 - 08:06 PM

Carlo, may I say, that is an impressive piece of programming! Awesome job!

Robert

#229 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 03 October 2017 - 02:33 AM

(Hi Carlo)
Is it possible to make the sound of the turntables the same way like it is with the horn of steam engines? There is a fade-out part at the end of the sound file (optional) which is only heared when releasing the horn key (spacebar), which is working fine in OR and MSTS.

This way a perfect start and stopping sound for a turntable could be simulated.

Maybe to realize this you only have to change the c# class of the used sound to the same of the horns. Or it is because the sound always stops immediately when the turntable stops.

I can only suspect of course, but if an easy change is needed to do this it will be a nice improving for turntables I think.

#230 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 03 October 2017 - 04:38 AM

Hi Jacob,
this is not an OR issue. It is something that is already possible, and that can be achieved by modifying the .sms file for the turntables.

  • 38 Pages +
  • « First
  • 21
  • 22
  • 23
  • 24
  • 25
  • 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