v2.0.17
What's new
Unreleased
Interface.lua/Main.lua: the max camera distance is now read and written throughSettings.RegisterProxySetting, so it can be stored either account-wide (KrytoolsMaxCameraDistanceDB) or per character (KrytoolsMaxCameraDistanceCharDB, newSavedVariablesPerCharacter). New option "Save distance per character" switches the scope; enabling it copies the current value to the character.Interface.lua/Main.lua: new "Distance preset" dropdown (Default = 2, Far = 3, Maximum = 4). Presets are defined inKrytoolsMCD.DISTANCE_PRESETS.Main.lua: new slash command/kmcd(alias/krytoolsmcd):/kmcd <1-4>,/kmcd preset <default|far|maximum>,/kmcd scope <account|character>. Without arguments it prints the current value and usage.Main.lua: when "Maximale Bodeneffekt-Dichte" is enabled, the currentgroundEffectDensity,groundEffectDistandgroundEffectFadeCVars are saved inKrytoolsMaxCameraDistanceDB.groundEffectBackupfirst. Disabling the option restores them. While the option is off, these CVars are no longer touched.Main.lua: on the initial load the "Zeige Bedrohung am Ziel" option takes over the currentthreatShowNumericCVar state if it is already enabled, instead of always starting disabled. Once stored, the account-wide saved value is authoritative, so turning it off applies to all characters.Interface.lua/Main.lua: new option "Zeige Bedrohung am Ziel" (EN: "Show threat on target"). When enabled, the CVarthreatShowNumericis set to1, when disabled to0(equivalent to/console threatShowNumeric 1|0). Applied on login and whenever the option changes.Main.lua: the clamping of the stored distance now lives in a singleClampDistance()helper. A stored value outside the allowed range is corrected in the saved variables when the addon loads, so the options slider shows the value the camera actually uses.
This mod has no additional files

