WoW:Console variables: Difference between revisions
(add unitHighlights) |
|||
(13 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{cvar}}__NOWYSIWYG__ | |||
In the World of Warcraft game client you can access many of its configuration options through 'console variables' or 'CVars'. These variables affect many aspects of the game, including the graphics engine, sound system, and user interface. | |||
== Details == | |||
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 <code>~</code> key | |||
* Configuration UI - WoW's normal in-game configuration interface. Hit Esc to get to it. | |||
* [[API SetCVar|SetCVar]]() - [[WoW API|WoW global API]] for changing settings using [[Macros]] or [[AddOn]]s | |||
:{{icon-exclamation}} 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. | |||
== Reference == | |||
This is a categorized list of console variables, along with a short explanation for each CVar. The list is not complete; for a complete list, see [[Console variables/Complete list]]. See [[:Category:Console variables/Removed CVars|Category: Removed CVars]] for the deprecated/removed list. | |||
The general text syntax for setting a variable: | |||
SET ''variableName'' "''value''" | |||
=== Startup === | |||
These are general variables that are only relevant for starting the game (or which are only read during startup). | |||
:{{id|CVar|accountList}} - Saves multiple account names for login screen | |||
:{{id|CVar|accountName}} - Saves 1 account name for login screen | |||
:{{id|CVar|accounttype}} - Saves what account type the user is playing on - Wow, BC, LK or CT | |||
:{{id|CVar|blizzcon}} - Used by Blizzard to prevent tampering on Blizzcon computers | |||
:{{id|CVar|checkAddonVersion}} - Disable loading of out-of-date addons | |||
:{{id|CVar|CinematicJoystick}} | |||
:{{id|CVar|coresDetected}} - # of CPU cores detected | |||
:{{id|CVar|decorateAccountName}} - | |||
:{{id|CVar|expansionMovie}} - Display Cataclysm intro at startup (This variable is reset to 0 after the video has been shown) | |||
:{{id|CVar|forceEnglishNames}} - | |||
:{{id|CVar|installType}} - Retail/Beta/PTR | |||
:{{id|CVar|lastCharacterIndex}} - Number of last character that was used for logging in (initial selection for character screen) | |||
:{{id|CVar|locale}} - Game language code (e.g. "enGB", "enUS", "deDE", "frFR" ...) | |||
:{{id|CVar|heapAllocTracking}} - Enables/disables allocation tracking & dumping in SMemMalloc | |||
:{{id|CVar|heapUsage}} - | |||
:{{id|CVar|heapUsage2}} - | |||
:{{id|CVar|movie}} - Display intro movie at startup (doesn't work in [[Burning Crusade]] game client) | |||
:{{id|CVar|movieSubtitle}} - Display subtitles for intro movies | |||
:{{id|CVar|readContest}} - Whether the user has accepted the [[PTR]] contest rules | |||
:{{id|CVar|readEULA}} - Whether the user has accepted the [[EULA]] | |||
:{{id|CVar|readScanning}} - Whether the user has accepted the system scanning terms | |||
:{{id|CVar|readTOS}} - Whether the user has accepted the [[Terms of Use]] | |||
:{{id|CVar|realmList}} - Realm list server to use (e.g. "eu.logon.worldofwarcraft.com" or "us.logon.worldofwarcraft.com") | |||
:{{id|CVar|realmListbn}} - Battle.net realm list server to use (default: "") - wow still uses [[CVar realmList|realmList]] | |||
:REMOVED 5.4.1 {{id|CVar|realmName}} - Name of most recently used realm, displayed in the lower right corner. (removed 5.4.1) | |||
:{{id|CVar|showToolsUI}} - Enable the WoW Launcher | |||
:{{id|CVar|timingMethod}} - Sets the CPU timing method used. 0 is none, 1 is normal precision(fps limited to 64), 2 is high precision | |||
:{{id|CVar|patchlist}} - Address of wow patch server | |||
:{{id|CVar|processAffinityMask}} - Which processor core to start WoW on | |||
===Console=== | |||
These are commands that only affect the drop down menu | |||
:{{id|CVar|help}} - Displays help and information for any command. (Eg. Help debug) | |||
:{{id|CVar|fontcolor}} - Console Font Color | |||
:{{id|CVar|bgcolor}} - Backdrop color | |||
:{{id|CVar|highlightcolor}} - Console text highlight color | |||
:{{id|CVar|fontsize}} - Font Size | |||
:{{id|CVar|font}} - Name of Font to use in console | |||
:{{id|CVar|consolelines}} - How many lines to display on screen at once | |||
:{{id|CVar|clear}} - clears all console text | |||
:{{id|CVar|proportionaltext}} - Spaces text out to cover the entire screen (E x a m p l e !) | |||
:{{id|CVar|spacing}} - specifies inter-character spacing, in pixels | |||
:{{id|CVar|settings}} - lists current console settings | |||
:{{id|CVar|default}} - returns console to default settings | |||
:{{id|CVar|closeconsole}} - closes console | |||
:{{id|CVar|repeat}} - repeats a command when entered | |||
:{{id|CVar|cvarlist}} - lists all cvars with their current & default settings | |||
:{{id|CVar|cvar_default}} - sets all cvars to their defaults | |||
:{{id|CVar|cvar_reset}} - resets config.wtf file to the settings you use when you log in for the first time | |||
===Camera=== | |||
{{i-note|This list is NOT complete due to the increasing number of cvars for this category. | |||
See [[Console_variables/Complete_list#Character Specific Variables|Complete list]] for the full list of camera settings.}} | |||
:{{id|CVar|cameraBobbing}} | |||
:{{id|CVar|cameraBobbingFrequency}} | |||
:{{id|CVar|cameraBobbingLRAmplitude}} | |||
:{{id|CVar|cameraBobbingSmoothSpeed}} | |||
:{{id|CVar|cameraBobbingUDAmplitude}} | |||
:{{id|CVar|cameraCustomViewSmoothing}} | |||
:{{id|CVar|cameraDistance}} - Fixed value? | |||
:{{id|CVar|cameraDistanceD}} - Camera distance (zoom). May or may not show forced camera movements from camera-world collisions (untested). | |||
:{{id|CVar|cameraDistanceMax}} | |||
:{{id|CVar|cameraDistanceMaxFactor}} - Sets factor by which [[CVar cameraDistanceMax|cameraDistanceMax]] is multiplied | |||
:{{id|CVar|cameraDistanceMoveSpeed}} - Default is 8.33. | |||
:{{id|CVar|cameraDistanceSmoothSpeed}} - Default is 8.33. Values range from 0.002778-50. Changes speed at which you scroll-wheel zoom in/out. | |||
:{{id|CVar|cameraDive}} - Default is 1. | |||
:{{id|CVar|cameraFlyingMountHeightSmoothSpeed}} | |||
:{{id|CVar|cameraFoVSmoothSpeed}} | |||
:{{id|CVar|cameraGroundSmoothSpeed}} | |||
:{{id|CVar|cameraHeightIgnoreStandState}} | |||
:{{id|CVar|cameraHeightSmoothSpeed}} | |||
:{{id|CVar|cameraPitch}} - Fixed value? | |||
:{{id|CVar|cameraPitchD}} - Camera pitch. Doesn't seem to take forced camera movements because of camera-world collisions into consideration. | |||
:{{id|CVar|cameraPitchMoveSpeed}} | |||
:{{id|CVar|cameraPitchSmoothSpeed}} | |||
:{{id|CVar|cameraPitchSmoothMin}} | |||
:{{id|CVar|cameraPitchSmoothMax}} | |||
:{{id|CVar|cameraPivot}} - Default is 1. Controls if your camera will stop when it hits the ground so you can look up without being blocked by your character model. | |||
:{{id|CVar|cameraPivotDXMax}} | |||
:{{id|CVar|cameraPivotDYMin}} | |||
:{{id|CVar|camerasmooth}} | |||
:{{id|CVar|cameraSmoothPitch}} | |||
:{{id|CVar|cameraSmoothStyle}} - Default is 0. Possible values 0-2. | |||
:{{id|CVar|cameraSmoothTrackingStyle}} | |||
:{{id|CVar|cameraSmoothYaw}} | |||
:{{id|CVar|cameraSmoothTimeMin}} | |||
:{{id|CVar|cameraSmoothTimeMax}} | |||
:{{id|CVar|cameraSubmergeFinalPitch}} | |||
:{{id|CVar|cameraSubmergePitch}} | |||
:{{id|CVar|cameraSurfacePitch}} | |||
:{{id|CVar|cameraSurfaceFinalPitch}} | |||
:{{id|CVar|cameraTargetSmoothSpeed}} | |||
:{{id|CVar|cameraTerrainTilt}} | |||
:{{id|CVar|cameraTerrainTiltTimeMin}} | |||
:{{id|CVar|cameraTerrainTiltTimeMax}} | |||
:{{id|CVar|cameraView}} | |||
:{{id|CVar|cameraViewBlendStyle}} - Default is 1. Possible values 1-2. Camera moves from saved positions smoothly or instantly. | |||
:{{id|CVar|cameraWaterCollision}} | |||
:{{id|CVar|cameraYaw}} - Fixed value? | |||
:{{id|CVar|cameraYawD}} - Camera yaw. May or may not show forced camera movements from camera-world collisions (untested). | |||
:{{id|CVar|cameraYawMoveSpeed}} - Default is 230. Possible values 1-360. Changes the speed at which the camera can spin. | |||
:{{id|CVar|cameraYawSmoothMax}} | |||
:{{id|CVar|cameraYawSmoothMin}} | |||
:{{id|CVar|cameraYawSmoothSpeed}} | |||
===Controls=== | |||
:{{id|CVar|assistAttack}} - Start attacking automatically after using /assist | |||
:{{id|CVar|autoClearAFK}} - Clear AFK upon movement | |||
:{{id|CVar|autoDismount}} - Dismount when trying to use an ability | |||
:{{id|CVar|autoDismountFlying}} - ...even when flying | |||
:{{id|CVar|AutoInteract}} - Right-click to move | |||
:{{id|CVar|autoLootDefault}} - Items picked up automatically when looting | |||
:{{id|CVar|autoRangedCombat}} - Automatically switch between ranged and meelee attack | |||
:{{id|CVar|autoSelfCast}} - Automatic self-casting | |||
:{{id|CVar|autoStand}} - Stand up when trying to use an ability (added Patch 2.3) | |||
:{{id|CVar|autoUnshift}} - Unshift/Unstealth/Leave shadowform when using an ability only usable "unshifted" (added Patch 2.3) | |||
:{{id|CVar|deselectOnClick}} - Sticky targeting | |||
:{{id|CVar|enableWowMouse}} - Enables the Steelseries Gaming Mouse | |||
:{{id|CVar|Joystick}} - Enable Joysticks | |||
:{{id|CVar|mouseInvertPitch}} - Invert up-down mouse motion | |||
:{{id|CVar|mouseInvertYaw}} - Invert left-right mouse motion | |||
:{{id|CVar|mouseSpeed}} - Mouse speed | |||
:{{id|CVar|stopAutoAttackOnTargetChange}} - Stop attacking when switching targets | |||
===Engine=== | |||
:{{id|CVar|asyncHandlerTimeout}} - A test of the engine - aka you're loading into instance, click out of wow, click back & wow has stopped responding. | |||
:{{id|CVar|asyncThreadSleep}} - Engine option: Set based on asyncHandlerTimeout | |||
:{{id|CVar|dbCompress}} - Database compression (?) | |||
:{{id|CVar|Errors}} - | |||
:{{id|CVar|ErrorFileLog}} - | |||
:{{id|CVar|ErrorLevelMin}} - | |||
:{{id|CVar|ErrorLevelMax}} - | |||
:{{id|CVar|ErrorFilter}} - | |||
:{{id|CVar|MemUsage}} - | |||
:{{id|CVar|ShowErrors}} - Enables/Disables errors from being shown | |||
:{{id|CVar|timingTestError}} - | |||
===Graphics=== | |||
:{{id|CVar|bspcache}} - Binary Space Partition Caching | |||
:{{id|CVar|componentCompress}} - Fixes issues with characters being fully black caused by bad/old drivers. | |||
:{{id|CVar|componentTextureLevel}} - Changes the quality of player textures. Older textures seem to be unaffected. (1: low quality, 0: high quality) | |||
:{{id|CVar|componentThread}} - | |||
:{{id|CVar|DesktopGamma}} - Matches Windows' Gamma Settings | |||
:{{id|CVar|detailDoodadAlpha}} - | |||
:{{id|CVar|DistCull}} - Sets distance for culling of objects near farclip | |||
:{{id|CVar|extShadowQuality}} - Enables Dynamic Shadows (WoW 3.0) | |||
:{{id|CVar|environmentDetail}} - Controls model draw distance for doodads (WoW 3.0) | |||
:{{id|CVar|farclip}} - Set detailed draw distance; sets the fog distance. Only terrain will be visible past this distance. | |||
:{{id|CVar|farclipoverride}} - Allows overriding of preset limit for farclip (WoW 3.0) | |||
:{{id|CVar|ffx}} - Enable all pixel shaders | |||
:{{id|CVar|ffxDeath}} - Enable full screen death effect | |||
:{{id|CVar|ffxGlow}} - Enable full screen glow effect | |||
:{{id|CVar|ffxNetherWorld}} - Enable full screen "nether world" effect, e.g. for a [[Mage]]'s [[Invisibility]] | |||
:{{id|CVar|ffxRectangle}} - Enables Widescreen Framebuffer | |||
:{{id|CVar|ffxSpecial}} - Enables alternative on screen effects. (WoW 3.0 [[Image:Wrath-Logo-Small.PNG]]) | |||
:{{id|CVar|fixedFunction}} - Force fixed function pixel and vertex processing | |||
:{{id|CVar|footstepBias}} - ? | |||
:{{id|CVar|Gamma}} - Gamma level | |||
:{{id|CVar|groundEffectDensity}} - | |||
:{{id|CVar|groundEffectDist}} - | |||
:{{id|CVar|gxApi}} - Graphics API to use | |||
:{{id|CVar|gxAspect}} - Preserve aspect ratio for windowed mode | |||
:{{id|CVar|gxColorBits}} - Color bits | |||
:{{id|CVar|gxCursor}} - Enable hardware cursors | |||
:{{id|CVar|gxDepthBits}} - Depth bits | |||
:{{id|CVar|gxFixLag}} - Smooth mouse cursor | |||
:{{id|CVar|gxMonitor}} - Сhoice of main monitor that is used for game | |||
:{{id|CVar|gxMaximize}} - When using windowed mode, maximize the window | |||
:{{id|CVar|gxMultisample}} - Enable anti-aliasing (e.g. "4" for 4x multisampling) | |||
:{{id|CVar|gxMultisampleQuality}} - Quality for anti-aliasing (?) | |||
:{{id|CVar|gxOverride}} - ? | |||
:{{id|CVar|gxRefresh}} - Refresh rate in Hz | |||
:{{id|CVar|gxResolution}} - Screen resolution (e.g. "1280x1024") | |||
:{{id|CVar|gxRestart}} - Restarts the graphics engine | |||
:{{id|CVar|gxTextureCacheSize}} - Set the cache size | |||
:{{id|CVar|gxTripleBuffer}} - Enable Triple Buffering | |||
:{{id|CVar|gxVSync}} - Enable VSync | |||
:{{id|CVar|gxWindow}} - Windowed mode | |||
:{{id|CVar|horizonfarclip}} - Set draw distance for the horizon (terrain). When larger than farclip, will show 'shadows' of terrain in the distance. | |||
:{{id|CVar|horizonfarclip}} - Set draw distance for terrain closest to you. | |||
:{{id|CVar|hwDetect}} - Perform hardware detection for best values | |||
:{{id|CVar|hwPCF}} - Use hardware based Percentage Closer Filtering for shadows (Default on) | |||
:{{id|CVar|lod}} - Level of detail, toggles the level of detail option in the graphics menu | |||
:{{id|CVar|M2BatchDoodads}} - Enable handling of Detail Doodads in batches (combine doodads to reduce batch count) | |||
:{{id|CVar|M2BatchParticles}} - combine particle emitters to reduce batch count | |||
:{{id|CVar|M2Faster}} - end user control of scene optimization mode - (0-3) | |||
:{{id|CVar|M2FasterDebug}} - Enables developer dynamic control (programmer control of scene optimization mode) | |||
:{{id|CVar|M2UseClipPlanes}} - use clip planes for sorting transparent objects | |||
:{{id|CVar|M2UseThreads}} - multithread model animations | |||
:{{id|CVar|M2UseZFill}} - Enabled Z-Fill on transparent objects | |||
:{{id|CVar|mapObjLightLOD}} - ? | |||
:{{id|CVar|mapShadows}} - Toggle map shadows | |||
:{{id|CVar|MaxFPS}} - Framerate Limitation | |||
:{{id|CVar|maxFPSBk}} - Framerate Limitation while Wow isn't in focus | |||
:{{id|CVar|MaxLights}} - Maximum number of hardware lights | |||
:{{id|CVar|nearclip}} - Clipping range for small detail doodads | |||
:{{id|CVar|objectFade}} - | |||
:{{id|CVar|ObjectFadeZFill}} - | |||
:{{id|CVar|occlusion}} - Disables rendering of objects that are entirely blocked by other graphics | |||
:{{id|CVar|particleDensity}} - Particle density | |||
:{{id|CVar|pixelShaders}} - Enable pixel shaders | |||
:{{id|CVar|playerTextureLevels}} - Deprecated and replaced by [[componentTextureLevel]] | |||
:{{id|CVar|PlayerFadeInRate}} - fade in rate for player mouseover | |||
:{{id|CVar|PlayerFadeOutAlpha}} - min fade out alpha for player mouseover | |||
:{{id|CVar|PlayerFadeOutRate}} - fade out rate for player mouseover | |||
:{{id|CVar|shadowBias}} - Blob Shadow transparency levels | |||
:{{id|CVar|shadowcull}} - ? | |||
:{{id|CVar|shadowinstancing}} - Shadow optimization which prevents flickering | |||
:{{id|CVar|shadowLevel}} - Level of detail for shadow mip maps | |||
:{{id|CVar|shadowLOD}} - Enables or Disables Blob Shadows | |||
:{{id|Cvar|shadowscissor}} - ? | |||
:{{id|CVar|showshadow}} - ? | |||
:{{id|CVar|showfootprints}} - Enable footprints | |||
:{{id|CVar|showfootprintparticles}} - ? | |||
:{{id|CVar|showsmartrects}} - Deprecated in WoW 3.0 | |||
:{{id|CVar|SkyCloudLOD}} - Level of detail for Sky | |||
:{{id|CVar|SmallCull}} - Affects the hiding ('culling') of small objects. Setting to 0 disables. | |||
:{{id|CVar|specular}} - Enable specular shading | |||
:{{id|CVar|spellEffectLevel}} - Spell Effect level | |||
:{{id|CVar|SplineOpt}} - Loading Screen Spline for travel | |||
:{{id|CVar|texLodBias}} - Texture Level of Detail Bias (?) | |||
:{{id|CVar|terrainMipLevel}} - Terrain texture blending mode. (1: low quality, 0: high quality) | |||
:{{id|CVar|textureFilteringMode}} - Texture filtering mode (?) | |||
:{{id|CVar|textureCacheSize}} - Caches in memory textures when they are not in use for quick loading. (Min: 8388608, Max: 536870912, Default: 33554432) | |||
:{{id|CVar|triangleStrips}} - Deprecated in WoW 3.0 | |||
:{{id|CVar|UIFaster}} - UI acceleration level | |||
:{{id|CVar|unitDrawDist}} - Unit draw distance | |||
:{{id|CVar|unitHighlights}} - Toggle model highlighting on targeted units | |||
:{{id|CVar|useWeatherShaders}} - Enable weather shaders | |||
:{{id|CVar|violenceLevel}} - Changes the violence level of the game | |||
:{{id|CVar|waterLOD}} - Level of Detail for water (Locked) | |||
:{{id|CVar|windowResizeLock}} - Locks so the game can't be resized while in windowed mode - see [[CVar gxWindow|gxWindow]] | |||
:{{id|CVar|weatherDensity}} - Level of weather effects | |||
:{{id|CVar|worldBaseMip}} - Environment texture quality (2: low, 1: medium, 0: high) | |||
===[[Interface]]=== | |||
:{{id|CVar|BlockTrades}} - Block trade requests | |||
:{{id|CVar|ChatBubbles}} - Enable chat bubbles | |||
:{{id|CVar|ChatBubblesParty}} - Enable party chat bubbles | |||
:{{id|CVar|colorChatNamesByClass}} - name will change to a color to match their class. default is 0. | |||
:{{id|CVar|CombatDamage}} - Enable damage display over target | |||
:{{id|CVar|CombatHealing}} - Enable healing display over target | |||
:{{id|CVar|combatLogOn}} - Enable combat log (?) | |||
:{{id|CVar|CombatLogPeriodicSpells}} - Enable periodic spells in combat log (?) | |||
:{{id|CVar|flaggedTutorials}} - Enable/Disable tutorials for new players | |||
:{{id|CVar|gameTip}} - Determine which Loading Screen tip will display next (increments per character Login) | |||
:{{id|CVar|guildMemberNotify}} - Display notification when guild members log in or out | |||
:{{id|CVar|lfgSelectedRoles}} - your current LFG role selection information | |||
:{{id|CVar|minimapZoom}} - Minimap zoom level (?) | |||
:{{id|CVar|minimapInsideZoom}} - Minimap inside zoom level (return the same zoom level as Minimap:GetZoom() when in indoors) | |||
:{{id|CVar|ObjectSelectionCircle}} - Size of the targeting circle ('0' disables) | |||
:{{id|CVar|PetMeleeDamage}} - Show pet melee damage | |||
:{{id|CVar|PetSpellDamage}} - Show pet spell damage | |||
:{{id|CVar|predictedHealth}} - Enables the Smooth filling Health Bar ('0' disables) | |||
:{{id|CVar|predictedPower}} - Enables the Smooth filling Energy/Mana/Rage/Runic Bar ('0' disables) | |||
:{{id|CVar|profanityFilter}} - Enable profanity filter | |||
:{{id|CVar|rotateMinimap}} - Rotate minimap | |||
:{{id|CVar|secureAbilityToggle}} - Keeps players from accidentally toggling off by hitting the button more than once in a short (3 sec?) period of time | |||
:{{id|CVar|spamFilter}} - Enable spam filter | |||
:{{id|CVar|screenshotFormat}} - Screenshot format | |||
:{{id|CVar|screenshotQuality}} - Screenshot quality (0-10) | |||
:{{id|CVar|showGameTips}} - Toggles displaying of loading screen game tips ('0' disables) | |||
:{{id|CVar|showLootSpam}} - Show a message in the combat log with the amount of money looted when auto-looting | |||
:{{id|CVar|ShowTargetCastbar}} - Show your target's cast bar | |||
:{{id|CVar|ShowVKeyCastbar}} - Show target's cast bar under nameplates | |||
:{{id|CVar|scriptErrors}} - (0/1) Whether or not the UI shows Lua errors | |||
:{{id|CVar|scriptProfile}} - ? | |||
:{{id|CVar|statusBarText}} - Show the Player status bar values as text on top of the normal HP/MP/Energy/Rage bars | |||
:{{id|CVar|synchronizeSettings}} - Toggles the saving of UI settings to the server (0-1) | |||
:{{id|CVar|UberTooltips}} - Show "extended" tooltips | |||
:{{id|CVar|uiScale}} - Interface scale | |||
:{{id|CVar|UnitNameRenderMode}} - ? | |||
:{{id|CVar|UnitNameOwn}} - (0/1) Toggle Own Name | |||
:{{id|CVar|UnitNameNPC}} - (0/1) Toggle NPC Name | |||
:{{id|CVar|UnitNamePlayerGuild}} - (0/1) Toggle Guild Tags | |||
:{{id|CVar|UnitNamePlayerPVPTitle}} - (0/1) Toggle Titles | |||
:{{id|CVar|UnitNameFriendlyPlayerName}} - (0/1) Toggle Friendly Player Names | |||
:{{id|CVar|UnitNameFriendlyPetName}} - (0/1) Toggle Friendly Pet Names | |||
:{{id|CVar|UnitNameFriendlyCreationName}} - (0/1) Toggle Friendly Creation Names | |||
:{{id|CVar|UnitNameEnemyPlayerName}} - (0/1) Toggle Enemy Player Names | |||
:{{id|CVar|UnitNameEnemyPetName}} - (0/1) Toggle Enemy Pet Names | |||
:{{id|CVar|UnitNameEnemyCreationName}} - (0/1) Toggle Enemy Creation Names | |||
:{{id|CVar|UnitNameCompanionName}} - (0/1) Toggle Companion Names | |||
:{{id|CVar|useUiScale}} - Enable interface scaling | |||
===Sound=== | |||
:{{id|CVar|ChatAmbienceVolume}} - Volume setting for surroundings while in voice chat | |||
:{{id|CVar|ChatMusicVolume}} - Volume setting for game music while in voice chat | |||
:{{id|CVar|ChatSoundVolume}} - Volume setting for voice chat | |||
:{{id|CVar|EnableMicrophone}} - Enables the Microphone | |||
:{{id|CVar|EnableVoiceChat}} - Enables Voice Chat | |||
:{{id|CVar|FootstepSounds}} - Enables/Disables footstep sound | |||
:{{id|CVar|InboundChatVolume}} | |||
:{{id|CVar|OutboundChatVolume}} | |||
:{{id|CVar|Sound_ChaosMode}} - Plays random sounds depending on what it is set to (needs to be enabled) | |||
:{{id|CVar|Sound_EnableSoftwareHRTF}} - Enables headphone designed sound subsystem | |||
:{{id|CVar|Sound_VoiceChatInputDriverIndex}} - Device for voice input (Microphone) | |||
:{{id|CVar|Sound_VoiceChatOutputDriverIndex}} - Device for voice output (Headset or secondary speakers) | |||
:{{id|CVar|Sound_OutputDriverIndex}} - Audio Device Selected | |||
:{{id|CVar|Sound_DSPBufferSize}} - Sound buffer size | |||
:{{id|CVar|Sound_EnableSFX}} - Enables SoundFX | |||
:{{id|CVar|Sound_EnableErrorSpeech}} - Enable error sounds ("Can't cast that yet!") | |||
:{{id|CVar|Sound_EnableMusic}} - Enables Music | |||
:{{id|CVar|Sound_EnableAllSound}} - Enables All Sound | |||
:{{id|CVar|Sound_ListenerAtCharacter}} - Set sound center to player | |||
:{{id|CVar|Sound_EnableEmoteSounds}} - Enable emote voices | |||
:{{id|CVar|Sound_EnableArmorFoleySoundForSelf}} - Enable armor damage sounds for player | |||
:{{id|CVar|Sound_EnableArmorFoleySoundForOthers}} - Enable armor damage sounds for NPCs and other PCs | |||
:{{id|CVar|Sound_MaxCacheableSizeInBytes}} - Max sound size that will be cached, larger files will be streamed instead | |||
:{{id|CVar|SoundMemoryCache}} - Sound cache memory size in MB | |||
:{{id|CVar|Sound_EnableMode2}} - Enables Alternate sound processing | |||
:{{id|CVar|Sound_EnableMixMode2}} - Enables and controls PCM Audio Quality | |||
:{{id|CVar|Sound_EnableHardware}} - Enable Audio Hardware Acceleration | |||
:{{id|CVar|useEnglishAudio}} - override the locale and use English audio | |||
=== Removed === | |||
See [[:Category:Console variables/Removed CVars|Removed CVars]] | |||
[[Category:Console variables| ]] |
Latest revision as of 06:21, 15 August 2023
In the World of Warcraft game client you can access many of its configuration options through 'console variables' or 'CVars'. These variables affect many aspects of the game, including the graphics engine, sound system, and user interface.
Details[edit]
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
- 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.
Reference[edit]
This is a categorized list of console variables, along with a short explanation for each CVar. The list is not complete; for a complete list, see Console variables/Complete list. See Category: Removed CVars for the deprecated/removed list.
The general text syntax for setting a variable:
SET variableName "value"
Startup[edit]
These are general variables that are only relevant for starting the game (or which are only read during startup).
- accountList - Saves multiple account names for login screen
- accountName - Saves 1 account name for login screen
- accounttype - Saves what account type the user is playing on - Wow, BC, LK or CT
- blizzcon - Used by Blizzard to prevent tampering on Blizzcon computers
- checkAddonVersion - Disable loading of out-of-date addons
- CinematicJoystick
- coresDetected - # of CPU cores detected
- decorateAccountName -
- expansionMovie - Display Cataclysm intro at startup (This variable is reset to 0 after the video has been shown)
- forceEnglishNames -
- installType - Retail/Beta/PTR
- lastCharacterIndex - Number of last character that was used for logging in (initial selection for character screen)
- locale - Game language code (e.g. "enGB", "enUS", "deDE", "frFR" ...)
- heapAllocTracking - Enables/disables allocation tracking & dumping in SMemMalloc
- heapUsage -
- heapUsage2 -
- movie - Display intro movie at startup (doesn't work in Burning Crusade game client)
- movieSubtitle - Display subtitles for intro movies
- readContest - Whether the user has accepted the PTR contest rules
- readEULA - Whether the user has accepted the EULA
- readScanning - Whether the user has accepted the system scanning terms
- readTOS - Whether the user has accepted the Terms of Use
- realmList - Realm list server to use (e.g. "eu.logon.worldofwarcraft.com" or "us.logon.worldofwarcraft.com")
- realmListbn - Battle.net realm list server to use (default: "") - wow still uses realmList
- REMOVED 5.4.1 realmName - Name of most recently used realm, displayed in the lower right corner. (removed 5.4.1)
- showToolsUI - Enable the WoW Launcher
- timingMethod - Sets the CPU timing method used. 0 is none, 1 is normal precision(fps limited to 64), 2 is high precision
- patchlist - Address of wow patch server
- processAffinityMask - Which processor core to start WoW on
Console[edit]
These are commands that only affect the drop down menu
- help - Displays help and information for any command. (Eg. Help debug)
- fontcolor - Console Font Color
- bgcolor - Backdrop color
- highlightcolor - Console text highlight color
- fontsize - Font Size
- font - Name of Font to use in console
- consolelines - How many lines to display on screen at once
- clear - clears all console text
- proportionaltext - Spaces text out to cover the entire screen (E x a m p l e !)
- spacing - specifies inter-character spacing, in pixels
- settings - lists current console settings
- default - returns console to default settings
- closeconsole - closes console
- repeat - repeats a command when entered
- cvarlist - lists all cvars with their current & default settings
- cvar_default - sets all cvars to their defaults
- cvar_reset - resets config.wtf file to the settings you use when you log in for the first time
Camera[edit]
- cameraBobbing
- cameraBobbingFrequency
- cameraBobbingLRAmplitude
- cameraBobbingSmoothSpeed
- cameraBobbingUDAmplitude
- cameraCustomViewSmoothing
- cameraDistance - Fixed value?
- cameraDistanceD - Camera distance (zoom). May or may not show forced camera movements from camera-world collisions (untested).
- cameraDistanceMax
- cameraDistanceMaxFactor - Sets factor by which cameraDistanceMax is multiplied
- cameraDistanceMoveSpeed - Default is 8.33.
- cameraDistanceSmoothSpeed - Default is 8.33. Values range from 0.002778-50. Changes speed at which you scroll-wheel zoom in/out.
- cameraDive - Default is 1.
- cameraFlyingMountHeightSmoothSpeed
- cameraFoVSmoothSpeed
- cameraGroundSmoothSpeed
- cameraHeightIgnoreStandState
- cameraHeightSmoothSpeed
- cameraPitch - Fixed value?
- cameraPitchD - Camera pitch. Doesn't seem to take forced camera movements because of camera-world collisions into consideration.
- cameraPitchMoveSpeed
- cameraPitchSmoothSpeed
- cameraPitchSmoothMin
- cameraPitchSmoothMax
- cameraPivot - Default is 1. Controls if your camera will stop when it hits the ground so you can look up without being blocked by your character model.
- cameraPivotDXMax
- cameraPivotDYMin
- camerasmooth
- cameraSmoothPitch
- cameraSmoothStyle - Default is 0. Possible values 0-2.
- cameraSmoothTrackingStyle
- cameraSmoothYaw
- cameraSmoothTimeMin
- cameraSmoothTimeMax
- cameraSubmergeFinalPitch
- cameraSubmergePitch
- cameraSurfacePitch
- cameraSurfaceFinalPitch
- cameraTargetSmoothSpeed
- cameraTerrainTilt
- cameraTerrainTiltTimeMin
- cameraTerrainTiltTimeMax
- cameraView
- cameraViewBlendStyle - Default is 1. Possible values 1-2. Camera moves from saved positions smoothly or instantly.
- cameraWaterCollision
- cameraYaw - Fixed value?
- cameraYawD - Camera yaw. May or may not show forced camera movements from camera-world collisions (untested).
- cameraYawMoveSpeed - Default is 230. Possible values 1-360. Changes the speed at which the camera can spin.
- cameraYawSmoothMax
- cameraYawSmoothMin
- cameraYawSmoothSpeed
Controls[edit]
- assistAttack - Start attacking automatically after using /assist
- autoClearAFK - Clear AFK upon movement
- autoDismount - Dismount when trying to use an ability
- autoDismountFlying - ...even when flying
- AutoInteract - Right-click to move
- autoLootDefault - Items picked up automatically when looting
- autoRangedCombat - Automatically switch between ranged and meelee attack
- autoSelfCast - Automatic self-casting
- autoStand - Stand up when trying to use an ability (added Patch 2.3)
- autoUnshift - Unshift/Unstealth/Leave shadowform when using an ability only usable "unshifted" (added Patch 2.3)
- deselectOnClick - Sticky targeting
- enableWowMouse - Enables the Steelseries Gaming Mouse
- Joystick - Enable Joysticks
- mouseInvertPitch - Invert up-down mouse motion
- mouseInvertYaw - Invert left-right mouse motion
- mouseSpeed - Mouse speed
- stopAutoAttackOnTargetChange - Stop attacking when switching targets
Engine[edit]
- asyncHandlerTimeout - A test of the engine - aka you're loading into instance, click out of wow, click back & wow has stopped responding.
- asyncThreadSleep - Engine option: Set based on asyncHandlerTimeout
- dbCompress - Database compression (?)
- Errors -
- ErrorFileLog -
- ErrorLevelMin -
- ErrorLevelMax -
- ErrorFilter -
- MemUsage -
- ShowErrors - Enables/Disables errors from being shown
- timingTestError -
Graphics[edit]
- bspcache - Binary Space Partition Caching
- componentCompress - Fixes issues with characters being fully black caused by bad/old drivers.
- componentTextureLevel - Changes the quality of player textures. Older textures seem to be unaffected. (1: low quality, 0: high quality)
- componentThread -
- DesktopGamma - Matches Windows' Gamma Settings
- detailDoodadAlpha -
- DistCull - Sets distance for culling of objects near farclip
- extShadowQuality - Enables Dynamic Shadows (WoW 3.0)
- environmentDetail - Controls model draw distance for doodads (WoW 3.0)
- farclip - Set detailed draw distance; sets the fog distance. Only terrain will be visible past this distance.
- farclipoverride - Allows overriding of preset limit for farclip (WoW 3.0)
- ffx - Enable all pixel shaders
- ffxDeath - Enable full screen death effect
- ffxGlow - Enable full screen glow effect
- ffxNetherWorld - Enable full screen "nether world" effect, e.g. for a Mage's Invisibility
- ffxRectangle - Enables Widescreen Framebuffer
- ffxSpecial - Enables alternative on screen effects. (WoW 3.0 File:Wrath-Logo-Small.PNG)
- fixedFunction - Force fixed function pixel and vertex processing
- footstepBias - ?
- Gamma - Gamma level
- groundEffectDensity -
- groundEffectDist -
- gxApi - Graphics API to use
- gxAspect - Preserve aspect ratio for windowed mode
- gxColorBits - Color bits
- gxCursor - Enable hardware cursors
- gxDepthBits - Depth bits
- gxFixLag - Smooth mouse cursor
- gxMonitor - Сhoice of main monitor that is used for game
- gxMaximize - When using windowed mode, maximize the window
- gxMultisample - Enable anti-aliasing (e.g. "4" for 4x multisampling)
- gxMultisampleQuality - Quality for anti-aliasing (?)
- gxOverride - ?
- gxRefresh - Refresh rate in Hz
- gxResolution - Screen resolution (e.g. "1280x1024")
- gxRestart - Restarts the graphics engine
- gxTextureCacheSize - Set the cache size
- gxTripleBuffer - Enable Triple Buffering
- gxVSync - Enable VSync
- gxWindow - Windowed mode
- horizonfarclip - Set draw distance for the horizon (terrain). When larger than farclip, will show 'shadows' of terrain in the distance.
- horizonfarclip - Set draw distance for terrain closest to you.
- hwDetect - Perform hardware detection for best values
- hwPCF - Use hardware based Percentage Closer Filtering for shadows (Default on)
- lod - Level of detail, toggles the level of detail option in the graphics menu
- M2BatchDoodads - Enable handling of Detail Doodads in batches (combine doodads to reduce batch count)
- M2BatchParticles - combine particle emitters to reduce batch count
- M2Faster - end user control of scene optimization mode - (0-3)
- M2FasterDebug - Enables developer dynamic control (programmer control of scene optimization mode)
- M2UseClipPlanes - use clip planes for sorting transparent objects
- M2UseThreads - multithread model animations
- M2UseZFill - Enabled Z-Fill on transparent objects
- mapObjLightLOD - ?
- mapShadows - Toggle map shadows
- MaxFPS - Framerate Limitation
- maxFPSBk - Framerate Limitation while Wow isn't in focus
- MaxLights - Maximum number of hardware lights
- nearclip - Clipping range for small detail doodads
- objectFade -
- ObjectFadeZFill -
- occlusion - Disables rendering of objects that are entirely blocked by other graphics
- particleDensity - Particle density
- pixelShaders - Enable pixel shaders
- playerTextureLevels - Deprecated and replaced by componentTextureLevel
- PlayerFadeInRate - fade in rate for player mouseover
- PlayerFadeOutAlpha - min fade out alpha for player mouseover
- PlayerFadeOutRate - fade out rate for player mouseover
- shadowBias - Blob Shadow transparency levels
- shadowcull - ?
- shadowinstancing - Shadow optimization which prevents flickering
- shadowLevel - Level of detail for shadow mip maps
- shadowLOD - Enables or Disables Blob Shadows
- shadowscissor - ?
- showshadow - ?
- showfootprints - Enable footprints
- showfootprintparticles - ?
- showsmartrects - Deprecated in WoW 3.0
- SkyCloudLOD - Level of detail for Sky
- SmallCull - Affects the hiding ('culling') of small objects. Setting to 0 disables.
- specular - Enable specular shading
- spellEffectLevel - Spell Effect level
- SplineOpt - Loading Screen Spline for travel
- texLodBias - Texture Level of Detail Bias (?)
- terrainMipLevel - Terrain texture blending mode. (1: low quality, 0: high quality)
- textureFilteringMode - Texture filtering mode (?)
- textureCacheSize - Caches in memory textures when they are not in use for quick loading. (Min: 8388608, Max: 536870912, Default: 33554432)
- triangleStrips - Deprecated in WoW 3.0
- UIFaster - UI acceleration level
- unitDrawDist - Unit draw distance
- unitHighlights - Toggle model highlighting on targeted units
- useWeatherShaders - Enable weather shaders
- violenceLevel - Changes the violence level of the game
- waterLOD - Level of Detail for water (Locked)
- windowResizeLock - Locks so the game can't be resized while in windowed mode - see gxWindow
- weatherDensity - Level of weather effects
- worldBaseMip - Environment texture quality (2: low, 1: medium, 0: high)
Interface[edit]
- BlockTrades - Block trade requests
- ChatBubbles - Enable chat bubbles
- ChatBubblesParty - Enable party chat bubbles
- colorChatNamesByClass - name will change to a color to match their class. default is 0.
- CombatDamage - Enable damage display over target
- CombatHealing - Enable healing display over target
- combatLogOn - Enable combat log (?)
- CombatLogPeriodicSpells - Enable periodic spells in combat log (?)
- flaggedTutorials - Enable/Disable tutorials for new players
- gameTip - Determine which Loading Screen tip will display next (increments per character Login)
- guildMemberNotify - Display notification when guild members log in or out
- lfgSelectedRoles - your current LFG role selection information
- minimapZoom - Minimap zoom level (?)
- minimapInsideZoom - Minimap inside zoom level (return the same zoom level as Minimap:GetZoom() when in indoors)
- ObjectSelectionCircle - Size of the targeting circle ('0' disables)
- PetMeleeDamage - Show pet melee damage
- PetSpellDamage - Show pet spell damage
- predictedHealth - Enables the Smooth filling Health Bar ('0' disables)
- predictedPower - Enables the Smooth filling Energy/Mana/Rage/Runic Bar ('0' disables)
- profanityFilter - Enable profanity filter
- rotateMinimap - Rotate minimap
- secureAbilityToggle - Keeps players from accidentally toggling off by hitting the button more than once in a short (3 sec?) period of time
- spamFilter - Enable spam filter
- screenshotFormat - Screenshot format
- screenshotQuality - Screenshot quality (0-10)
- showGameTips - Toggles displaying of loading screen game tips ('0' disables)
- showLootSpam - Show a message in the combat log with the amount of money looted when auto-looting
- ShowTargetCastbar - Show your target's cast bar
- ShowVKeyCastbar - Show target's cast bar under nameplates
- scriptErrors - (0/1) Whether or not the UI shows Lua errors
- scriptProfile - ?
- statusBarText - Show the Player status bar values as text on top of the normal HP/MP/Energy/Rage bars
- synchronizeSettings - Toggles the saving of UI settings to the server (0-1)
- UberTooltips - Show "extended" tooltips
- uiScale - Interface scale
- UnitNameRenderMode - ?
- UnitNameOwn - (0/1) Toggle Own Name
- UnitNameNPC - (0/1) Toggle NPC Name
- UnitNamePlayerGuild - (0/1) Toggle Guild Tags
- UnitNamePlayerPVPTitle - (0/1) Toggle Titles
- UnitNameFriendlyPlayerName - (0/1) Toggle Friendly Player Names
- UnitNameFriendlyPetName - (0/1) Toggle Friendly Pet Names
- UnitNameFriendlyCreationName - (0/1) Toggle Friendly Creation Names
- UnitNameEnemyPlayerName - (0/1) Toggle Enemy Player Names
- UnitNameEnemyPetName - (0/1) Toggle Enemy Pet Names
- UnitNameEnemyCreationName - (0/1) Toggle Enemy Creation Names
- UnitNameCompanionName - (0/1) Toggle Companion Names
- useUiScale - Enable interface scaling
Sound[edit]
- ChatAmbienceVolume - Volume setting for surroundings while in voice chat
- ChatMusicVolume - Volume setting for game music while in voice chat
- ChatSoundVolume - Volume setting for voice chat
- EnableMicrophone - Enables the Microphone
- EnableVoiceChat - Enables Voice Chat
- FootstepSounds - Enables/Disables footstep sound
- InboundChatVolume
- OutboundChatVolume
- Sound_ChaosMode - Plays random sounds depending on what it is set to (needs to be enabled)
- Sound_EnableSoftwareHRTF - Enables headphone designed sound subsystem
- Sound_VoiceChatInputDriverIndex - Device for voice input (Microphone)
- Sound_VoiceChatOutputDriverIndex - Device for voice output (Headset or secondary speakers)
- Sound_OutputDriverIndex - Audio Device Selected
- Sound_DSPBufferSize - Sound buffer size
- Sound_EnableSFX - Enables SoundFX
- Sound_EnableErrorSpeech - Enable error sounds ("Can't cast that yet!")
- Sound_EnableMusic - Enables Music
- Sound_EnableAllSound - Enables All Sound
- Sound_ListenerAtCharacter - Set sound center to player
- Sound_EnableEmoteSounds - Enable emote voices
- Sound_EnableArmorFoleySoundForSelf - Enable armor damage sounds for player
- Sound_EnableArmorFoleySoundForOthers - Enable armor damage sounds for NPCs and other PCs
- Sound_MaxCacheableSizeInBytes - Max sound size that will be cached, larger files will be streamed instead
- SoundMemoryCache - Sound cache memory size in MB
- Sound_EnableMode2 - Enables Alternate sound processing
- Sound_EnableMixMode2 - Enables and controls PCM Audio Quality
- Sound_EnableHardware - Enable Audio Hardware Acceleration
- useEnglishAudio - override the locale and use English audio
Removed[edit]
See Removed CVars