Topic: Passing values from cgame to ui in main menu?
bludshot
Grunt
Joined: 25 Nov 2009 Posts: 64
Posted: 09-18-2011 12:25 AM
When you load the game to the main menu, it doesn't seem to have access to cg_ cvars. If you type any cg_ cvar in the console it won't know it, unless it's archived in the player's config.
Is there any way to get values directly from cgame to ui while in the main menu before actually loading into a map?
I have a feeling there isn't, probably because at that point the cgame.qvm hasn't even run yet eh?
It's like you said, the cgame registers the cvars. They're simply not there before that, with the exception of previously archived (i.e. saved to q3config.cfg) cvars.