How to skin Deadly Boss Mods (without rewriting)
lua Code:
enjoy :) |
Is this meant as a seperate addon or somewhere in the DBM code?
And could you post a screenie of what it might look like? |
Now this is interesting :)
Now do the same for tinydps, cargbags, hBar, nBuffs :P |
1. yes, is separate addon (before need to check DBM loaded)
(да это кусок кода отдельного аддона, не модифицирование ДБМ) 2. sacrife, im lazy, i just show how to do it in DBM (sacrife, я слишком ленив чтобы делать это в куче других аддонов, я лишь показал как это можно сделать на примере ДБМ) (soz for my stupid english :)) |
Ah yeah, I got it now. Good job, this is a really easy way to restyle DBM. :)
|
I highly suggest replacing the (deprecated) getglobal() calls with _G table lookups.
getglobal is just this anyway: Code:
function getglobal(frame) |
This is really great to see and I really want to put it into practice. I'm totally new to LUA though, can anyone give an example of what this looks like with the media names added? I'm not quite sure which text exactly to swap out and for what to put in. EG, Do I remove "settings.font" entirely (or just "font") and put the font name there, and if file locations are required is there a specific format?
Also what is "fsize" for? Thanks. ^__^ |
Depends a little on how you assign media too your addon(s).
I and a lot of users have a folder for media wich we direct most addons too... or sharedmedia (im not gonna give you any suggestion on sharedmedia since i dont use it myself) but you can use sharedmedia in combination with this. with the way i do it, It would look something like this..(i use gxMedia from guardix because i use some of his addons and wanted my dbm the same style) Code:
local gxMedia = gxMedia or { Code:
progress:SetStatusBarTexture(gxMedia.statusBar) Code:
name:SetFont(gxMedia.font, 14) Code:
local font = "path to font" Code:
progress:SetStatusBarTexture(statusbar) Code:
name:SetFont(font, 14) Code:
progress:SetStatusBarTexture(Interface\\AddOns\\!media\\statusbar) Code:
name:SetFont(Interface\\AddOns\\!media\\fonts\\font.ttf, 14) Quote:
Hope it was of some help, sorry for the wall of text. -_-v |
This way of skinning dbm is causing me MASSIVE performance issues in raids. on some encounters i can't even move and today i finally found out that this was the cause..
Anyone else experienced this or know why its causing my game too lag like crazy...because i like being able too skin dbm without updating.. lazy as i am :D thanks. |
Quote:
|
I've noticed this exact same problem. It was so bad it wiped our ICC10 group twice on Blood Queen when she flew up into the air, due to me completely freezing.
I loved this modification and can barely live without it, we need a fix to this! :eek: |
It's the same for me, a couple of FreeUI users have pointed out this was the cause.
I'm thinking some sort of CPU leak because of a part of the code that loops, but I'm not sure. Anyone have any ideas? |
Bump. Nobody have any ideas as to what to do to fix this? :(
DBM looks fugly without it, I don't want to have to switch to DXE. |
Ouch :eek:
I wasnt raiding more than 4 months, just pvping, maybe author of DBM was updated it - that why alot of lags. Will check DBM code and rewrite script soon. |
Good to hear. :)
Any news on it? |
Does anyone have something similar for Bigwigs?
|
Anyone figured out how to do it with the newest DBM yet?
|
Quote:
Quote:
|
1 Attachment(s)
Necro... but I've got an edit of the template I made that I've been using for a few months with DBM.
http://pastebin.com/URAhJpqw Pic showing the bars. I do not use the right icon so it hasn't been moved. But thats not hard to do. |
Quote:
|
All times are GMT -6. The time now is 03:21 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI