CVar cameraDistanceMaxFactor

From Wowpedia
Jump to: navigation, search

Sets the factor by which cameraDistanceMax 15 is multiplied.

If the product of this value exceeds 39, the max distance will be 39. The camera can not be zoomed out beyond 39 yards.

Default Setting

1

Possible Settings

1 - 2.6 
When set to 1.9 or higher it will reset/clamp back to that value on relog or /reload [1] [2]
Changing the slider maxValue before PLAYER_ENTERING_WORLD will remedy this (the clamping will be fixed in patch 7.1) [3]
CameraPanelOptions.cameraDistanceMaxFactor.maxValue = 2.6

Changing this setting

In-game, type the following

/console cameraDistanceMaxFactor setting

Alternatively, you can exit wow, open the Config-cache.wtf file, and add the following line:

SET cameraDistanceMaxFactor setting

You can also use the SetCVar Lua function to modify it:

/run SetCVar("cameraDistanceMaxFactor", value)

Patch changes

  • Legion Patch 7.0.3 (2016-07-19): Changed the max value to 2.6 -> 39 yards (Build 22396, August 8) [4]
  • Legion Patch 7.0.3 (2016-07-19): Changed the max value to 1.9 -> 28.5 yards (Build 22267, July 19) [5]