Page 1 of 1

[Solved] How to scale up info icons?

Posted: Fri Feb 08, 2019 10:50 am
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 1685 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

Re: How to scale up info icons?

Posted: Fri Feb 08, 2019 11:02 am
by Klonan
The flag is `scale_entity_info_icon`

Re: How to scale up info icons?

Posted: Fri Feb 08, 2019 11:32 am
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 1670 times

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

Posted: Fri Feb 08, 2019 12:39 pm
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 :)

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

Posted: Fri Feb 08, 2019 3:05 pm
by Schallfalke
Shifting collision box will make a bigger problem, so I guess I will take the current solution.
Thanks for the big helps! :D