Modify black background for icons?

Place to get help with not working mods / modding interface.
Post Reply
swni
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sat Mar 05, 2016 1:54 am
Contact:

Modify black background for icons?

Post by swni »

Is there any way to get rid of or modify the black background that appears behind icons on assembling machines, furnaces, containers, etc. when detailed view is on? I cannot find any sprite for it and am beginning to think it might be hardcoded.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Modify black background for icons?

Post by Rseding91 »

It's defined in the core mod\prototypes\utility-sprites.lua as "entity_info_dark_background". Although a warning: if you make it transparent it's *incredibly* hard to see the icons over top of normal entities.
If you want to get ahold of me I'm almost always on Discord.

swni
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sat Mar 05, 2016 1:54 am
Contact:

Re: Modify black background for icons?

Post by swni »

Thanks for the response! Don't worry about visibility of the icons... I'm making them invisible too :)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Modify black background for icons?

Post by Rseding91 »

swni wrote:Thanks for the response! Don't worry about visibility of the icons... I'm making them invisible too :)
So how do you plan on viewing items in the game if you can't see any of the icons in your inventory, the crafting GUI, in-game, on-belts and so on? :P
If you want to get ahold of me I'm almost always on Discord.

swni
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Sat Mar 05, 2016 1:54 am
Contact:

Re: Modify black background for icons?

Post by swni »

It's meant to be a challenge -- originally I only wanted objects on the ground to be invisible, but it turned out to be more of a challenge than planned. Invisible inventory is quite a pain but you get used to it somewhat.

(There is also Fishorio mode, where all the icons are replaced by fish.)

(I also implemented invisible biters and trains, for extra fun.)

Post Reply

Return to “Modding help”