Download
(636Kb)
Download
Updated: 04-25-10 07:46 AM
Pictures
File Info
Updated:04-25-10 07:46 AM
Created:04-12-10 07:16 AM
Downloads:2,608
Favorites:8
MD5:

oUF Drathal HUD

Version: 0.4
by: Drathal [More]



oUF Drathal HUD
a mini Version of DHUD

This is the DHUD Version im using for my Rogue. This is a very simple Version of DHUD without the bells and whistles of the original DHUD. To change settings you need some basic LUA knowledge. In this first Version you can only change the scale inside the lua file.

You need oUF to use this HUD!

Embeded:
oUF_SpellRangeHUD (fades Target Frame)
oUF_HUDFader (fades Player Frame)
oUF_RareElite (displays Elite Dragon)
oUF_Smooth
oUF_CombatFeedback
Castbar Text turns green if Spell is interruptable

config.lua

Code:
oUF_Drathal_HUD.scale      = 0.85    
oUF_Drathal_HUD.spacing    = 200
oUF_Drathal_HUD.xoffset    = 0
oUF_Drathal_HUD.yoffset    = 0
oUF_Drathal_HUD.targettext     = '[raidicon] [difficulty][smartlevel]|r [reactioncolor][name]|r |cff666666[pvp]|r [hudhp] |cff666666[status]|r [raidicon]'
oUF_Drathal_HUD.targetselftext = '|cff00ff00 !!! ICH !!! |r';
oUF_Drathal_HUD.castbarcolor   = {0.54,0.54,0.74,0.9}

-- enable:true  disable:nil
oUF_Drathal_HUD.show_targettext        = true
oUF_Drathal_HUD.show_targetcastbar     = true
oUF_Drathal_HUD.show_targetcastbartext = true
oUF_Drathal_HUD.show_playercastbar     = true
oUF_Drathal_HUD.show_playercastbartext = true
oUF_Drathal_HUD.show_playerArc = true
oUF_Drathal_HUD.show_targetArc = true
oUF_Drathal_HUD.combattext_target = true
oUF_Drathal_HUD.combattext_player = true
oUF_Drathal_HUD.smooth = true

0.4
Casttext turns green when interruptable
changed Castingbar Texture
added option to color Castbar
added oUF_Smooth and option to turn on/off
added ouf_CombatFeedback and option to turn on/off

0.3
updated combopoint colors
added config.lua with new config options
separated layout and tags into files

0.2b:
Added Raid Target Icons.
Fixed Castbar Bug (Castbar started not at 0 Point)
changed oUF SpellRange Settings
Post A Reply Comment Options
Unread 06-27-10, 12:51 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Does not appear to work with the latest Ouf (updated today).

The hp and mana bars just go all white.
Report comment to moderator  
Reply With Quote
Unread 05-21-10, 02:55 PM  
Azande
A Defias Bandit

Forum posts: 2
File comments: 33
Uploads: 0
I tried this, but I get the same error message, not using anything else except oUF and your hud
Report comment to moderator  
Reply With Quote
Unread 05-08-10, 09:34 PM  
zhae
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Drathal,

Yeeeeeeeeeeah, I had a wall of text asking for a few features, then I saw the "todo list" and so I came and deleted that stuff.

Bottom line, glad this Addon is public and updated again.

-Zhae
Last edited by zhae : 05-09-10 at 12:05 PM.
Report comment to moderator  
Reply With Quote
Unread 05-03-10, 05:02 AM  
Drathal
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 14
Uploads: 4
@Aisenfaire
Are you using some other oUF Layouts / Plugins?
Report comment to moderator  
Reply With Quote
Unread 05-01-10, 01:20 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Getting this error nonstop with the latest version:

Code:
4x oUF_Drathal_HUD-0.4\oUF_Drathal_HUD.lua:74: attempt to index field 'Arc' (a nil value)
oUF_Drathal_HUD-0.4\oUF_Smooth\oUF_Smooth.lua:45: in function <...ace\AddOns\oUF_Drathal_HUD\oUF_Smooth\oUF_Smooth.lua:35>

Locals:
limit = 0.28700003314018
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 (null) = 156.06666666667
 (null) = 459
 (null) = 468.2
 (null) = 459
}
(for control) = <unnamed> {
 frequentUpdates = true
 0 = <userdata>
 colorPower = true
 disconnected = false
 min = 9364
 SetValue_ = <function> @ oUF_Drathal_HUD\oUF_Smooth\oUF_Smooth.lua:6:
 unit = "player"
 value = <unnamed> {}
 SetValue = <function> @ oUF_Smooth\oUF_Smooth.lua:4:
 bg = <unnamed> {}
 Smooth = true
}
bar = <unnamed> {
 frequentUpdates = true
 0 = <userdata>
 colorPower = true
 disconnected = false
 min = 9364
 SetValue_ = <function> @ oUF_Drathal_HUD\oUF_Smooth\oUF_Smooth.lua:6:
 unit = "player"
 value = <unnamed> {}
 SetValue = <function> @ oUF_Smooth\oUF_Smooth.lua:4:
 bg = <unnamed> {}
 Smooth = true
}
value = 468.2
cur = 0
new = 156.06666666667
smoothing = <table> {
 (null) = 156.06666666667
 (null) = 459
 (null) = 468.2
 (null) = 459
}
min = <function> defined =[C]:-1
max = <function> defined =[C]:-1

  ---
Report comment to moderator  
Reply With Quote
Unread 04-19-10, 09:31 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
Originally posted by Drathal
@Aisenfaire

"!!! ICH !!!" means you have selected yourseld. I just updated DHUD and the new version has a config.lua. There you can edit all texts and you can enable/disable castbars and more. Have a look
Wonderful, thanks!
Report comment to moderator  
Reply With Quote
Unread 04-19-10, 06:33 AM  
Drathal
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 14
Uploads: 4
@Aisenfaire

"!!! ICH !!!" means you have selected yourseld. I just updated DHUD and the new version has a config.lua. There you can edit all texts and you can enable/disable castbars and more. Have a look
Report comment to moderator  
Reply With Quote
Unread 04-18-10, 03:20 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 394
Uploads: 0
I love it!

Something peculiar though:

When I target myself, the target info text will say:

!!! ICH !!!

* * *

On another note, I wanted to hide:
- target casting text
- target text
- player casting text

I then deleted all the lines in the LUA that had "text" in them:

Code:
local function castColor(self, event, unit)
	local castbar = self.Castbar
	if(castbar.interrupt) then
		self.Castbar.Text:SetTextColor(0,0.8,0);
	else
    self.Castbar.Text:SetTextColor(1,1,1);
	end
end
Code:
local RAID_TARGET_UPDATE = function(self, event)
 self.Health.Text:UpdateTag()
end
Code:
self.Castbar.Text = setFontString(self.Castbar, font, 15,"THINOUTLINE")
  if unit == "target" then
    self.Castbar.Text:SetPoint('CENTER', self.Castbar, -210, -158)
  else
    self.Castbar.Text:SetPoint('CENTER', self.Castbar, -210, 158)
  end
Code:
  self.Castbar.Time = setFontString(self.Castbar, font, 15,"THINOUTLINE")		
  self.Castbar.Time:SetPoint('LEFT', self.Castbar.Text, 'RIGHT', 0, 0)
Code:
self.Castbar.Button = CreateFrame('Frame', nil, self.Castbar)
  self.Castbar.Button:SetHeight(18)
  self.Castbar.Button:SetWidth(18)
  self.Castbar.Button:SetBackdrop(backdrop)
  self.Castbar.Button:SetBackdropColor(0, 0, 0)
  self.Castbar.Button:SetPoint('RIGHT', self.Castbar.Text, 'LEFT', 0, 0)     
  self.Castbar.Icon = self.Castbar.Button:CreateTexture(nil, 'ARTWORK')
  self.Castbar.Icon:SetAllPoints(self.Castbar.Button)
  self.Castbar.Icon:SetTexCoord(0.08, 0.92, 0.08, 0.92)
Code:
self.Health.Text = setFontString(self.Health, font, 15,"THINOUTLINE")
    self.Health.Text:SetPoint('CENTER', self.Health, 200, -138)
    self:Tag(self.Health.Text,'[raidicon] [difficulty][smartlevel]|r [reactioncolor][name]|r |cff666666[pvp]|r [hudhp] |cff666666[status]|r [raidicon]')
Was that the correct method for disabling the text, or did I delete something unrelated?
Last edited by Aisenfaire : 04-18-10 at 06:22 AM.
Report comment to moderator  
Reply With Quote
Unread 04-17-10, 01:15 AM  
Drathal
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 14
Uploads: 4
@Toran
thx ;D

@river444
Well, at the moment im trying some different Graphics. In one of the Upcoming Versions i want to release improved Graphics. Thanks for your opinon.
Report comment to moderator  
Reply With Quote
Unread 04-16-10, 10:42 PM  
river444
A Defias Bandit

Forum posts: 3
File comments: 6
Uploads: 0
I love this man. I just find that the HUD is a bit pixelated is there a way to fix this?

I'm playing at 1680x1050
Report comment to moderator  
Reply With Quote
Unread 04-12-10, 07:55 PM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 143
File comments: 433
Uploads: 0
Awesome bringing this classic HUD to oUF. Pure awesome.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: