Snap train to tiles.

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
User avatar
Wizard Marcos
Inserter
Inserter
Posts: 22
Joined: Mon Jan 16, 2017 7:12 pm
Contact:

Snap train to tiles.

Post by Wizard Marcos »

Sometimes when I'm using wagons as multichests, they are slightly out of alignment, making them unreachable for some inserters. This suggestion is for there to be a way to snap an engine or wagon to the tracks, when we press a key (shift for example).

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Snap train to tiles.

Post by ssilk »

Added to viewtopic.php?f=80&t=19953 New types of rails (curves, s-curves ...)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
Wizard Marcos
Inserter
Inserter
Posts: 22
Joined: Mon Jan 16, 2017 7:12 pm
Contact:

Re: Snap train to tiles.

Post by Wizard Marcos »

ssilk wrote:Added to viewtopic.php?f=80&t=19953 New types of rails (curves, s-curves ...)
Uuh, I don't how this fits there... I'm not asking for new rails, although I wouldn't mind ;)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Snap train to tiles.

Post by ssilk »

Search in that article about "Leaving the fixed 2x2 grid"!
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
Wizard Marcos
Inserter
Inserter
Posts: 22
Joined: Mon Jan 16, 2017 7:12 pm
Contact:

Re: Snap train to tiles.

Post by Wizard Marcos »

Well I guess, althought this is more of the opposite. Currently you can place trains anywhere on a rail, as illustrated in this gif:

Image

While what I'd like to be able to do is only place the trains where they would match the yellow markers, just like how you can only place buildings in the grid.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Snap train to tiles.

Post by ssilk »

Hm, understood. I should read more carefully. But currently too much stress. :)

My concern is this: How should this work for all other players? And how should this work in curves?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
Wizard Marcos
Inserter
Inserter
Posts: 22
Joined: Mon Jan 16, 2017 7:12 pm
Contact:

Re: Snap train to tiles.

Post by Wizard Marcos »

Yeah, stress is a mess.

How this works for other players: like the current rail placement, there would be 2 modes of operation, the normal one (current) and a Shift + placement where it would snap to the grid.

The problem is, like you said, curve tiles. I have 2 ideas. First one is to snap at the distance of the ends corresponding to the tiles, like in this image:

Image

However, the curve length seems to be around 262px, which can't be divided by 32 evenly (result is 8.18 or something).
The other idea was to simply divide the curve by a number (for example, 8, similar to the result above) of same sized segments and snap to those. Either way, there is no way to snap them on the way I'd like them to...
Still, the only places where wagon placement would really matter would be straight rails, because wagons close when they are in a curve.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Snap train to tiles.

Post by Ranakastrasz »

Given that the size of train cars and engines are consistent with the grid now, it isn't a huge issue. Just apply this limit to the first one you place, and the rest just snap connect to existing wagons/engines.

As for curves, they isn't really any reason I can think of for the snap to be nessasary. Also I have no idea the exact dimensions on a perfect diagonal, but it Shouldn't matter that much.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Snap train to tiles.

Post by ssilk »

Well, actually I really like idea with the shift key. I'm currently building again massive trains and this bothers me a lot, that I need to run a train first to the exact point of a train stop before I can build the rest of the train station, cause I cannot be sure, that things are filled into the wrong wagon. For vertical stops this is for me difficult.

And in curves it should be good enough to snap to the segment borders.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Ideas and Suggestions”