Hi-res tech images cut off

Place to get help with not working mods / modding interface.
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 587
Joined: Tue May 19, 2015 1:56 am
Contact:

Hi-res tech images cut off

Post by Reika »

If I try using high-res images for the techs, like the newest versions of Factorio do, the research table cuts the image to the top-left corner. It works if the old-style low-resolution images are used. Is this a simple mistake on my end, or are modded researches not able to use high-res textures?

Several examples can be seen in this image:
Image
Image
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Hi-res tech images cut off

Post by daniel34 »

Someone posted a Bug Report with the same issue:
[0.12.19] Technology Icons being compressed

EDIT:
posila wrote:Ok, figured it out. When icons were changed we added "icon_size" property to Technology prototype, which defaults to 128 for base mod and 64 to every other mod.
So you need to add "icon_size = 128," to your technology prototypes and it will work. I will add information about this to changelog because it is not there.
quick links: log file | graphical issues | wiki
Post Reply

Return to “Modding help”