[0.17.17] Cloning trains doesn't work as intended

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Post Reply
mulark
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Oct 18, 2017 11:32 pm
Contact:

[0.17.17] Cloning trains doesn't work as intended

Post by mulark »

Screenshot_20190323_155551.png
Screenshot_20190323_155551.png (9.37 KiB) Viewed 1529 times
Left setup is the original, right is the clone.

Essentially there are a few inconsistencies here:
Trains on curved rails usually get rotated when cloned (appears to be anything not cardinal). Seems to be fixed.
The connections between rolling stock are not preserved (forcibly connected)
Rolling stock can be too close together to clone.
{not pictured} cloning a train in automatic mode puts it in manual mode.
{not pictured} cloning a train makes the cloned rails unremovable (can still be destroyed() or pasted over, just not decon planner or mined) Definitely fixed
Last edited by mulark on Mon Nov 04, 2019 1:37 am, edited 1 time in total.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.17] Cloning trains doesn't work as intended

Post by Rseding91 »

Thanks for the report. I'm aware of the problems when cloning trains however I don't currently have a nice solution so that's kind of just "how it is" until something else is figured out - if something else is figured out.
If you want to get ahold of me I'm almost always on Discord.

mulark
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Oct 18, 2017 11:32 pm
Contact:

[0.17.74] Cloned rolling stock position mismatch

Post by mulark »

Screenshot_20191103_174136.png
Screenshot_20191103_174136.png (407.78 KiB) Viewed 1346 times
Cloning a rolling stock at a specific position on a curved rail ends up changing its relative position along the rail.

Simply take the attached map, run the command, and observe position changing, when we only translated across X.

This source locomotive has a speed value associated with it. It appears that this inconsistency only exists when speed is applied to a locomotive.

Anecdotally I've seen this happen along splits as well where the cloned train in the split doesn't get fully reassembled.

Code: Select all

/c game.player.surface.clone_area({     source_area = {{-104,46},{-99,58}},      destination_area = {{-114,46},{-109,58}}, destination_surface="nauvis",clone_tiles=false,clone_entities=true,clear_destination=true,expand_map=true})
Attachments
train_clone not really.zip
(3.89 MiB) Downloaded 76 times

Post Reply

Return to “Minor issues”