Page 1 of 1

Rail Stop Off-By-One in reverse.

Posted: Mon May 15, 2017 8:50 am
by zBeeble
This is a simple suggestion coming from a simple problem. A common thing I want to do is reverse the direction on a section of track. If that track includes a stop, this involves moving the stop.

The problem is that you cannot do this without having to move all your stuff one square --- the trains a the new trainstop don't line up.

Please fix.

Re: Rail Stop Off-By-One in reverse.

Posted: Mon May 15, 2017 12:23 pm
by Lav
That actually depends on train length if I understand your problem correctly.

Locos and wagons are all 6 squares long, and rails and train stops operate on a 2x2 grid. But - connections between locos and wagons are only 1 square long.

So for as long as you have an even number of connections in your trains, you won't have this problem. Or you could simply design your stations for trains 1 wagon longer than what you're currently using (1-3-0 I assume?), that will also work, and you'll have some reserve of space too in case you decide you need longer trains later in the game or wish to switch to 1-3-1 trains.

"Fixing" that would require either switching rails to 1x1 grid (no idea how difficult that would be, but that's no tiny task), or making train loco/wagon connections two tiles long, which would look ugly.

Re: Rail Stop Off-By-One in reverse.

Posted: Mon May 15, 2017 12:29 pm
by mrvn
Lav wrote:"Fixing" that would require either switching rails to 1x1 grid (no idea how difficult that would be, but that's no tiny task), or making train loco/wagon connections two tiles long, which would look ugly.
If rails where on a 1x1 grid then you would need shorter rails or you would have rail networks that can't be connected.

But while keeping 2x2 rails why not allow stations to be placed anywhere on a rail?

Re: Rail Stop Off-By-One in reverse.

Posted: Mon May 15, 2017 1:01 pm
by Lav
mrvn wrote:If rails where on a 1x1 grid then you would need shorter rails or you would have rail networks that can't be connected.

But while keeping 2x2 rails why not allow stations to be placed anywhere on a rail?
No idea. There can easily be some limitations or optimizations in the code that affect that. Or maybe it was an application of a Soviet Army principle: if it's ugly but uniform, it's beautiful.

Re: Rail Stop Off-By-One in reverse.

Posted: Wed May 17, 2017 4:30 pm
by ssilk
Added to viewtopic.php?f=80&t=19953 New types of rails (curves, s-curves ...)
under "leaving the 2x2 grid"... :)

Re: Rail Stop Off-By-One in reverse.

Posted: Thu May 18, 2017 11:33 am
by mrvn
ssilk wrote:Added to viewtopic.php?f=80&t=19953 New types of rails (curves, s-curves ...)
under "leaving the 2x2 grid"... :)
Except this is not about the rails per se. It's about why on the existing rails the stop needs to be exactly at the same palce on the rail every time.

The train can halt anywhere on the rail so why can't the stop be everywhere along a rail? This is a technical question. Why doesn't the code allow this?
Or what in the code prevents allowing this?