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.
SBHH when entering the loco and tender is coupled.
Moderator: Moderators
- 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.
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
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
- 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.
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.
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!).
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.
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!).
Re: SBHH when entering the loco and tender is coupled.
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
thanks.