Maxi
Member
- Oct 17, 2025
- 33
- 19
Current problem:
The Mods tab in Settings currently only shows enable/disable toggles and load order.If a mod wants to expose configuration to the user, the only option is patching GameSettings.OnDrawUi with a Harmony Transpiler, which is fragile and would conflict if multiple mods try to do the same thing.
Why it matters:
As the modding community grows, more mods will need user-facing settings (keybinds, thresholds, toggles, etc.). Some kind of official API or public function from the game would be a lot smoother than Transpilers and would reduce conflicts between mods also trying to add their own settings sections.Proposed solution:
A hook, callback, or similar mechanism that the game calls for each mod in the Mods tab, giving mods a chance to draw their own ImGui content. Something like a collapsible section under each mod's entry where the mod can draw sliders, inputs, checkboxes, etc. for its own config.Context:
I'm working on an auto-staging mod and want to let users configure their own per-engine ignition delays which will be saved into their own mod config toml file. Right now I'm using a Transpiler to inject a section into the Mods tab (see screenshot), which works but feels like something the game should support natively so mods don't have to fight over the same patch target.
Upvote
0