blubuild Posted September 9, 2016 Share Posted September 9, 2016 What ways are available to make a mod configuration with more than a couple of settings more organized? For example, is a way have a blank line between groups of related settings, or a header/title for a group of settings, or even different tabs or pages or something similar? For the moment, I'm using a dummy setting for an empty line or a title to help a bit, as I saw done in other mods, which of course isn't really ideal, but it works, and is better than nothing: configuration_options = { {...}, --various options here... {name = "blank", label =" === Misc settings", options = { {description = "===", data = 0}, }, default = 0,}, {...}, --various options here... It appears there's no way to do these sorts of things, but I could be wrong, or there could be some clever way (perhaps related to overriding something in modstab.lua, even?). Could there also be a way to nest options, or make options dependent on other options? In other words, make an option only show up or be accessible/editable if a different option is currently set to a specific setting. I'm interested to hear about any techniques in general for making a mod configuration with many settings tidier or more organized. Also, what in general is available and unavailable to access/do within modinfo.lua? And is there a documentation for these things anywhere? Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/70043-tidy-and-organized-mod-settings/ Share on other sites More sharing options...
Serpens Posted September 9, 2016 Share Posted September 9, 2016 (edited) edit: Oh I just saw you already do the trick with the "empty" setting. That is all I know and also use And since none of the more experienced modders did it different in their mods, I assume there is no better way =/ Edited September 9, 2016 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/70043-tidy-and-organized-mod-settings/#findComment-811681 Share on other sites More sharing options...
Maris Posted September 9, 2016 Share Posted September 9, 2016 Don't make your options too complicated. Add only necessary things. Link to comment https://forums.kleientertainment.com/forums/topic/70043-tidy-and-organized-mod-settings/#findComment-811741 Share on other sites More sharing options...
Serpens Posted September 9, 2016 Share Posted September 9, 2016 (edited) Ah, and you can add your own interface for settings. But this is of course for experienced modders only. I have no clue how to do this. But you could check following mods: Waypoints, Geometric Placement Edited September 9, 2016 by Serpens Link to comment https://forums.kleientertainment.com/forums/topic/70043-tidy-and-organized-mod-settings/#findComment-811942 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now