But the cvars do require "set", right? I've heard that but I really don't know the answer. It seems to me that some cvars will set without using "set". Does it depend on the context? (entering in console, client config or server config) Does it depend on the cvar?
I was helping someone with a server setup and their server.cfg didn't use "set" at all.
- Code: Select all
g_maplist_index 0
g_maplist_shuffle 1
g_maplist_votable 5
g_maplist_votable_suggestions 2
sv_motd "Here is the message of the day"
Evidently, the g_whatever commands are not setting, but the sv_motd cvar is setting. How could that be?
...
And on a side note, what exactly does "seta" do? My understanding is that it saves the cvar setting in autoexec.cfg. Is that right? That's what I've been telling people, but I'm pretty sure I've experienced settings being saved (appearing the same after a nexuiz restart) by using "set" and not "seta" before.