I looked, but couldn't find any mention of it.
All the base game technology icons have been replaced with these shiney new 128x128 icon graphics. So, I decided to create a new 128x128 icon for my new technology.
However, when I get in game, the icon is cropped to the top left 64x64, and that's how it apears as the medium sized icon in the lists, and resized up to fill the display box on the right top when the technology is selected.
am I doing it wrong, or is this a bug?
technology icon
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: technology icon
If you are using 128x128 pixel icons you need to add icon_size = 128 to the technology prototype.
Version 0.12.20 - viewtopic.php?f=3&t=18182
Version 0.12.20 - viewtopic.php?f=3&t=18182
FactorioBot wrote:Technology prototypes now have optional integer property "icon_size". Default value for non-base mods is 64 (and 128 for base mod).
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: technology icon
Thanks.
The fact that the default is different for each is... confusing.
The fact that the default is different for each is... confusing.
-
- Fast Inserter
- Posts: 117
- Joined: Wed May 11, 2016 6:52 am
- Contact:
Re: technology icon
they were probably trying to be nice to modders who had 64x64 icons but no time to update them. rather than ruin the appearance of their mods...
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: technology icon
no, I understand that, I just think a "cleaner" fix would have been to leave the default at 64, but then add icon_size=128 to all the base game technologies, that way you'd be able to tell by looking at the code that you'd need that tag.
Since it was a minor release version anyway, then they can change the default to 128 on a major update, like 0.13.
come to think of it though, now that I know the solution, I do seem to recall someone mentioning an icon_size tag months ago when it was first added.
Since it was a minor release version anyway, then they can change the default to 128 on a major update, like 0.13.
come to think of it though, now that I know the solution, I do seem to recall someone mentioning an icon_size tag months ago when it was first added.