Download
(368 Kb)
Download
Updated: 08-21-14 10:20 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:08-21-14 10:20 PM
Created:11-28-12 12:17 AM
Downloads:2,187
Favorites:13
MD5:
5.4
Discord Art  Updated this week!
Version: 5.0.19
by: Fizzlemizz [More]
Lozareth's configurable, scriptable Discord Art.

-------------------------------------------------------------------------------------------------------
*** Discord Art and Warlords of Draenor Beta:
Blizzard has enabled addons in the beta, there is a version of DART available for testing on the beta realms here.
-------------------------------------------------------------------------------------------------------

Curse Client users: I don't host on Curse so if Discord Art appears in the download list, press Ignore because it is most likely a very ancient version.

Included Discord Library version: 5.3

See the Change Log (tab above) for a list of all changes.

Changed in 5.0.19
Fixed a potential bug with texture scaling.
End of changes

Modify your World of Warcraft environment to suit your style. Add textures that are clickable, will react to events ie. showing when you aquire a target and hiding again when not and lots lots more.

The screenshots show how you can use Discord Art to build a MazzleUI style background to host your UI (bars, unitframes, chat, loot, statistical information etc.). With the help of the Quick Script: code below shows how you don't have to lose actual screen realestate to your artwork (mobs don't sneak in from behind any sooner than if you didn't have the artwork displayed).

NOTE: If you change names of, copy, move, add textures and let's not forget typos while in-game, you will have to completly exit WOW and re-start before the "new" textures will register (going back to the character select or account login screens is not good enough).

A bright green blob where your amazing artwork is supposed to appear is a good clue your texture hasn't registered (did I mention typos ).

***SCRIPTS
Because the ubiquitous "this" is no longer a valid construct in WOW Lua, the scripting engine has been changed to include/parse "self" as a replacement to "this". "param" is still the universal parameter 1 name passed to functions so for OnEvent self= the old "this" and param = the "event" paramter. For OnUpdate, self= the old "this" and param = the "elapsed" parameter. For OnClick self = the old "this" and param = the "button" paramter etc...

***USING OLDER DART
If you load a DART profile imported from pre 5.0 version of Discord Art you may (most likely will) get errors due to scripting that is no longer valid. The WOW API has changed a lot so these will need some careful attention.

***IF YOU DO GET ERRORS, please post the full error message and a discription of what you were doing at the time.

For information on how to customise DART, the Readme.html in your "[WOW]\Interface\Addons\DiscordArt" folder is the place to go. It's old school like DART but it will get updated as required.

Discord Art Custom Textures a starter pack of artwork and a DiscordArt.lua file containing several profiles from a bygone era but still usable with some adjustments has be included under the Other Files tab above.

Sharing your DART configuration: Dreadlorde's Discord Custom Layout Extractors (The DART_Custom sub-folder) still works with Discord Art. You will need to enable "Out of date Addons" under the Addons button of the character selection screen. DART MUST be installed as well otherwise errors will be generated ie. only install the extracor(s) for the Discord addons you have installed. See the ReadMe file in each extractors folder for information on how to use DCLE.

Adding DART as a favourite here on WowInterface.com will ensure you receive an email only when Discord Art is updated.

Quick Script:
If you do have a bottom heavy UI and want to adjust your ViewPort to account for it (no more enemies getting the drop on you because part of your usable view screen is covered by art, buttons etc.) add something like the following (depending on screen resolution) to the OnLoad script of a texture that is displayed unconditionally.

Code:
local bottom = 30 -- 30 can be adjusted to any number depending on the height of your artwork.
self.ViewportOverlay = WorldFrame:CreateTexture(nil, "BACKGROUND")
self.ViewportOverlay:SetTexture(0, 0, 0, 1)
self.ViewportOverlay:SetPoint("TOPLEFT", UIParent, "TOPLEFT", -1, 1)
self.ViewportOverlay:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", 1, -1)
local currentXResolution, currentYResolution = 1900 , 1200 -- Your screen resolution.
bottom = (bottom*(currentYResolution/1200))
WorldFrame:SetPoint("TOPLEFT", 0, 0)
WorldFrame:SetPoint("BOTTOMRIGHT", 0, (bottom * (2668 / currentYResolution)))
DART as a Simple Data Broker:
You can use Discord Art to display game information on your screen like a data broker. This means you can display the information you want in the way that suits you. The 10th screenshot shows the how the following examples look.

For these to work, under "Misc. Options" you need to set "Updates per second" to a reasonable value, I use 20.

The basics for all these examples are a new texture with no image file set and the texture Alpha set to zero. In the text tab, unclick the Hide box, set the default colour for your text and some default text so you can see where to place it on the screen. Move the texture to the required location. (you might need to adjust the text size depending on how much information you are going to display.

In the following scripts where _G["DART_Texture_nn_Text"] or DART_Text(nn, ...) is used, nn referes to the texture number displayed beside the texture name in the "Select Texture" dropdown.

The scripts (for Durability, Location, Gold, Time, Frame Rate and Latencey):

Durability (armor):
OnLoad
Code:
local text = _G["DART_Texture_nn_Text"];
text.variables["$co"] = true;
self.GetDurability = function(self)
    local t1 = nil
    local t2 = 0
    local t3 = 0
    local t5 = 100
    local current, full, name, pct
    local lowestCur,lowestFull = 500,0
    for i=1,19 do
        current, full = GetInventoryItemDurability(i) 
        if current and full then
            pct = floor(100*current/full + 0.5)
            if (pct < t5) then
                t5 = pct
            end
            if (current < lowestCur) then
                lowestCur = current
                lowestFull = full
            end
            t2 = t2 + current
            t3 = t3 + full
        end
    end
    t4 = format("%d/%d", lowestCur, lowestFull)
    if (t3 == 0) then
        t1 = "N/A"
    else
        t1 = floor(t2 * 100 / t3)
    end
    return  t1
end
OnUpdate
Code:
local durability = self:GetDurability()
local text = "Armor " .. durability .. "%"
if (type(durability) == "number") then
    if durability > 50 then
        text = string.format("$coff%2xff00", ((durability > 50) and (255 - 2.55*durability) or (2.55*durability)), durability) .. text
    else
        text = string.format("$coffff%2x00", (2.55*durability), durability) .. text
    end
else
    text = ""
end
DART_Text(nn, text)
Location (map coords):
OnLoad
Code:
self:RegisterEvent("ZONE_CHANGED_NEW_AREA")
OnEvent
Code:
if param == "ZONE_CHANGED_NEW_AREA" then
    SetMapToCurrentZone()
end
OnUpdate
Code:
local x,y = GetPlayerMapPosition("player")
local x = format("%.1f", x*100)
local y = format("%.1f", y*100)
DART_Text(nn, x .. " " .. y)
Gold (money):
OnLoad
Code:
local text = _G["DART_Texture_nn_Text"];
text.variables["$co"] = true;
OnUpdate
This asumes you have set the default text colour to your prefered colour for gold.
Code:
local m = GetMoney()
local gold = floor(m/10000)
local silver = floor((m - (10000*gold))/100)
local copper = m - (10000*gold) - (100*silver)
DART_Text(nn, gold .. "g $cofff0f0f0" .. silver .. "s $coffb46d24" .. copper .. "c")
Time (players current time of day):
OnUpdate
Code:
local minutes, hour, minute
local t = date("*t", time())
hour = t.hour
minute = t.min
minutes = (hour*60) + minute
if (minutes > 1440) then
    minutes = minutes - 1440
end
minutes = abs(minutes)
hour = floor(minutes/60)
minute = format("%02d", mod(minutes, 60))
local text
if minutes > 719 then
    if minutes > 779 then
        hour = floor(minutes/60) - 12
    end
    text = hour .. ":" .. minute .. " pm"
else
    if (hour == 0) then
        hour = 12
    end
    text = hour .. ":" .. minute .. " am"
end
DART_Text(nn, text)
Frame Rate (fps):
OnLoad
self.updateFrequency is how often you want the text to be updated so it doesn't drive you crazy flickering away. It is a multiple of the "Updates per second" you set under "Misc. Options". Here 60 is 3 times the 20 I use so the display updates every 3 seconds.
Code:
self.updateFrequency = 60
self.updatecount = 0
OnUpadte
Code:
self.updatecount = self.updatecount + 1
if self.updatecount ~= self.updateFrequency then
    return
end
self.updatecount = 0
DART_Text(nn, string.format("%0.i",GetFramerate()) .. " fps")
Latencey (ms):
OnUpdate
Code:
local _,_,latency = GetNetStats()
if latency > 500 then
    DART_TextColor(nn, 1, 0, 0, 1)
elseif latency > 200 then
    DART_TextColor(nn, 1, 1, 0, 1)
else 
    DART_TextColor(nn, 0, 1, 0, 1)
end
DART_Text(nn, latency .. " ms")
Dates are in dd/mm/yyyy format.

5.0.19 - 22/8/2014
Fixed a potential bug with texture scaling.

5.0.18 - 23/7/2014
Fixed the bounds box (# button) to represent the actual boundaries of the texture. Makes it easier to see when setting TexCoords.

5.0.17 - 1/12/2013
Included updated Discord Library to correct an outdated function call.

5.0.16 - 25/11/2013
Included updated Discord Library to correct an outdated Combo points function call.

5.0.15 - 17/11/2013
Fixed running taint caused by Discord Art Options being opened. This would cause errors when opening certain in-game windows until the game was re-loaded.

5.0.14 - 30/10/2013
Discord Art made compatible with World of Warcraft 5.4.1
Updated to fix removal of realmname as a CVar

Changed in 5.0.13 - 11/9/2013
Discord Art made compatible with World of Warcraft 5.4 : Siege of Orgrimmar.

5.0.12 - 27/7/2013
  • Added replacement text variables for colouring text associated with a texture.
    $co is used to place hexadecimal color codes. All following text will be in that color. Format is $coAARRGGBB; AA = alpha, RR = red, GG = green, BB = blue. $coFFFFFFFF is white and $coFF000000 is black.
    $cs After using $co you can use $cs to return to the default coloring set for the textbox.
  • Added the # button to display a white border around the texture viewer to better see partial images with dark or transparent backgrounds when using coords (ULx. ULy, LLx, LLy).
  • Added the [COLOR="Plu/m"]DART as a Data Broker:[/color] section to this page./

5.0.11 - 2/7/2013
Added the option to change a texture's visibilty when entering pet battles. They can either be shown or hidden when a pet battle starts and revert to the default state set by the texture's Hide option when the pet battle ends.

5.0.10 21/3/2013
Made Discord Art compatible with WOW 5.3.

5.0.9 5/3/2013
Made Discord Art compatible with WOW 5.2.

5.0.8a 7/01/213
Discord Library fix for potential call to protected function in combat

5.0.8 25/12/2012
Added the ability to save and recall root texture paths.

5.0.7 13/12/2012
Added Root Path for your custom textures and fonts (under Misc. Options) - Enter a default path to your custom textures and fonts (a trailing slash "\" is required).
Wherever you have entered a texture or font file name without a fully qualified path, the root path will be prefixed at runtime (if you enter a partially qualified or incorrect path for a texture file or the root path you will see a green blob).

5.0.6 4/12/2012
The Options window can now be closed using the escape key (It's a small thing but it has always bugged me).

5.0.5 2/12/2012
  • Fixed errors being thrown when adding/edting some Conditions.
  • "self" added to replace "this" in the scripting engine.
5.0.4 30/11/2012
Fixed an error being generated when using the colour pickers.

5.0.3 30/11/2012
  • Added Flip X, Y buttons.
  • Fixed a coupl of parameter passing issues. Pressing and holding down MiddleButton (scrollwheel button) on the any of the move buttons (< > ^ v) will now glide the texture.
5.0.2 29/11/2012
  • Fixed the sliders for height and width handling not intitalising properly for textures that have an edge size greater than 300
  • Increased the maximum slider values for width and height to 1500. These can be increased further if there is a need.
Release 5.0.1 28/11/2012
Discord Art made compatible with Mists of Pandaria patch 5.1, Landfall.
Archived Files (12)
File Name
Version
Size
Author
Date
5.0.18
368kB
Fizzlemizz
07-22-14 02:10 PM
5.0.17
376kB
Fizzlemizz
11-30-13 03:55 PM
5.0.15
376kB
Fizzlemizz
11-16-13 04:24 PM
5.0.8a
373kB
Fizzlemizz
01-06-13 04:59 PM
5.0.8
373kB
Fizzlemizz
12-24-12 01:00 PM
5.0.7
370kB
Fizzlemizz
12-12-12 11:03 PM
5.0.6
225kB
Fizzlemizz
12-03-12 12:30 PM
5.0.5
225kB
Fizzlemizz
12-01-12 12:14 PM
5.0.4
223kB
Fizzlemizz
11-29-12 11:53 PM
5.0.3
223kB
Fizzlemizz
11-29-12 03:54 PM
5.0.2
223kB
Fizzlemizz
11-28-12 05:11 PM
5.0.1
223kB
Fizzlemizz
11-28-12 12:17 AM


Post A Reply Comment Options
Unread 02-09-13, 08:02 PM  
Fizzlemizz
A Frostmaul Preserver
 
Fizzlemizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 255
File comments: 174
Uploads: 9
Re: Re: Re: Floored!

DuB looks interesting but it seems leaving the DAB functionality out would create a big hole and who knows if DFM could be brought back even if a copy was found (once again, not really sure what it did).

I know the dilema with copyright. If, as far as I've been able to ascertain, Loz hadn't handed over the code to Dudeinthedark and Dude hadn't been happy for Mikey2k to work on DUF for WoTLK I wouldn't have released either addon (yay Loz and Dude and Mikey ).

Also, I'm putting together a look 'n feel version of MazzleUI (things like keybinds etc. will be up to the user). I have 13 different sets of background textures that various people supplied for use with Mazzle and I'm confident they wouldn't mind seeing them back in the game (credit attributed where known) but I know Mazzlefizz was adamant about no re-use of his code and textures so sadly only people that have kept the Mazzle textures will be able to use them.

Originally Posted by Thadruid
At this point in time, I have not found any of the old files just yet. I am still searching diligently however. We tried very hard to keep the discord mods alive, but it was very hard once Loz dropped out of the game and we had little to no coding experience. As for DuB, that was the all-in-one Discord UI Builder, (Dart, Dab, Duf, and DFM) that Loz had started beta testing. But his site went down, and he called it quits. I am sure there is still a very very pre-release version somewhere, but for now, all I have is 1 picture.

As you can see there really wasn't much there, aside from a few frames. That was a very bare bones version. If I remember correctly however, it did have a nifty feature that allowed you to just click a frame to add it to the frame list on the left, which was awesome for re-texturing mods and the like. Also, if I remember correctly, Special Options, was where you would add the art. Jebus, it has been years. Lol

I do not really see the point in bring DaB back, as there are plenty of addons that already do the same things. The only feature that would have been beneficial from it, is scripting, and it is my understanding, scripting is a no-go anymore. So really, I advise you don't even bother with that.

I will continue my hunt, and I will keep you updated on any progress I make. Also, I have found a couple of old textures that could be used to recreate old UIs, credit given to their authors, that I might put out there. I am struggling with the copyright issues with it though, morally, it doesn't quite feel right. Lol. Thank you also, for the warm welcome.
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Last edited by Fizzlemizz : 02-09-13 at 08:28 PM.
Fizzlemizz is offline Report comment to moderator  
Reply With Quote
Unread 02-09-13, 07:32 PM  
Thadruid
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Re: Re: Floored!

At this point in time, I have not found any of the old files just yet. I am still searching diligently however. We tried very hard to keep the discord mods alive, but it was very hard once Loz dropped out of the game and we had little to no coding experience. As for DuB, that was the all-in-one Discord UI Builder, (Dart, Dab, Duf, and DFM) that Loz had started beta testing. But his site went down, and he called it quits. I am sure there is still a very very pre-release version somewhere, but for now, all I have is 1 picture.

As you can see there really wasn't much there, aside from a few frames. That was a very bare bones version. If I remember correctly however, it did have a nifty feature that allowed you to just click a frame to add it to the frame list on the left, which was awesome for re-texturing mods and the like. Also, if I remember correctly, Special Options, was where you would add the art. Jebus, it has been years. Lol

I do not really see the point in bring DaB back, as there are plenty of addons that already do the same things. The only feature that would have been beneficial from it, is scripting, and it is my understanding, scripting is a no-go anymore. So really, I advise you don't even bother with that.

I will continue my hunt, and I will keep you updated on any progress I make. Also, I have found a couple of old textures that could be used to recreate old UIs, credit given to their authors, that I might put out there. I am struggling with the copyright issues with it though, morally, it doesn't quite feel right. Lol. Thank you also, for the warm welcome.

Originally Posted by Fizzlemizz
Hi Thadruid,
Let me offer a very big welcome back and huge thankyou for your kind words.

I never knew about the Discord site until people started mentioning it when I first brought DUF back. It's a pity it disapeared. It also means I've never heard of DuB or what it was intended for but I'm certainly interested in taking a look if anything can be recovered.

Apart from DART and DUF the only other Discord addon I was able to find was DAB which sadly would require a complete re-write because of the changes to the SecureAction environment.

If you do a search here you will find that Tellat has been able to conjure some DUF configurations out of the annals of history and been kind enough to share them.

Enjoy your return to Azeroth and to Discord.
Last edited by Thadruid : 02-09-13 at 07:33 PM.
Thadruid is offline Report comment to moderator  
Reply With Quote
Unread 02-09-13, 06:17 PM  
Fizzlemizz
A Frostmaul Preserver
 
Fizzlemizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 255
File comments: 174
Uploads: 9
Re: Floored!

Hi Thadruid,
Let me offer a very big welcome back and huge thankyou for your kind words.

I never knew about the Discord site until people started mentioning it when I first brought DUF back. It's a pity it disapeared. It also means I've never heard of DuB or what it was intended for but I'm certainly interested in taking a look if anything can be recovered.

Apart from DART and DUF the only other Discord addon I was able to find was DAB which sadly would require a complete re-write because of the changes to the SecureAction environment.

If you do a search here you will find that Tellat has been able to conjure some DUF configurations out of the annals of history and been kind enough to share them.

Enjoy your return to Azeroth and to Discord.

Originally Posted by Thadruid
WOW! Hello Fizzlemizz. I just wanted to take the time to let you know that I very recently just got back into WoW, and I was completely FLOORED when I saw that the best addons for customization in the world had been revived!
I was a huge contributor to the Discord community way back when. Including, moderating the website, bug hunting, designing the new look of DuB (never released) and of course custom UI creation. Before the addon and site was completely dead, an archive of many of the best UI's, and of DUB were made, I am on the hunt for those files if you are interested. Obviously I cannot promise anything, they may be gone for good.
As I noticed last night, I am completely rusty creating UI's but I am going to get back into it, and hope to have some released soon.

Again, thank you immensely for reviving the Discord mods, and if you need anything at all, please let me know.
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Fizzlemizz is offline Report comment to moderator  
Reply With Quote
Unread 02-09-13, 05:22 PM  
Thadruid
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Red face Floored!

WOW! Hello Fizzlemizz. I just wanted to take the time to let you know that I very recently just got back into WoW, and I was completely FLOORED when I saw that the best addons for customization in the world had been revived!
I was a huge contributor to the Discord community way back when. Including, moderating the website, bug hunting, designing the new look of DuB (never released) and of course custom UI creation. Before the addon and site was completely dead, an archive of many of the best UI's, and of DUB were made, I am on the hunt for those files if you are interested. Obviously I cannot promise anything, they may be gone for good.
As I noticed last night, I am completely rusty creating UI's but I am going to get back into it, and hope to have some released soon.

Again, thank you immensely for reviving the Discord mods, and if you need anything at all, please let me know.
Thadruid is offline Report comment to moderator  
Reply With Quote
Unread 12-13-12, 10:17 PM  
Fizzlemizz
A Frostmaul Preserver
 
Fizzlemizz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 255
File comments: 174
Uploads: 9
Re: A strange situation...

Hi Bolekzz, thank you for trying DART/DUF and your English is fine, specially with the screenshots .

The error (SUIV3 image) was because the setting was corrupted. Try deleteing the DiscorArt.lua file in you WTF folder and copy a new one over.

The artwork in most of the configurations in the custom art pack uses the minimap as the base anchor (I didn't make that very clear in the instuctions, sorry).

Because they are a bottom/center configurations, your minimap (I use Chinchilla) needs to be at or near the bottom of your screen and in the middle to see them properly. The rest of the panels will move with the minimap.

The old Mazzle layout in the screenshots was somthing I knocked up and is not even close to being a whole Mazzle package. There is some artwork for a dungeon skin for the old mazzle at http://wow.curseforge.com/addons/maz...-custom-skins/.

There was an old MazzleUI-Core file out there on the web that did contain the original art as well as several other skins.

Originally Posted by Bolekzz
Hello all!

I installed the following addons
installed correctly DUF FizzleUI
but there are problems with the installation of DART SUIV 5.1 or SUIV3 or Laduca and others as well.
What am I doing wrong?
How can I make it? Link
Dear Fizzle tell me where wrong?
I would appreciate it if Mr. Fizzle publish folders Addons and WTF...
Thank in advance!
Bolekzz
P.S. I know my English is not perfect ... sorry
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Last edited by Fizzlemizz : 12-14-12 at 02:28 AM.
Fizzlemizz is offline Report comment to moderator  
Reply With Quote
Unread 12-13-12, 10:54 AM  
Bolekzz
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
A strange situation...

Hello all!

I installed the following addons
installed correctly DUF FizzleUI
but there are problems with the installation of DART SUIV 5.1 or SUIV3 or Laduca and others as well.
What am I doing wrong?
How can I make it? Link
Dear Fizzle tell me where wrong?
I would appreciate it if Mr. Fizzle publish folders Addons and WTF...
Thank in advance!
Bolekzz
P.S. I know my English is not perfect ... sorry
Bolekzz is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: