Jump to content

Recommended Posts

Posted

With the radio on the Ty2 steam engine their is a bug. If you change driving directions, by selecting a - or + position on the reverser, the radio splitter seems to be thinking that the driver has changed cabins. Thus the radio splitter will only provide power to the A or B cabin respectively, while their is only one, usually A but sometimes it can also B (maybe when starting the journey in reverse).

Workaround for any player encountering this problem: simply flip the cabin switch on the radio splitter, located in the overhead cabinet on the back wall of the steam locomotive.

  • SIMRAIL Team
Posted

Anything extra to trigger it? Reverser changes VehicleControllerBase.Direction in jumps 1/0/-1. Radio splitter checks VehicleControllerBase.cabinDir and it's 1 all the time in my tests.

Only suspicious line that could switch that value is (common for all vehicles) cabinDir = (int)vehicle.trainsetInfo.CabinDir * (int)vehicle.DirectionInTranset; which could mess if it's spawned in reverse in the first place.

That value can be checked in debug panel in outputs table. Output_General.data[(int)GENOUT.actual_cabin] = (int)trainset.CabinDir;

Posted (edited)

The bug is present in my Lazy to Katowicd cargo scenario. I dont know for sure out of my head, but I probaly do spawn ut reversed. I have only a light signal in the vack and I find them easy to referance compared ti findtrack. I could swap it of course for a track referance.

 

If you like to try see the bug in the scenario, you can find it here: https://steamcommunity.com/sharedfiles/filedetails/?id=3628486286&searchtext= or

 

Make sure to pick one of the first Ty2 loco's, the thirt option spawns the other way around (so you drive the cargo train tender first, which is kinda strange).

 

Personally I have the impression (but no facts to prove it at all) that spawning vshicels reversed can mess around with more things. Might you have any ideas/info on that?

 

 

Edited by jeroezie
  • SIMRAIL Team
Posted

It broke shader on wagons when I tried to spawn reversed one to test for whatever (likely unrelated) reason. 😄

Sorry, I don't have setup to test scenarios. Somebody else will have to. Could you check that GENOUT value when bug happens? It's the only place in code that I found that could mess it up.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy