I had copied a train's schedule (shift+right click) and was then going along a line of trains setting them each with the schedule (shift+left click). The train I was copying from had 2 black locomotives, while all the trains I was copying to had the default red locomotives. When pasting into these red trains, both locomotives on each train turned red. However, when I got further down the line of trains, one train in particular only changed the color of one locomotive, rather than both. When I then shift+left clicked on the locomotive that was still red, that locomotive became black but the other then switched back to red. After repeating this a few times, both locomotives became red. After a few seconds, they both resolved on black. After this train, all of the next trains I pasted into either were rather delayed in the color updating, or didn't update their color at all. I clicked into the locomotives to make sure the schedule itself had properly copied over, and it had. I was on multiplayer while this happened (not hosting), but another player observing (also not hosting) also witnessed the strange color behavior.
An observation: While pasting the schedule into these trains, I had gone from the back of a line of trains to the front (We wanted to see them all move away at once), and the trains being already in automatic mode this caused them to all immediately attempt to trigger an interrupt to go to a refueling station. However, the trains in the back (unable to move) filled up the slots for all 6 of my refueling stations, meaning that when the trains in the front were given schedules and also attempted to go to the refueling stations, there were none available and they deadlocked. The first train that had issues with color updating (along with all subsequent trains with issues) were among these trains that were unable to go due to lack of available station. I assume this may have something to do with it, but who knows.
Here: https://drive.google.com/file/d/18ek0G- ... sp=sharing is a video of the incident. Please ignore the goofy rails, we were very excited to experience elevated trains for the first time.
[2.0.20] Copy Pasting Train Schedule Forgetting Locomotive Color
[2.0.20] Copy Pasting Train Schedule Forgetting Locomotive Color
- Attachments
-
- factorio-current.log
- (80.29 KiB) Downloaded 40 times
Re: [2.0.20] Copy Pasting Train Schedule Forgetting Locomotive Color
Are you aware that the default behavior for train colors is now "copy color from train stop", so that it matches the stop it is currently travelling towards? This option can be set per locomotive, I think, and I haven't tested if it's always copied correctly. Were any of your train stops set with custom colors?
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: [2.0.20] Copy Pasting Train Schedule Forgetting Locomotive Color
Back on Wifi I can watch the video. It looks like the schedule you are pasting is to go to the black fuel stop, since all the trains have out-of-fuel alerts on the second of two locomotives. When the train switches to automatic, it copies the color from the fuel stop to the locomotives. The train that stays red looks like it is not missing any fuel, so it either paths to the unloading stop (which is red) or is still in manual mode.
I see the part in the middle of the video you mentioned where the train on the left has locomotives of different colors for a bit. This seems to only happen when the "destination full" alert appears on the front locomotive (and the "empty fuel" alert is on the second locomotive). The black color is transferred only to the locomotive you actually clicked on because it's copying the color from one locomotive to another. The rest of the train does not get painted because the train is not actually pathing towards a black station--or any station--while the fuel stop(s) are full. When other trains are set to automatic while both locos are red and the fuel interrupt station is added to the schedule, they both stay red as long as the fuel stop is full and they cannot path to it.
It seems pretty clear upon inspection that the train will only paint all the locomotives after it is able to reserve a spot at the destination. Until then, the locomotives keep whatever color they had or whatever color the locomotive you are pasting from has.
Note that copy-paste-settings actually uses a pointer. The locomotive you "copied" at first was red, but it became black when it started driving toward the fuel stop. When you "paste" onto subsequent locomotives, they turn black because they go find the locomotive that you "copied" and copy the settings it has now, which is black.
I see the part in the middle of the video you mentioned where the train on the left has locomotives of different colors for a bit. This seems to only happen when the "destination full" alert appears on the front locomotive (and the "empty fuel" alert is on the second locomotive). The black color is transferred only to the locomotive you actually clicked on because it's copying the color from one locomotive to another. The rest of the train does not get painted because the train is not actually pathing towards a black station--or any station--while the fuel stop(s) are full. When other trains are set to automatic while both locos are red and the fuel interrupt station is added to the schedule, they both stay red as long as the fuel stop is full and they cannot path to it.
It seems pretty clear upon inspection that the train will only paint all the locomotives after it is able to reserve a spot at the destination. Until then, the locomotives keep whatever color they had or whatever color the locomotive you are pasting from has.
Note that copy-paste-settings actually uses a pointer. The locomotive you "copied" at first was red, but it became black when it started driving toward the fuel stop. When you "paste" onto subsequent locomotives, they turn black because they go find the locomotive that you "copied" and copy the settings it has now, which is black.
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.