http://s001.radikal.ru/i194/1308/68/e39d92364f54.jpg Как добавить свои текстурки?
SUF.defaults.global.bartexture = {
texture = "Blizzard",
}
http://fbe.am/mTr - Сам аддон.
Вид для печати
http://s001.radikal.ru/i194/1308/68/e39d92364f54.jpg Как добавить свои текстурки?
SUF.defaults.global.bartexture = {
texture = "Blizzard",
}
http://fbe.am/mTr - Сам аддон.
есть аддон вроде SharedMedia, а эти фреймы текстурки из файлов игры я как понимаю берут.
nmainbar, но мне кажется, что он лаганутый.
Нашел -
---By Fernir---
http://prestige-gaming.ru/images/smilies/24-0.gif Как менять текстуру хп баров
Код:
http://prestige-gaming.ru/images/spacer.gifhooksecurefunc(getmetatable(PlayerFrameHealthBar). __index,"Show",function(s)
if s:GetParent().healthbar then
if s.st == nil then
s:SetStatusBarTexture("Interface\\TokenFrame\\UI-TokenFrame-CategoryButton")
s:GetStatusBarTexture():SetDesaturated(1)
s:GetStatusBarTexture():SetTexCoord(0, 1, .609375, .796875)
s:GetStatusBarTexture():SetHorizTile(true)
s.st = true
end
end
end) http://prestige-gaming.ru/images/spacer.gifhttp://prestige-gaming.ru/images/spacer.gifhttp://prestige-gaming.ru/images/spacer.gif
текстуру меняем в SetStatusBarTexture
текстурки некоторые не подходят(