Allow mod cvars to be set as global

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Allow mod cvars to be set as global

Re: Allow mod cvars to be set as global

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?

Allow mod cvars to be set as global

by Marisa the Magician » Fri Jan 21, 2022 6:49 am

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.

Top