Allow mod cvars to be set as global

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Marisa the Magician
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

Post by Marisa the Magician »

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.
Hey Doomer
Posts: 283
Joined: Sat Sep 25, 2021 3:38 am

Re: Allow mod cvars to be set as global

Post by Hey Doomer »

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?

Return to “Feature Suggestions [GZDoom]”