ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.7k stars 624 forks source link

[GoldSrc] Shared configuration #905

Closed Matthaiks closed 11 years ago

Matthaiks commented 11 years ago

Some settings are shared between GoldSrc games. For instance, if you enable "Allow custom addon content" in Counter-Strike it will be enabled in Half-Life as well. Can it be separeted?

alfred-valve commented 11 years ago

No, that setting is engine wide, and all the games share the same base engine.

ghost commented 11 years ago

@alfred-valve but you could store

_setrenderer <variable> - Sets the rendering mode. Available parameters are opengl and software.
_set_vid_level <0 or 1> - Toogles "Low video quality".
_setaddons_folder <0 or 1> - Toogles "Allow custom addon content".
_sethdmodels <0 or 1> - Toogles "Enable HD models if available".

in config.cfg

alfred-valve commented 11 years ago

Nope, those details are read before the filesystem interface turn on, so they are stored in another special place (registry on windows, a config file on other platforms). I could do extra work to have a per mod setting on all those keys, but at this time that investment isn't worth the payoff.