[Solved] How to scale up info icons?

Place to get help with not working mods / modding interface.
Post Reply
Schallfalke
Fast Inserter
Fast Inserter
Posts: 162
Joined: Sun Oct 28, 2018 7:57 am
Contact:

[Solved] How to scale up info icons?

Post by Schallfalke »

Hi,

I am trying to make some large assembling machine, but the Alt-mode info icon (showing recipe) is still having the default size, so quite tiny and not easily seen. Is there a way to scale it up?
MachineScaling.jpg
MachineScaling.jpg (180.52 KiB) Viewed 1255 times
Left: Original assembling machine 3
Right: Scaled up to 9×9

PS: I know there is a property "scale_info_icons" for the container types, but it does not work on production machines.

Thanks,
Schall
Last edited by Schallfalke on Fri Feb 08, 2019 3:02 pm, edited 2 times in total.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: How to scale up info icons?

Post by Klonan »

The flag is `scale_entity_info_icon`

Schallfalke
Fast Inserter
Fast Inserter
Posts: 162
Joined: Sun Oct 28, 2018 7:57 am
Contact:

Re: How to scale up info icons?

Post by Schallfalke »

EDIT:
It works now! Thank you!

But then there is a minor problem comes out. The icon looks a bit too low, because of the projection I guess. Is there a way to shift that?
MachineScaling2.jpg
MachineScaling2.jpg (185.27 KiB) Viewed 1240 times

Bilka
Factorio Staff
Factorio Staff
Posts: 3135
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Partially Solved] How to scale up info icons?

Post by Bilka »

Schallfalke wrote:
Fri Feb 08, 2019 11:32 am
But then there is a minor problem comes out. The icon looks a bit too low, because of the projection I guess. Is there a way to shift that?
The icon is placed at the position of the entity. So you could shift your collision box and graphics to try to make it look correct. Or you could request an "entity_info_icon_shift" and hope that it gets implemented for 0.17 :)
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.


Post Reply

Return to “Modding help”