[0.18.X] Resource map preview behaviour

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

[0.18.X] Resource map preview behaviour

Post by Linver »

Hi to all. As described in the title:

Image

Image

This is a modded resource. Hovering the mouse on the resource, in the map, change the visibility of resource patchs, some resource patch appear.
I look many times the definition of this resources and I don't think this is the problem:
https://pastebin.com/Wd9Szxih

Is (almost) identical with the definition of crude oil, and the sprite priority is on "extra high", so should be not a problem of z-axis.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.X] Resource map preview behaviour

Post by posila »

Linver wrote:
Thu Mar 19, 2020 10:47 am
Is (almost) identical with the definition of crude oil, and the sprite priority is on "extra high", so should be not a problem of z-axis.
It's not z-axis problem, it's "checkboard pattern" problem. Set map_grid = false (that's the key difference between your definition and crude oil definition)

User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Re: [0.18.X] Resource map preview behaviour

Post by Linver »

Oh, thank you for the tip, I can't deduce this from the documentation because map_grid haven't a description.

Post Reply

Return to “Modding help”