View Single Post
03-12-11, 06:06 PM   #2
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
First of all, that's entirely possible.

You need the very basic structure of an oUF layout and use tags to display your text based information. For example, like that:
Code:
	player = function(self, ...)
		self.Name = self:CreateFontString(nil, "OVERLAY")
		self.Name:SetFont(Font, Size, Flag)
		self:Tag(self.Name, '[threatcolor][name] [hpvalue] [perhp]')			
		self.Name:SetPoint("LEFT", self, 0, 0)
		
		self:SetSize(130, 20)		
	end,
You don't necessarily need to anchor the text to those bars. The text will be moveable through oUF_MovableFrames (plugin) in game. And/or you can simply place them directly via "SetPoint" next to the HUD.

Anyway, I would recommend to build the HUD through oUF, too.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote