Elvas Tower: gap between couplings - Elvas Tower

Jump to content

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

gap between couplings Rate Topic: -----

#11 User is offline   edwardk 

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

Posted 12 August 2016 - 01:04 PM

OR is using CentreOfGravity(), but unfortunately not in the way it should be used.


Edward K.

#12 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 1,980
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 12 August 2016 - 04:29 PM

View Postedwardk, on 12 August 2016 - 01:04 PM, said:

OR is using CentreOfGravity(), but unfortunately not in the way it should be used.

How should CentreOfGravity be used in OR?

#13 User is offline   edwardk 

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

Posted 12 August 2016 - 06:28 PM

Evidently, MSTS use of CentreOfGravity() should be replicated in OR. It was probably determined at one point that it was not too important to work on, but this post is indicating the opposite.

Edward K.

#14 User is offline   QJ-6811 

  • Conductor
  • Group: Posts: Contributing Member
  • Posts: 442
  • Joined: 27-December 15
  • Gender:Male
  • Simulator:MSTS / Open Rails
  • Country:

Posted 12 August 2016 - 11:00 PM

View PostHobo, on 11 August 2016 - 01:08 PM, said:

You said a " Sister " locomotive . Is the model the same with only different FA and color or a different model altogether ?


Please check your mailbox


View Postianmacmillan, on 12 August 2016 - 01:38 AM, said:

Easiest solution is to set the size of the tender to be correct for the rear coupling and insert an invisible wagon between the loco and tender.


Thanks. An unexpected solution. Placing an "invisible car" between the locomotive and tender I think is not a good idea. I expect a tender as a second car does not function properly. The gap is at the front, but then you turn out the light problems ( incl. headlight on track). So it will have to be placed on the tender side. I will try it once soon .



View Postslipperman, on 12 August 2016 - 11:06 AM, said:

It appears that Open Rails doesn't read the CentreOfGravity entry from the eng file. This loco's entry is : CentreOfGravity ( 0m 2m -1.3m ). If that line is replaced with : CentreOfGravity ( 0m 0m 0m ) and run with MSTS, EXACTLY the same problem occurs with the front-coupled wagon.


Thank you for testing. Now I understand why I had no problems in MSTS...

I'm not sure, but I see in the default file the following lines:
CentreOfGravity ( 0m 2m -1.3m )
Centre ( 0m 0m -1.3m)
Is it just CentreOfGravity or maybe a combination with Centre? (Difference in MSTS or ORTS)

.

#15 User is offline   copperpen 

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

Posted 13 August 2016 - 12:30 AM

View Poststeamer_ctn, on 12 August 2016 - 04:29 PM, said:

How should CentreOfGravity be used in OR?


Check the last part of the coupling tutorial at Steam4me.

#16 User is online   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 12 December 2016 - 06:25 AM

I'm working on a fix in https://bugs.launchp...or/+bug/1649285

#17 User is online   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 12 December 2016 - 07:22 AM

View Postslipperman, on 12 August 2016 - 11:06 AM, said:

It appears that Open Rails doesn't read the CentreOfGravity entry from the eng file. This loco's entry is : CentreOfGravity ( 0m 2m -1.3m ). If that line is replaced with : CentreOfGravity ( 0m 0m 0m ) and run with MSTS, EXACTLY the same problem occurs with the front-coupled wagon.

As has been mentioned previously, it seems that the only way to correct it for the current version of OR is to modify the shape file. That doesn't seem to be the right way to go, because who knows how many other locos will have the same problem? Wouldn't it be better if OR read that entry and acted on it as MSTS does?

This should be fixed in X3693.

#18 User is offline   Lindsayts 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,849
  • Joined: 25-November 11
  • Gender:Male
  • Country:

Posted 15 December 2016 - 12:22 AM

There is a similair problem in Australia with a payware model of Victorian Railways H220, for some unknown reason the developers made the tender to long at the front for its bounding box and they then put an invisible wagon containing just the locomotives crew to space it back . In this case though it was possible to solve the issue and go without this invisible wagon by changing the tenders bounding box. Surely though if the bounding box does not match the shape file there's an error with the model as there is in this case

Lindsay

#19 User is offline   copperpen 

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

Posted 28 December 2016 - 01:56 AM

View PostJames Ross, on 12 December 2016 - 07:22 AM, said:

This should be fixed in X3693.


Just been dealing with an articulated locomotive that uses centreofgravity to position the lead section. This works fine in MSTS, but with the OR version of CofG, I have to subtract 2 meters to get it in the same place. Seems like the OR CofG is working in reverse when compared to MSTS because OR offsets the lead unit to the rear by those 2 meters'

#20 User is online   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 28 December 2016 - 08:50 AM

View Postcopperpen, on 28 December 2016 - 01:56 AM, said:

Just been dealing with an articulated locomotive that uses centreofgravity to position the lead section. This works fine in MSTS, but with the OR version of CofG, I have to subtract 2 meters to get it in the same place. Seems like the OR CofG is working in reverse when compared to MSTS because OR offsets the lead unit to the rear by those 2 meters'

Hmm, strange. The CoG calculation in Open Rails is very simple: shift wagon by amount. The problem I found was that MSTS has a lot of interaction between Wagon>Size, Wagon>CentreOfGravity, and the bounding box of the shape. Lots of things I tried to experiment with just did garbage in MSTS or it ignored some settings, or even positioned everything visually where I expected but broke the couplings! I am pretty sure I got the direction right but if you have an example I can look at where it's deviating from MSTS, we can check.

#21 User is offline   copperpen 

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

Posted 28 December 2016 - 11:21 AM

slalleg.zip in the trainsim.com library is the one I have been fiddling with. In MSTS the front engine displays in the correct position under the boiler. In Open Rails v1.1 the model displays the same as in MSTS, but at that point OR was not using the CentreofGravity in the same way as MSTS. Now that OR is using the CofG the data in the eng file must be altered in the z axis to get the front engine section in the correct place. It has to be changed from 2.25m to 0m.

#22 User is online   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 31 December 2016 - 05:13 AM

View Postcopperpen, on 28 December 2016 - 11:21 AM, said:

slalleg.zip in the trainsim.com library is the one I have been fiddling with. In MSTS the front engine displays in the correct position under the boiler. In Open Rails v1.1 the model displays the same as in MSTS, but at that point OR was not using the CentreofGravity in the same way as MSTS. Now that OR is using the CofG the data in the eng file must be altered in the z axis to get the front engine section in the correct place. It has to be changed from 2.25m to 0m.

Interesting; given that, in my MSTS testing, large CoG.Z values would often result in weird or unexpected behaviour, I've decided that we will only shift things in OR for small CoG values and ignore larger ones - at least until we have a better understanding of how Size, CoG and bounding boxes all fit together in MSTS.

Fix is in X3727.

#23 User is online   James Ross 

  • Open Rails Developer
  • Group: Posts: Elite Member
  • Posts: 5,514
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 31 December 2016 - 05:13 AM

View Postcopperpen, on 28 December 2016 - 11:21 AM, said:

slalleg.zip in the trainsim.com library is the one I have been fiddling with. In MSTS the front engine displays in the correct position under the boiler. In Open Rails v1.1 the model displays the same as in MSTS, but at that point OR was not using the CentreofGravity in the same way as MSTS. Now that OR is using the CofG the data in the eng file must be altered in the z axis to get the front engine section in the correct place. It has to be changed from 2.25m to 0m.

Interesting; given that, in my MSTS testing, large CoG.Z values would often result in weird or unexpected behaviour, I've decided that we will only shift things in OR for small CoG values and ignore larger ones - at least until we have a better understanding of how Size, CoG and bounding boxes all fit together in MSTS.

Fix is in X3727.

#24 User is offline   QJ-6811 

  • Conductor
  • Group: Posts: Contributing Member
  • Posts: 442
  • Joined: 27-December 15
  • Gender:Male
  • Simulator:MSTS / Open Rails
  • Country:

Posted 17 March 2017 - 02:47 AM

Now I downloaded v1.2, I wanted my "gap problem" also correct again.
As described, would be fixed from X3693. However, still the same problem as before..........


Now I read something about fix X3727 and "small values"?

this means that it was fixed, but not anymore in release 3766? (Hummm)

#25 User is offline   copperpen 

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

Posted 29 March 2018 - 12:50 PM

View PostJames Ross, on 31 December 2016 - 05:13 AM, said:

Interesting; given that, in my MSTS testing, large CoG.Z values would often result in weird or unexpected behaviour, I've decided that we will only shift things in OR for small CoG values and ignore larger ones - at least until we have a better understanding of how Size, CoG and bounding boxes all fit together in MSTS.

Fix is in X3727.


James,
Any chance of relaxing this restriction. I would like to run the Alleghenies in OR again, and we now have a couple of Indian engine that would benefit from the ability to use larger figures. In MSTS the CofG determined the relationship of a model to the next model front or rear. The C of G is always set at the models point of origin as a default. If this point of origin is incorrect so then is the C of G, hence the need to move it 2.25 meters forward for the front section of the Alleghenies in MSTS and to move it back by the same amount in OR because OR is reading the C of G as the point of origin. Only having a limited amount of movement does not "cut the mustard".

  • 4 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