[Rseding91] [0.17.50] Variant tile placement depends on direction of drag

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

[Rseding91] [0.17.50] Variant tile placement depends on direction of drag

Post by Deadlock989 »

I made a new placeable/minable floor tile, made out of 1x1 and 2x2 variants, defined like so:

Code: Select all

variants = {
		main = {
			{
				count = 16,
				picture = DIR.terrain_path .. "/" .. graphic .. "-1.png",
				scale = 0.5,
				size = 1,
			},
			{
				count = 16,
				picture = DIR.terrain_path .. "/" .. graphic .. "-2.png",
				scale = 0.5,
				size = 2,
				probability = 0.5,
			},
		},
.....
Unfortunately, when you select the tile item and place it in the world and then drag along, you get radically different results depending on which direction you drag. If you run down or right, you get none of the 2x2 variants after the very first placement, only the 1x1 versions. But if you run up or left, you get all the variants including the 2x2s. See illustration attached, which used a 4x4 "brush".
Attachments
tiles.png
tiles.png (1.74 MiB) Viewed 2138 times
Last edited by Deadlock989 on Thu Jun 20, 2019 3:13 pm, edited 1 time in total.
Image

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [0.17.50] [Modded] Variant tile placement depends on direction of drag

Post by Deadlock989 »

Addendum: the only vanilla placeable tile that has the same structure is stone bricks. The same thing happens there, it's just hard to see because of the texture. But if you turn on show-tile-variations in debugging, you can see the same thing is happening (top is right-to-left, bottom is left-to-right):
Attachments
var.png
var.png (859.35 KiB) Viewed 2129 times
Image

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

Re: [Rseding91] [0.17.50] Variant tile placement depends on direction of drag

Post by Rseding91 »

Thanks for the report. This is something I've known about for a long time but never got around to handling. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: [Rseding91] [0.17.50] Variant tile placement depends on direction of drag

Post by Deadlock989 »

Much obliged to you.
Image

Post Reply

Return to “Resolved Problems and Bugs”