Actually worked out how to make the bars have borders without the photoshop crudeness, and rather some xml-crude.
(aswell as changing the font, as someone asked a few pages back.
the only downside, which i havent really worked out yet is that the background now has a fixed width, but thats not really a problem as i have a slash command to apply my dbm settings.
Actually worked out how to make the bars have borders without the photoshop crudeness, and rather some xml-crude.
(aswell as changing the font, as someone asked a few pages back.
the only downside, which i havent really worked out yet is that the background now has a fixed width, but thats not really a problem as i have a slash command to apply my dbm settings.
Looks excellent! Any chance in sharing that when you are satisfied with the result?
Thanks Ocularis! It's working great, the only flaw is that its lagging a little bit when doing the last few seconds on a countdown (i.e. moving the bar).
I'm using a custom timer as many people here but there is one thing that annoy me with the icon border. Actually I have few custom timers that don't have any icon, but the icon border border still shows up.
As my XML knowledge is around 0, I would like to know if someone knows a way to make the icon border hide if no icon is shown. I have few ideas, like set $parentIcon1 as a parent of $parentIcon1Border, but I don't know how to do it :???:.
Download file, set the path for your script. Start the game, everything is fine. But when I go to settings, once you receive this error.
Give me how to fix this? It wants to change this timer, etc.
Interface\AddOns\DBM-Core\DBT.lua:581: DBT_Bar_1BarTimer:SetText(): Font not set
Count: 99
Call Stack:
[C]: ?
[C]: in function `SetText'
Interface\AddOns\DBM-Core\DBT.lua:581: in function `Update'
Interface\AddOns\DBM-Core\DBT.lua:760: in function `ApplyStyle'
Interface\AddOns\DBM-Core\DBT.lua:410: in function `CreateBar'
Interface\AddOns\DBM-Core\DBT.lua:436: in function `CreateDummyBar'
Interface\AddOns\DBM-GUI\DBM-GUI.lua:1426: in function `?'
Interface\AddOns\DBM-Core\DBM-Core.lua:764: in function `LoadGUI'
Interface\AddOns\DBM-Core\DBM-Core.lua:827: in function <Interface\AddOns\DBM-Core\DBM-Core.lua:825>
Have you put a font called pixel.ttf in \Fonts\ or changed the path?
Yes, that's just the point. I tried to copy the font to the folder with the name in your file, and tried to add the path to the file of the font. In both cases, the changes made after the restart the game, and in both cases the shoot out this error: (
upd:
Oh, and more. I downloaded the latest version of the site with DBM 4.21. And replace only one file - your DBT-Template.xml
Yes, that's just the point. I tried to copy the font to the folder with the name in your file, and tried to add the path to the file of the font. In both cases, the changes made after the restart the game, and in both cases the shoot out this error: (
upd:
Oh, and more. I downloaded the latest version of the site with DBM 4.21. And replace only one file - your DBT-Template.xml
I'm using it with the latest DBM. Have you made sure that the font has a capital P? Not too sure if that has anything to do with anything but it's worth a shot.
I'm using it with the latest DBM. Have you made sure that the font has a capital P? Not too sure if that has anything to do with anything but it's worth a shot.
All agreed the problem with a hint of players from Russia. The problem was this:
font="Fonts\\Pixel.ttf"
to
font="Fonts\Pixel.ttf"
I copied: http://snelhest.org/paste/index.php?id=jplkr1a95x Exactly. I had to change "Font\\Pixel.ttf" to "Font\Pixel.ttf" for it to work. However the Icon/Border and location/scale are off. I have no idea what I'm reading in order to find which part of the XML is responsible for the Icon/Border.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do you make these lovely borders around the timers actually? I've been trying but failing bigtime with it :<
(aswell as changing the font, as someone asked a few pages back.
the only downside, which i havent really worked out yet is that the background now has a fixed width, but thats not really a problem as i have a slash command to apply my dbm settings.
Looks excellent! Any chance in sharing that when you are satisfied with the result?
Indeed, I wouldn't mind a slice of that either!
edit: Worked out a way to make it scale dynamicly, probably not the best way of doing it, but it works.
Add this to your DBT-Template.xml, in the $parentBackground Texture, below the existing anchor.
My DBT-Template.xml can be found at
http://snelhest.org/paste/index.php?id=jplkr1a95x
( Put a pixelfont of your choice at Fonts\Pixel.ttf or change the path in the xml )
Thanks Ocularis! It's working great, the only flaw is that its lagging a little bit when doing the last few seconds on a countdown (i.e. moving the bar).
Anyone know why i get the green squares around it?
i copied it straight from http://drop.io/94ww4hi/asset/dbt-template-xml
you're missing a texture. Most likely the frameborder.tga in DBM-Core\Textures\ - Copy a border from a buttonFacade skin in there and rename it.
How exactly would i do that? im not very good at the whole coding thing. Thank you in advance.
pick the tga file from a skin you like and cupy the image to dbm's texture folder and name the image frameborder.tga
does anyone have an idea?
Download file, set the path for your script. Start the game, everything is fine. But when I go to settings, once you receive this error.
Give me how to fix this? It wants to change this timer, etc.
Have you put a font called pixel.ttf in \Fonts\ or changed the path?
Yes, that's just the point. I tried to copy the font to the folder with the name in your file, and tried to add the path to the file of the font. In both cases, the changes made after the restart the game, and in both cases the shoot out this error: (
upd:
Oh, and more. I downloaded the latest version of the site with DBM 4.21. And replace only one file - your DBT-Template.xml
I'm using it with the latest DBM. Have you made sure that the font has a capital P? Not too sure if that has anything to do with anything but it's worth a shot.
All agreed the problem with a hint of players from Russia. The problem was this:
font="Fonts\\Pixel.ttf"
to
font="Fonts\Pixel.ttf"
I have my timers edited perfectly, and now I'd like to take a crack at the boss health bars.
I copied: http://snelhest.org/paste/index.php?id=jplkr1a95x Exactly. I had to change "Font\\Pixel.ttf" to "Font\Pixel.ttf" for it to work. However the Icon/Border and location/scale are off. I have no idea what I'm reading in order to find which part of the XML is responsible for the Icon/Border.