DisruptManager icon indicating copy to clipboard operation
DisruptManager copied to clipboard

Mod configuration

Open Commenter25 opened this issue 1 year ago • 0 comments

Some mods benefit from user choice. The most notable one is Living City, having a dedicated INI file for its options. "Addons for Living City" also uses this method, having its own file. A way to parse and change the traditional INI file would be practically required.

Other mods could have more simple configuration via file substitution. This could just be defined in the mod's XML file, defining which files would be affected by an option. Files could be added, removed, or swapped based on an option.

For example, my own mod removes the online section and the City Hotspots node from the progression tree, and the Hotspot map icons. These 3 changes happen to be totally self-contained, so it's very easy to remove one and keep the others. If you just wanted to remove online while keeping Hotspots intact, you could remove the two files specific to Hotspots.

Another example is the Disable Aim Assist mod, which comes in four different variants. The user could simply pick which variant to use. For this case, there should likely be a system for radio buttons or a dropdown menu.

And as a more hypothetical example, a pack of weapon skins could allow the user to enable and disable the skins they dislike, or choose different variants of skins.

Commenter25 avatar Aug 12 '24 03:08 Commenter25