How can I create custom UI for structure base entity

Place to get help with not working mods / modding interface.
bluesaka111
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 23, 2017 3:25 pm
Contact:

How can I create custom UI for structure base entity

Post by bluesaka111 »

I am trying to create a boiler based on liquid storage tank that capability to heat the liquid up to any temperature lower or equal 300 degree and store them for later use.

So how can I create custom UI with a textbox (temperature input), a progress bar (liquid storage level)?

Thanks! :)
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: How can I create custom UI for structure base entity

Post by Adil »

No you can't make it seamless like it is the vanila gui. You can bind some key to open gui (example) and construct your own window with LuaGui api.

Alternatively you might try to hook it up to a circuit network and have it controlled by signal.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
Post Reply

Return to “Modding help”