Is there any way to modify existing GUI?
Posted: Mon Aug 14, 2023 4:11 am
I'm trying to add a checkbox to the train schedule GUI, but I don't see any documentation on modifying it, is it even possible at the moment?
www.factorio.com
https://forums.factorio.com/
Not really. I suppose that's a protection against buggy mods making the vanilla GUIs unusable. The best thing you can do is using a relative GUI which will be anchored to some other GUI. Custom Color is an example for a mod that attaches its own GUI to vanilla GUIs:
Thanks, that was quite helpfulPi-C wrote: Mon Aug 14, 2023 6:27 amNot really. I suppose that's a protection against buggy mods making the vanilla GUIs unusable. The best thing you can do is using a relative GUI which will be anchored to some other GUI. Custom Color is an example for a mod that attaches its own GUI to vanilla GUIs:
relative-gui.png
That's a really nice tut, thx a bunchXorimuth wrote: Mon Aug 14, 2023 11:11 am Yes, relative GUIs are the way: https://github.com/ClaudeMetz/UntitledG ... nilla-GUIs