Possible UI Customisation

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Monsterbolt101
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Aug 28, 2015 2:03 am
Contact:

Possible UI Customisation

Post by Monsterbolt101 »

Is there any way currently to make a custom ui for a machine such as a assembling machine? For example i'm currently making a bee mod based off of Minecraft's Forestry Mod. Here is the ui of the apiary for context:
apiary_gui.png
apiary_gui.png (8.81 KiB) Viewed 1663 times
I hope if there is not a way currently then its a near future idea since we as modders are restricted when things are hard coded, and as a fellow programmer I do know that its a more efficient way when hard coding but factorio is in my opinion its modularization phase or nearing it in which the game needs to be more dynamic in its assets.
Thank you,
Monsterbolt101
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Possible UI Customisation

Post by eradicator »

Yes. It's possible. Though i don't think anybody has done it yet. All mods i know use GUIs as sort of "global" things and not machine specific. But there's nothing preventing you from doing that. You don't get to move around the (machine) GUI window though, but i think that might happen in 0.17. And looking at that idea...you'd probably want to have a visible player inventory below that, which you would have to reimplement. :x Might be worth a try to request a "player-inventory" gui element.

Btw, there's already at least one bee mod on the portal https://mods.factorio.com/mod/NPBees2
Monsterbolt101
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Aug 28, 2015 2:03 am
Contact:

Re: Possible UI Customisation

Post by Monsterbolt101 »

Thank you for providing this link to the other mod, and yes I have used the gui function problem is the code becomes repetitive, whereas the ui for machines seems more "condenced". Anyway the idea of a player inventory gui is very intriguing, thank you for that idea that would make a very nice workaround.
Monsterbolt101
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Possible UI Customisation

Post by eradicator »

Monsterbolt101 wrote: the code becomes repetitive, whereas the ui for machines seems more "condenced".
What? The code for base machine UI is not available to be looked at.
Monsterbolt101 wrote:Anyway the idea of a player inventory gui is very intriguing, thank you for that idea that would make a very nice workaround.
I think you understood something quite different than what i meant to say...but i'm glad it helped ;).
Post Reply

Return to “Ideas and Suggestions”