Adding additional map generator settings
Posted: Sun Jul 16, 2017 11:28 am
I'm interested in writing a mod which expands the available "Map Generator" settings (by adding new settings and extending existing ones). However, have so far proven unsuccessful at finding any method of implementing this on the actual generator UI (it looks as though additional presets are easy to add, but not settings themselves). From what I gather (via searching the forum and digging through the game files) this may be hard coded in C++ and impossible to achieve with the current API, but I thought I'd seek advice here as I'm new to lua and might be overlooking something (I did come across LuaGuiElement.add in the API, but don't know if/how I would obtain the correct parent element to use it on).
I figure I can always implement mod settings, but the downside to that approach is that it's not a great UX since these are relevant to map generation and changing them via a totally different UI is a bit unintuitive.
Is it possible to add generator settings like I'd want to?
I figure I can always implement mod settings, but the downside to that approach is that it's not a great UX since these are relevant to map generation and changing them via a totally different UI is a bit unintuitive.
Is it possible to add generator settings like I'd want to?