You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to read settings from cmd params, a config file in .exe directory
Set default values from mod that declares the settings
Script interface for get and set of the options for cross-mod interaction
The config file should be JSON. Could work like the MS approach where you only define what you want to override.
Each mod could contain a config.json with its settings in it. Maybe a config.cpp entry is needed for where the json can be found in the mod.
Maybe it makes more sense to define the settings purely via a config.cpp class as the mod author and JSON is only used for end-users.
Possible issues:
No way to know about mods in modules 3_Game and lower. We need a way to make sure CF loaded config settings before any of the other mods do anything in 3_Game. Mabye use the CreateGame module entry function to block anything else from happening.
The text was updated successfully, but these errors were encountered:
The config file should be JSON. Could work like the MS approach where you only define what you want to override.
Each mod could contain a config.json with its settings in it. Maybe a config.cpp entry is needed for where the json can be found in the mod.
Maybe it makes more sense to define the settings purely via a config.cpp class as the mod author and JSON is only used for end-users.
Possible issues:
The text was updated successfully, but these errors were encountered: