Page 1 of 1

[kovarex] Train palcement error near stations

Posted: Mon May 27, 2019 12:28 pm
by mrvn
When placing a train blueprint near a station the first locomotive will snap to the station but the remaining train is not moved accordingly.

Re: Train palcement error near stations

Posted: Mon May 27, 2019 1:09 pm
by kovarex
Thanks, I noticed this as well when fixing bugs. The rule will be (in the next release), that ghost trains are not snaped to stations when being built.

Re: Train palcement error near stations

Posted: Mon May 27, 2019 3:58 pm
by mrvn
kovarex wrote: Mon May 27, 2019 1:09 pm Thanks, I noticed this as well when fixing bugs. The rule will be (in the next release), that ghost trains are not snaped to stations when being built.
Oh, that's a shame. Then the newly build train won't engage the pumps because it's 1 pixel offset from the stop. Can't it snap the whole train?

Re: [kovarex] Train palcement error near stations

Posted: Tue May 28, 2019 9:16 am
by kovarex
They won't engage until they arrive to station anyway.

Re: [kovarex] Train palcement error near stations

Posted: Wed May 29, 2019 11:39 am
by mrvn
kovarex wrote: Tue May 28, 2019 9:16 am They won't engage until they arrive to station anyway.
Say what?

When I place a train blueprint the ghost locomotive snaps to the train stop, the fluid wagon ghost does not. When I place it the fluid wagon connects to the locomotive and jumps forward. The train is then on manual mode and perfectly placed for the pumps and the pumps engage.

Also the train can arrive at the station without fuel if it is perfectly placed. That means the LTN train composition or train inventory sensors or other circuit logic to drive refuling can engage. If you have trains with locomotives at different positions that is important.

And last what I hate most is when a new train is positions just past the stop so to get to the stop it has to take a long loop and only arrives at the stop where I placed it 5 minutes later. Means the1 fuel included in the blueprint isn't sufficient to make it drive to the (refuel) stop. It will run out of fuel somewhere on the loop. Means I have to enter the train and drive it backwards manually or throw in some more fuel.


So maybe, pretty please, just fix the ghost train being shown when having a train blueprint in hand and leave the actual placement as is.

Re: [kovarex] Train palcement error near stations

Posted: Mon Jun 03, 2019 4:12 pm
by kovarex
Can't do, as snapping to station can break other blueprints, where the train isn't supposed to be exactly at the station.

Re: [kovarex] Train palcement error near stations

Posted: Tue Jun 04, 2019 10:32 am
by mrvn
kovarex wrote: Mon Jun 03, 2019 4:12 pm Can't do, as snapping to station can break other blueprints, where the train isn't supposed to be exactly at the station.
Maybe you could make this dependent on the rails (or other entities)? If the blueprint contains just the train with no rails and therefore doesn't snap to the tile grid then the train snaps to stations. On the other hand if the blueprint contains rails under the train it snaps to tiles and the train position is fixed.

Basically the whole blueprint snaps or none of it.

PS: or always snap the blueprint to tiles. So if I make a blueprint of a train at a station it will end up at the station too when placed (or multiples of tiles away).