SBHH when entering the loco and tender is coupled.

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Locked
shanyiqua
Been on the forums for a while
Posts: 262
Joined: Tue Dec 20, 2011 11:48 am

SBHH when entering the loco and tender is coupled.

Post by shanyiqua »

Hi

Here is a Hungarian MAV 424 steam locomotive made for RS long time ago, and the sources already lost. There were a lot of errors in the paths in blueprint, which i've fixed, but i can't fix one, because the game doesn't reacting to any settings. When the loco is alone without tender, it works. If i couple the tender in scenario editor, it works (however regardless which i set for the coupling point, receiving point, or pivots, the game attaches is to the same point). It's still no problem when i start the scenario, but when i click on to enter the loco, i get instant SBHH. Logmate says coupling type mismatch, while all of the couplings are the same.

What is the problem?

https://dl.dropbox.com/u/5862163/mav424.rwp here is the loco, xml files included, also a serz.bat which "serzing" all of the xml files in the subdirectories.
User avatar
DaveDewhurst
Very Active Forum Member
Posts: 1994
Joined: Wed Nov 28, 2007 10:21 am
Location: Birkenhead
Contact:

Re: SBHH when entering the loco and tender is coupled.

Post by DaveDewhurst »

Had a quick glance, didnt load it up but the most obvious reason is the couplers.
the engine references Kuju\RailSimulator\......\3link_german_short_coupling.xml for bothe front and back
but thetender references
Kuju\RailSimulator\......\3link_german_short_coupling.xml for the back (coach side)
and
RSvlado\MAV 424-309\......\3link_german_short_coupling.xml for the front (engine side)
as far as I can see this engine side one doesnt exist.
changing it to tha same as all the others should fix it

Dave
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: SBHH when entering the loco and tender is coupled.

Post by AndiS »

I put the money on this one: Your tender has FrontPivotY and BackPivotY of +0.5, whereas the "standard" is -0.5. Of course, -0.5 is nuts, but +0.5 on one and -0.5 means the physics want to lift the engine by 1 m to hit the coupling point of the tender. Or it says "incompatible" because you would be there but the couplings don't meet.

Second-rated theory: The physics just demand that you have a bar coupling between the engine and the tender - one way or the other. I never dug into the way they are simulating coupler slack now but I would not be surprise if all but the bar coupling blow up in some surprising way between engine or tender.

Your also have a bit less space between the bounding boxes than the two Kuju default engines but I cannot see that as a reason of failure right at the start.

You might want to round the first 12 numbers in the four matrices of CouplingReceivingPoint and CouplingPivot to +/-1 resp. 0 but that is just for the optics (of the blueprint).

P.S.: If the RSvlado\MAV 424-309 coupling is in fact missing, I reduce my bet on the Pivot points. :D
It could well be that they decided to rather change the code to ignore the Y dimension of couplings altogether than to fix it everywhere (and try to sync that with 3rd parties!).
shanyiqua
Been on the forums for a while
Posts: 262
Joined: Tue Dec 20, 2011 11:48 am

Re: SBHH when entering the loco and tender is coupled.

Post by shanyiqua »

Oh i didn't noticed that coupling blueprint is still wrong (the game doesn't tell anything about it of course) in xml. Now i've changed it, and it works :D thanks.
Locked

Return to “[TS] General Discussion”