locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.
-
- Manual Inserter
- Posts: 3
- Joined: Fri Nov 01, 2024 7:54 pm
- Contact:
locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.
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.
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.
-
- Manual Inserter
- Posts: 3
- Joined: Fri Nov 01, 2024 7:54 pm
- Contact:
Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.
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.
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.
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.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.
I assume this can be moved to Not a Bug, as it was almost certainly caused by my mod which has since been fixed.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
-
- Manual Inserter
- Posts: 3
- Joined: Fri Nov 01, 2024 7:54 pm
- Contact:
Re: locomotives set themselves to "use destination train stop color" every time I uncouple and recouple train cars.
That's almost certainly it! Thanks for the mod update, sorry for posting in the wrong place LOL.