abstract
| - The term 'CVar' predates WoW and originated with id Software's game Quake (the lead programmer of vanilla WoW was John Cash, a former programmer at idSoftware), and is meant to differentiate base game script variables from commands. 'CVars' should not be confused with the game's script variables, called vars. It's a bit of a misnomer because the base game scripting language is used for many things, and happens to be accessible through the game console. Here are several common ways accessing these vars and commands:
* .wtf files - Config.wtf, in 'WTF', in WoW folder, stores game settings, like 'gxResolution', and 'locale' for the language.
* '/console command' - chat slash command to run a base game script command, like setting a CVar.
* 'wow.exe -Console' - allows you to open "the console" in-game, opening and closing by using ~ key
* Configuration UI - WoW's normal in-game configuration interface. Hit Esc to get to it.
* SetCVar() - WoW global API for changing settings using Macros or AddOns Image:Icon-warning-22x22.png Warning: changing CVars directly can cause issues. Like changing 'cameraDistanceMax' in Config.wtf may render the "Max Camera Distance" slider useless. In some cases you may have to quit the game, and manually remove the CVar line from the .wtf file. Any changes done though CVars are generally the same as setting them through the game Configuration UI and will be saved.
|