Page 1 of 1

locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Fri Nov 01, 2024 7:59 pm
by Bow-Tied_Engineer
I have some trains I like to use for manual operations, but I also have stations set up so they can autopilot there. But almost every time I have them take me to a station, they reset the locomotive color, because I used the train for shunting and it re ticked that stupid checkbox. It's driving me nuts. I just want my locomotives to stay the colors I've set them.

Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Fri Nov 01, 2024 11:09 pm
by boskid
Thanks for the report however i will need some type of reproduction of the issue, a save file with some instructions because i am unable to reproduce any issues about what you are saying. State of the "use destination train stop color" checkbox is held by a particular locomotive instance and has nothing to do with recoupling trains. Straight from the code i can tell you that once the value is initially set (from the prototype or blueprint), there are not many ways this checkbox can change its value: its either through lua api, from locomotive's gui using the checkbox or when copying settings between locomotives. None of those actions match what you say and when i do what you say i am unable to reproduce any issues.

Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Sat Nov 02, 2024 3:10 pm
by Bow-Tied_Engineer
It must be a mod conflict then. I have a couple of mods that modify train behavior. Sorry about that, I should have looked into that before posting this as a bug report.

Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Sat Nov 02, 2024 3:37 pm
by robot256
This would happen with Multiple Unit Train Control if your shunting is connecting and disconnecting locomotives from each other because it creates a new entity with the default value.

I just posted an update to Robot256Lib that will fix this behavior and preserve the copy_color... flag for each locomotive when changing between MU and normal entities. Thanks for posting about it.

Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Tue Nov 05, 2024 2:00 pm
by robot256
I assume this can be moved to Not a Bug, as it was almost certainly caused by my mod which has since been fixed.

Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.

Posted: Sun Nov 10, 2024 4:19 am
by Bow-Tied_Engineer
That's almost certainly it! Thanks for the mod update, sorry for posting in the wrong place LOL.