Help with a mod: vanilla part control modification & GUI
Posted: Sat Jun 04, 2016 8:23 pm
Hello!
So, I'm making a mod (1st foray into modding!) that, ideally, would allow the player to select a splitter & then change the ratio of items split between the two output lanes.
I have a fairly decent idea of how to do the logic/switching/stuff. But, I have a few questions & I was hoping I could get some help.
First, is there a way to modify the control.lua for the vanilla splitters? If so, how do I specify to overwrite that with my mod? Would it be better off just making separate items?
Secondly, I'd like to make it so that clicking on a given splitter (or custom splitter) opens a gui. How do I go about that?
Thanks guys!
So, I'm making a mod (1st foray into modding!) that, ideally, would allow the player to select a splitter & then change the ratio of items split between the two output lanes.
I have a fairly decent idea of how to do the logic/switching/stuff. But, I have a few questions & I was hoping I could get some help.
First, is there a way to modify the control.lua for the vanilla splitters? If so, how do I specify to overwrite that with my mod? Would it be better off just making separate items?
Secondly, I'd like to make it so that clicking on a given splitter (or custom splitter) opens a gui. How do I go about that?
Thanks guys!