Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local f = CreateFrame("frame")
- local cvars = {
- violencelevel = 0,
- screenshotQuality = 1,
- synchronizeSettings = 0,
- synchronizeConfig = 0,
- synchronizeBindings = 0,
- synchronizeMacros = 0,
- farclip = 0,
- gxcolorbits = 16,
- gxdepthbits = 16,
- mapShadows = 0,
- shadowLOD = 0,
- showfootprints = 0,
- extShadowQuality = 0,
- ffxGlow = 0,
- ffxDeath = 0,
- ffxNetherworld = 0,
- ffxRectangle = 0,
- ffxSpecial = 0,
- useWeatherShaders = 0,
- groundEffectDist = 0,
- groundEffectDensity = 16,
- maxfps = 60,
- maxfpsbk = 5,
- ffx = 0,
- hwPCF = 1,
- timingmethod = 1,
- showshadow = 0,
- showfootprintparticles = 0,
- overridefarclip = 200,
- horizonfarclip = 1305,
- detailDoodadAlpha = 0,
- groundeffectdist = 1,
- smallcull = 1,
- skycloudlod = 1,
- characterAmbient = 0,
- }
- f:SetScript("OnEvent", function()
- for cvar, value in pairs(cvars) do
- if GetCVar(cvar)~=tostring(value) then
- ConsoleExec(cvar .. " " .. value)
- end
- end
- COMBATLOG:UnregisterEvent("COMBAT_LOG_EVENT")
- COMBATLOG:UnregisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
- end)
- f:RegisterEvent("PLAYER_LOGIN")
Advertisement
Add Comment
Please, Sign In to add comment