Elvas Tower: What about loading coal in a coal train? - 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.
  • 13 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

What about loading coal in a coal train? Rate Topic: -----

#41 User is offline   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,662
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 23 September 2015 - 11:01 PM

What about cars that dump through the bottom? Will they also rotate? Or will you be able to set in the wag file if it should rotate or not?

#42 User is offline   Lutz_s 

  • Fireman
  • Group: Status: Active Member
  • Posts: 162
  • Joined: 31-January 10
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 24 September 2015 - 07:31 AM

If I understood it right, the animation of the rotating car is in reality a door animation. So the rotation is part of the car and not of any other object. An animation of a "door" in the bottom of the car should be also possible.

@Carlo
Great job. I only tested the loading functionality so far, but that worked great.

Lutz

#43 User is offline   asullenger 

  • Hostler
  • Group: Status: First Class
  • Posts: 86
  • Joined: 11-January 14
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 24 September 2015 - 10:28 AM

I made Carlo a bottom dumping coal car to work with, so it shouldn't be to long before he has that going. Hope I'm not speaking out of order here Carlo.....

#44 User is offline   Csantucci 

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

Posted 24 September 2015 - 12:22 PM

@Lutz: thank you. The wagon animation isn't a door animation (this was only the starting point to develop the car); it is a new animation whose matrixes within the .s file must be called UNLOADINGPARTS, and that is triggered by pressing and keeping pressed the T key on an unloading station.

@Jonatan: the rotation or not is automatically defined by the behaviour and the hierarchy position of the UNLOADINGOARTS. So no need for this reason to tell OR if there is a rotation or not. However I found out that this is info is needed to OR so that it knows if it has to rotate the load. So I think I will add that parameter within the ORTSFreightAnims block, as well another optional parameter that tells how many seconds pass from the the moment the T key is pressed to the moment where unloading begins (in case of rotation unloading does not begin immediately, instead it begins when the wagon has already rotated a certain amount of degrees).

@Anthony: referring to the hopper you prepared, you got a PM.

@Mervyn: I'm not an expert in the include features of OR, and therefore I don't know if OR accepts your way round referring to the includes.
However, even assuming that your solution worked, I still prefer my solution, for following reasons:
1) it does not require editing of the .wag files
2) it keeps well separated original MSTS files and added OR files
3) it should allow the creation of multiple .wag files (each include a different .wag), each with its own loads, having all the same base .wag file (I admit I didn't test this).

#45 User is offline   Csantucci 

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

Posted 25 September 2015 - 10:23 AM

I have now tested Anthony's hopper (thank you!). I added a parameter in the general lines of the ORTSFreightAnims block, that is
	UnloadingStartDelay (5)

that indicates the delay from unload animation start delay to effective begin of freight unloading.
Here some picture.
This is the starting state: wagon full, wagon bottom closed
Attached Image: Open Rails 2015-09-25 05-54-06.jpg

Pressing the T key, the wagon bottom begins opening, however freight doesn't yet decrease (hole too small)
Attached Image: Open Rails 2015-09-25 05-54-28.jpg

Freight begins decreasing, while wagon bottom continues opening
Attached Image: Open Rails 2015-09-25 07-15-06.jpg

At the end freight has been completely unloaded, wagon bottom is completely open, wagon weight is at its minimum
Attached Image: Open Rails 2015-09-25 05-54-52.jpg

T key is released, wagon bottom slowly returns to close state
Attached Image: Open Rails 2015-09-25 05-55-30.jpg

This is the include file for the hopper
include ( ../HOPPER_BOTTOM.wag )

Wagon (
ORTSFreightAnims
(
	MSTSFreightAnimEnabled (0)
	WagonEmptyWeight(22t)
	UnloadingStartDelay (5)
	FreightAnimContinuous
	(
	IntakePoint ( 0.0 6.0 FreightCoal )
	Shape(Coal.s)
	MaxHeight(0.1)
	MinHeight(-0.9)
	FreightWeightWhenFull(99t)
	FullAtStart(0)
	)	
	FreightAnimContinuous
	(
	IntakePoint ( 0.0 6.0 FuelCoal )
	Shape(Coal.s)
	MaxHeight(0.1)
	MinHeight(-0.9)
	FreightWeightWhenFull(99t)
	FullAtStart(0)
	)
)
)


#46 User is offline   asullenger 

  • Hostler
  • Group: Status: First Class
  • Posts: 86
  • Joined: 11-January 14
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 25 September 2015 - 12:14 PM

Glad to help out Carlo...........need anything else just give me a holler :sign_rockon:

#47 User is offline   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,662
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 26 September 2015 - 09:39 AM

I know of a bug(?) in MSTS where if you press shift+T, you'd lock a refill object to operate as long as the loco is stationary, and stop operating once the loco begins to move.

Since trains with bottom unloading do not stop entirely but slowly crawl over the unloading chute, maybe that should be in OR as part of the unloading object? Like set a min/max speed for unloading to begin, then you can roll your long coal train through e.g.: a power plant unloading facility at 2-3mph and unload each car continuously as it passes over the unloader.

#48 User is offline   Csantucci 

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

Posted 27 September 2015 - 11:32 AM

This video shows the result of today's work, which has been made in cooperation with asullenger (I stopped the wagon some inches too late...):
https://youtu.be/Qbpkj1tTbO0

Attached Image: Open Rails 2015-09-27 09-26-56.jpg

To Jonatan: yes, foreseeing a slowly rolling hopper train that unloads is in my mind.

#49 User is offline   Csantucci 

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

Posted 28 September 2015 - 08:42 AM

The first release of this functionality has been uploaded in x.3263, featuring continuous and static freight animations. I have the intention to prepare an update of the manual about this.

#50 User is offline   edwardk 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,350
  • Joined: 11-December 09
  • Gender:Male
  • Location:Chula Vista, CA
  • Simulator:MSTS
  • Country:

Posted 28 September 2015 - 01:23 PM

Thanks Carlo. The type of work that can be done in activities was just expanded. Does this mean certain coal cars have to be used?

Edward K.

  • 13 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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