Thread Tools Display Modes
02-04-11, 10:34 AM   #1
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
No shadows appear on the statusbar as it should.

Hello, i've been trying to figure out why the shadow's doesn't appear on my hp/mana bar, but it does on my castbar. why?

picture how it should look, but it doesnt.

i did try but did give nothing, but the shadows appear when i put it to like this.

Code:
:SetFrameLevel(0)
:SetFrameStrata('LOW')
Thanks.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_020411_173244.jpg
Views:	861
Size:	1.06 MB
ID:	5679  Click image for larger version

Name:	WoWScrnShot_020411_172054.jpg
Views:	841
Size:	1.58 MB
ID:	5680  
Attached Files
File Type: lua oUF_Aftermathh.lua (40.2 KB, 753 views)

Last edited by Aftermathhqt : 02-04-11 at 10:43 AM.
  Reply With Quote
02-04-11, 12:40 PM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
The most important part is the sequence in which you generate your frames.

Start with the backdrop shadow frames first, do the middle areas and at last the stuff that needs to go on top.

You could check oUF_Diablo since I use texture stacking quite frequently.

Sometimes it is even required to create a helper frame ontop of sth. but most of the time the texture layer and sublevel will be enough.

If you are working with SetBackdrop then you need frame stacking. This does not mean a new layer for each frame. Just set the lowest possible level/layer for your base frame and from then on just spawn your frames in the correct order.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
02-04-11, 05:16 PM   #3
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Originally Posted by zork View Post
The most important part is the sequence in which you generate your frames.

Start with the backdrop shadow frames first, do the middle areas and at last the stuff that needs to go on top.

You could check oUF_Diablo since I use texture stacking quite frequently.

Sometimes it is even required to create a helper frame ontop of sth. but most of the time the texture layer and sublevel will be enough.

If you are working with SetBackdrop then you need frame stacking. This does not mean a new layer for each frame. Just set the lowest possible level/layer for your base frame and from then on just spawn your frames in the correct order.
the thing is the shadow is created with !Beautycase.
  Reply With Quote
02-05-11, 09:47 AM   #4
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
Fixed it, just changed from "Createborder(self, 12, 1, 1, 1)" to "Createborder(self.Health, 12, 1, 1, 1)

Here is pic too
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_020511_163818.jpg
Views:	830
Size:	1.59 MB
ID:	5696  
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » No shadows appear on the statusbar as it should.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off