by Hey Doomer » Fri Jan 21, 2022 10:40 am
Marisa Kirisame wrote:This is mostly for convenience, as having to set up your desired settings for a mod over and over with each IWAD can get annoying. It would also open the possibility of sharing certain data and information between games, such as stats, achievements, etc.
You could add a lump with GZ settings, read that, and set the CVars in your mod. Come to think of it, that may work for all and any mods. I can't think of a way that would make this dynamic when a setting changes, since there's no real file I/O... is there?
[quote="Marisa Kirisame"]This is mostly for convenience, as having to set up your desired settings for a mod over and over with each IWAD can get annoying. It would also open the possibility of sharing certain data and information between games, such as stats, achievements, etc.[/quote]
You could add a lump with GZ settings, read that, and set the CVars in your mod. Come to think of it, that may work for all and any mods. I can't think of a way that would make this dynamic when a setting changes, since there's no real file I/O... is there?