thek: Castbar (BETA)
redesigns the default castbars.
WARNING: this addon will only work 100% with the default unitframes because ouf and other unitframe addons deactivate the default unitframes and the bundled castbars for target and focus. (Playercastbar will still work, even with custom unitframes)
Move the castbars:
use /tcb to toggle the dragframes.
Configuration:
You can find the configuration at the config.lua file.
c["CastingBarFrame"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["TargetFrameSpellBar"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["FocusFrameSpellBar"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableLag = true,
enableTimer = true,
}
c["MirrorTimer1"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableTimer = true
}
c["PetCastingBarFrame"] = {
enabled = true,
textPosition = {"CENTER", 0, 2},
textFont = {"Fonts\\FRIZQT__.TTF", 12, ""},
castbarSize = {250, 25, 4, 5},
castbarColor = {0, .9, 0},
castbarBGColor = {.1, .1, .1, .95},
castbarTextures = {"Interface\\AddOns\\thek_Castbar\\media\\bar.tga", "Interface/Tooltips/UI-Tooltip-Background"},
enableTimer = true
}
The config has changed in different points.
textfont: first value is the fontfile, second value defines the fontsize and the last option sets fontoptions like outline, thinoutline and so on.
castbarsize: first value sets the castbar width, second the height, third the bordersize and last the spacing between the castbar and the castbar icon.
castbarcolor/castbarbgcolor: defines the rgb value for the castbar color.
castbartextures: first value defines the castbar texture, second the background texture.
enabletimer: enables the castbar timer
enablelag: enables the castbar lag
NOTE: the mirrortimer has no lag, so there is no option for it!