Thread Tools Display Modes
09-11-08, 08:54 PM   #1
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
Attempting to create a skin for Button Facade

Im trying to do this. I suck at it so far lol. I really don't know lua which is my major downfall. But it looked simple enough to tackle. For some reason tho I cannot get it to show up in the addons list when i log on. I can show you guys the code I have. The toc file is done here is what i have:

Toc:

Code:
## Interface: 20400

## Title: ButtonFacade AA0000Undead
## Notes: Undead skin for Button Facade.
## Version: 2.4.0

## Author: Elloria
## X-eMail: [email protected]
## X-Credits: JJSheets for ButtonFacade of course!

## X-Category: Action Bars
## OptionalDeps: LibButtonFacade, ButtonFacade

Skin.lua
Skins.lua

--[[ Undead Theme for ButtonFacade v2.4.0 ]]

local LibButtonFacade = LibStub("LibButtonFacade",true)
if not LibButtonFacade then
return
end

-- Undead Skin
LibButtonFacade:AddSkin("Undead",{

-- Skin data start.
Backdrop = {
Width = 36,
Height = 36,
Texture = [[Interface\Tooltips\UI-Tooltip-Background]],
Red = 0,
Green = 0,
Blue = 0,
Alpha = 0.6,
},
Icon = {
Width = 28,
Height = 27,
TexCoords = {0.07,0.93,0.07,0.93}, -- Keeps the icon from showing its "silvery" edges.
},
Border = {
Hide = true
},
Flash = {
Width = 30,
Height = 30,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\flash]],
},
Cooldown = {
Width = 36,
Height = 36,
},
AutoCast = {
Width = 36,
Height = 36,
},
AutoCastable = {
Width = 58,
Height = 58,
Texture = [[Interface\Buttons\UI-AutoCastableOverlay]],
},
Normal = {
Width = 40,
Height = 40,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\overlay]],
},
Pushed = {
Hide = true,
},
Equip = {
Width = 46,
Height = 46,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\equip]],
},
Disabled = {
Hide = true,
},
Checked = {
Width = 36,
Height = 36,
Texture = [[Interface\Buttons\CheckButtonHilight]],
BlendMode = "ADD",
},
Gloss = {
Height = 36,
Width = 36,
Texture = [[Interface\Addons\ButtonFacade_Undead\Textures\Gloss]],
},
Highlight = {
Width = 40,
Height = 40,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\highlight]],
},
HotKey = {
Width = 36,
Height = 10,
OffsetX = -2,
OffsetY = 11,
},
Count = {
Width = 36,
Height = 10,
OffsetX = -2,
OffsetY = -11,
},
Name = {
Width = 36,
Height = 10,
OffsetY = -11,
},
-- Skin data end.

},true)

Thanks for any and all help
__________________
  Reply With Quote
09-11-08, 10:00 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Is your toc file named the exact same as the folder? Also, may just be a typo, but you have Skin.lua in the toc, but said that your lua file is named Skins.lua
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-11-08, 10:16 PM   #3
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
Originally Posted by Seerah View Post
Is your toc file named the exact same as the folder? Also, may just be a typo, but you have Skin.lua in the toc, but said that your lua file is named Skins.lua

The toc file is named the exact same as the folder. You were right about the type. I messed up and called the lua file skins instead of skin. But even after changing that it still does not show on the addons screen
__________________
  Reply With Quote
09-12-08, 12:46 AM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
All an addon needs for showing up is for the folder and the toc to match (and a title to display in the list). Make sure you don't have two copies of WoW installed, and all that other basic stuff...
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-12-08, 04:22 PM   #5
dragongirl411
A Murloc Raider
AddOn Compiler - Click to view compilations
Join Date: Aug 2008
Posts: 9
Hi Elloria, it's Siouxzie from the WoW forums I can't wait to see your new BF skin. I've been working on one too, still trying to iron out all the kinks.

Here's a silly question: do you have the actual ButtonFacade addon installed along with your skin?

http://files.wowace.com/sw-b.html


P.S. I've seen your work...you do not suck!

Last edited by dragongirl411 : 09-12-08 at 05:15 PM.
  Reply With Quote
09-12-08, 07:04 PM   #6
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
Originally Posted by dragongirl411 View Post
Hi Elloria, it's Siouxzie from the WoW forums I can't wait to see your new BF skin. I've been working on one too, still trying to iron out all the kinks.

Here's a silly question: do you have the actual ButtonFacade addon installed along with your skin?

http://files.wowace.com/sw-b.html


P.S. I've seen your work...you do not suck!
Hey there! I do have Buttonfacade loaded as well as a few other skins. It has to be something wrong with my lua or toc file....I dunno lol im so new to this i dont know what is wrong or right. I did see something about having to rewrite the addon directory ...what do they mean by that?

Edit: ty for telling me i dont suck <3 lol
__________________
  Reply With Quote
09-12-08, 09:06 PM   #7
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
What if i host the file up on filefront and you guys have a look at it and try it out. Im at a loss here because ive checked everything and i don't see any misspellings or anything.
__________________
  Reply With Quote
09-12-08, 09:22 PM   #8
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
Sure thing.
__________________
Never be satisfied with satisfactory.
  Reply With Quote
09-12-08, 09:32 PM   #9
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You can just attach it to a post here.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-12-08, 09:51 PM   #10
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
Sorry had to go afk for a min there

Here ya go thank you guys

And thanks seerah I didn't know we could do that. Much more convenient
Attached Files
File Type: zip ButtonFacade_ Undead.zip (29.9 KB, 820 views)
__________________
  Reply With Quote
09-12-08, 10:02 PM   #11
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 772
You need to take out the space in your ButtonFacade_Undead folder.

(It is currently ButtonFacade_ Undead.)



And also, your AA00000 (or w/e it is) doesn't work. |cffff8000Caith|r is an example that works.
__________________
Never be satisfied with satisfactory.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Attempting to create a skin for Button Facade


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