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---
Как менять текстуру хп баров
Код:
hooksecurefunc(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)
текстуру меняем в SetStatusBarTexture
текстурки некоторые не подходят(
Zhenya (24.08.2013)