Allow mod cvars to be set as global
Moderator: GZDoom Developers
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Allow mod cvars to be set as global
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.
-
- Posts: 283
- Joined: Sat Sep 25, 2021 3:38 am
Re: Allow mod cvars to be set as global
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?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.