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:
Thank you,
Monsterbolt101
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.Possible UI Customisation
Moderator: ickputzdirwech
-
- Burner Inserter
- Posts: 17
- Joined: Fri Aug 28, 2015 2:03 am
- Contact:
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Possible UI Customisation
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
Btw, there's already at least one bee mod on the portal https://mods.factorio.com/mod/NPBees2
-
- Burner Inserter
- Posts: 17
- Joined: Fri Aug 28, 2015 2:03 am
- Contact:
Re: Possible UI Customisation
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
Monsterbolt101
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Possible UI Customisation
What? The code for base machine UI is not available to be looked at.Monsterbolt101 wrote: the code becomes repetitive, whereas the ui for machines seems more "condenced".
I think you understood something quite different than what i meant to say...but i'm glad it helped ;).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.