View Single Post
12-09-20, 05:02 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
First off .. a link worth visiting and looking at the introduction pages and then start with something simple.
https://wow.gamepedia.com/Wowpedia:I..._customization

You can use xml or lua to create texture objects.
These are the pages that explain the different elements to create a texture for a frame

https://wow.gamepedia.com/UIOBJECT_Frame
https://wow.gamepedia.com/API_Frame_CreateTexture
https://wow.gamepedia.com/API_Texture_SetTexture

Start with those and make sure you look at SetPoint ( Anchoring ) to place the frame on the screen in relation to another frame.

There are options to Hide() and Show() any frame but they can't be done during combat without special secure code access, I don't think you're ready for that quite yet but you can use it for non combat testing just to see how it works. SetAlpha(1) will make the frame visible and SetAlpha(0) will make it invisible with numbers between variable transparency.

Take your time and slowly expand your knowledge as and when you find the need/wish.

I'm sure others will provide what knowledge they have to assist you in more detail but Vruls response is a good starting point to expand on.

Originally Posted by VeenixO View Post
Alright seems like I know nothing about textures in wow.
If I understand correctly I need an xml file to show textures?
How would I go about showing a texture whenever the spell activation overlay glow happens for hammer of wrath and make it dissapear when the overlay is hidden?
Also is there a way to make the texture 50% transparent when out of range?

Don't really understand how to link xml and lua, sorry very new to this haha
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 12-09-20 at 05:07 PM.
  Reply With Quote