Elvas Tower: Open letter to Csantucci. - Elvas Tower

Jump to content

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

Open letter to Csantucci. Transfer Tables (Transversers) Rate Topic: -----

#11 User is offline   Csantucci 

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

Posted 11 January 2017 - 05:34 AM

Here is a demo route plus additional files needed to test the feature and to see how the relevant files are structured:
Attached File  Transfertablekit.zip (2.76MB)
Number of downloads: 363
The kit must be unpacked in your standard Train Simulator installation, and does not modify existing files.
Here are the .exe and .dll files to replace in version x.3746


The demo route uses standard trainsets.
The transfertable is moved with keys Alt+C and Ctrl+C, like the turntable, and the loco must be in manual or explorer state, at zero speed, zero throttle and reverser in neutral.
Note that with the path included, when running in activity mode, the loco will activate the reversal point when it stops in the Transfer Table. The path can also built in other ways of course.
You can also activate the static locos with the TrainListWindow and move them on the Transfer Table or use them to put wagons on the Transfer Table.

Relevant files are:
- (within the route's Openrails subfolder) turntables.dat. This file contains a block for each transfertable, in a very analogous way as it does for each turntable. In effect the file can contain both turntable blocks and transfertable blocks
- (within the route's Openrails subfolder) tsection.dat. This additional tsection.dat file contains the TrackShape block for the Transfer Table. Open Rails will directly access such file for the transfer table, without need to copy the TrackShape block into the Global tsection.dat. However copying the file is necessary if you want to use MSTS RE or AE on this route.
- (within Global\Shapes) a1t27mtransfertable.s , which is a derived from its sister turntable, replacing the rotating animation with a translating one and making the static part transparent. Note that the 3600 that you find in the animation part may be also other numbers (buth they must be the same), because the number of frames should be proportional to the width of the Transfer Table (about 60 frames per meter)
- (within the route's Textures subfolder) a1t27mtransfertable.ace: the modified texture file.
The Transfer Table uses the sound of the turntables.

26/1/17: modified .exe and .dll files deleted because now feature committed

#12 User is offline   Jovet 

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

Posted 12 January 2017 - 01:16 AM

Very nice, Carlo! You're a hero and a gentleman.

#13 User is offline   lineman 

  • Conductor
  • Group: Status: Active Member
  • Posts: 442
  • Joined: 19-April 08
  • Gender:Male
  • Location:Arizona
  • Simulator:Open Rails Train Simulator
  • Country:

Posted 12 January 2017 - 12:51 PM

View PostCsantucci, on 11 January 2017 - 05:34 AM, said:

Here is a demo route plus additional files needed to test the feature and to see how the relevant files are structured:
Attachment Transfertablekit.zip
The kit must be unpacked in your standard Train Simulator installation, and does not modify existing files.
Here are the .exe and .dll files to replace in version x.3746
Attachment OR_Transfertable.zip

The demo route uses standard trainsets.
The transfertable is moved with keys Alt+C and Ctrl+C, like the turntable, and the loco must be in manual or explorer state, at zero speed, zero throttle and reverser in neutral.
Note that with the path included, when running in activity mode, the loco will activate the reversal point when it stops in the Transfer Table. The path can also built in other ways of course.
You can also activate the static locos with the TrainListWindow and move them on the Transfer Table or use them to put wagons on the Transfer Table.

Relevant files are:
- (within the route's Openrails subfolder) turntables.dat. This file contains a block for each transfertable, in a very analogous way as it does for each turntable. In effect the file can contain both turntable blocks and transfertable blocks
- (within the route's Openrails subfolder) tsection.dat. This additional tsection.dat file contains the TrackShape block for the Transfer Table. Open Rails will directly access such file for the transfer table, without need to copy the TrackShape block into the Global tsection.dat. However copying the file is necessary if you want to use MSTS RE or AE on this route.
- (within Global\Shapes) a1t27mtransfertable.s , which is a derived from its sister turntable, replacing the rotating animation with a translating one and making the static part transparent. Note that the 3600 that you find in the animation part may be also other numbers (buth they must be the same), because the number of frames should be proportional to the width of the Transfer Table (about 60 frames per meter)
- (within the route's Textures subfolder) a1t27mtransfertable.ace: the modified texture file.
The Transfer Table uses the sound of the turntables.



Why when a loco rolls onto the t-table does it grow about 3 times its normal size. After the t-table is moved, the loco jumps back to the original track, and the t-table stays connected to whichever track it has been moved to?

#14 User is offline   Csantucci 

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

Posted 12 January 2017 - 01:53 PM

Sorry, but I don't understand what you mean.

#15 User is offline   lineman 

  • Conductor
  • Group: Status: Active Member
  • Posts: 442
  • Joined: 19-April 08
  • Gender:Male
  • Location:Arizona
  • Simulator:Open Rails Train Simulator
  • Country:

Posted 12 January 2017 - 04:31 PM

When using your test route for the new transfer table the locomotive is stretched about 3 times as high as normal and about 2 times as wide. It is also displayed above the terrain and it is had to center it on the transfer table. Once there the table will move with the correct keys in the correct direction. When the table has moved and connected to the new track as you drive the locomotive forward from its position above the transfer table, it jumps back to the original track (the first one you approach on) and becomes original size again.

#16 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 976
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 12 January 2017 - 06:06 PM

Csantucci, Absolutely beautiful work. I can't believe it was so easy to get working transfer tables. Just Brilliant!

I do have a question though? When the transfer table is at the end of it's own rails does it automatically stop or just derail? What are the parameters for setting up the boundry of travel for the table?

The video presentation might be better if a actual transfer table was used. The one available that I really like is at www.trainsim.com l36xftbl.zip

Got another quick question? Can both a new built turntable and transfer table accommodate rotating wheels under the tables? Does the ORTS code support animations in this manner? Also before a turntable or transfer table is moved a buzzer is sounded before and after the move depending on Railroad safety practice. NA Transfer Table

Robert

#17 User is offline   Csantucci 

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

Posted 13 January 2017 - 12:19 AM

Robert,
thank you for appraisal. Yes, the trainsim turntable that you're mentioning looks good and is a good basis. An animation has to be added and a TrackShape block has to be added in tsection.dat, but it shouldn't be difficult and should be feasible by anyone having basic knowledge about tsection.dat and animations in .s files, following what I have done with the a1t27mtransfertable.s in my demo route.
The boundary of the movements are set by the animation block in the .s file, and the transfertable won't derail.
The rotating wheels addition is only a question of shape building, and is possible. Animation should work.
Addition of a buzzer before motion starts is quite easy for anyone able to manipulate .sms files. However to have a realistic effect this should be connected to a delay in start of motion of the transfertable, which requires some further coding.

lineman,
what you say is very strange. Can you attach a screenshot of the magnified loco? In what release of OR have you inserted the modified .exe and .dll files?

#18 User is offline   lineman 

  • Conductor
  • Group: Status: Active Member
  • Posts: 442
  • Joined: 19-April 08
  • Gender:Male
  • Location:Arizona
  • Simulator:Open Rails Train Simulator
  • Country:

Posted 13 January 2017 - 07:52 AM

Using a separate version of OR- 3746 as I normally use the latest version.

Attached thumbnail(s)

  • Attached Image: Open Rails 2017-01-13 08-48-15.jpg
  • Attached Image: Open Rails 2017-01-13 08-48-15.jpg


#19 User is offline   Csantucci 

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

Posted 13 January 2017 - 09:40 AM

:ko2: I really don't know what this incredible thing can be. Do other persons have a similar problem?
lineman, do you have a similar problem with turntable operation (on x.3746 with and without patch)?

#20 User is offline   lineman 

  • Conductor
  • Group: Status: Active Member
  • Posts: 442
  • Joined: 19-April 08
  • Gender:Male
  • Location:Arizona
  • Simulator:Open Rails Train Simulator
  • Country:

Posted 13 January 2017 - 10:36 AM

I've never had it before but I'll do some testing and report back. Also in the above pics the engine is still on the entry track and as you can see I have moved the transfer table over several tracks.

  • 8 Pages +
  • 1
  • 2
  • 3
  • 4
  • 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