Page 1 of 1

Existing mod that provides per-train GUI?

Posted: Mon May 15, 2017 10:13 pm
by sparr
I don't feel comfortable tackling complex UI tasks in Factorio yet. I want to add some functionality to train wait conditions. Is there any existing mod that adds a GUI for configuring anything per-train that I might either contribute my idea to or cannibalize for its UI functionality?

Re: Existing mod that provides per-train GUI?

Posted: Tue May 16, 2017 8:14 am
by Narc
I think FARL or Shuttle Train might be the closest to what you're looking for, but I don't know that either of them has per-train settings. Maybe the Fat Controller? I'm not entirely clear what you're looking for, but those have GUIs relating to trains.

Re: Existing mod that provides per-train GUI?

Posted: Tue May 16, 2017 11:37 am
by Choumiko
SmartTrains does mess around with trains and waiting conditions. But as i found out yesterday after trying to find a bug after not really touching it for 5 months: The code is a horrible mess, do NOT take it as anything other than a how-not-to. :roll:
(FatController and FARL's gui code is almost as bad)

Nexela does some rather nice looking code in his fork of Shuttle Train (don't know how the actual gui looks)
https://github.com/Nexela/Shuttle-Train/tree/2.0.0

Re: Existing mod that provides per-train GUI?

Posted: Tue May 16, 2017 11:48 am
by Narc
Choumiko wrote:[...]after not really touching it for 5 months: The code is a horrible mess[...]
Pretty sure that's a normal feeling -- in those 5 months you've learned how to do it much better. I get the same feeling about EvoGUI and YARM, but I don't believe they're that bad.

Please forgive the off-topic.

Re: Existing mod that provides per-train GUI?

Posted: Tue May 16, 2017 12:08 pm
by Nexela
Choumiko wrote:SmartTrains does mess around with trains and waiting conditions. But as i found out yesterday after trying to find a bug after not really touching it for 5 months: The code is a horrible mess, do NOT take it as anything other than a how-not-to. :roll:
(FatController and FARL's gui code is almost as bad)

Nexela does some rather nice looking code in his fork of Shuttle Train (don't know how the actual gui looks)
https://github.com/Nexela/Shuttle-Train/tree/2.0.0

Ohhhh thanks!

Actually had the GUI looking good before I ripped it out in favor of the map and keybinds :)