PDA

View Full Version : Bag Frames


Tunga
03-07-2007, 03:17 PM
I'm trying to find the names of the standard client bag frames. Have an idea for replicating them in a neater format but can't find the frame names, can anyone help?

Jumpy
03-07-2007, 06:06 PM
Look in FrameXML for the ContainerFrame xml file and see if that is what you are looking for.

Tunga
03-07-2007, 06:18 PM
I don't actually have the FrameXML stuff extracted since I've barely touched GUIs while modding. Checked it on WoWWiki and that looks right though, but I'm wondering what the actual instantiations of that Frame are called, i.e. the five actual frames that show bag contents.

Jumpy
03-07-2007, 06:39 PM
From looking at the ContainerFrame lua file I am guessing the bag slots are ContainerFrame1 through ContainerFrame5. Note the word "guessing".

for i=1, NUM_CONTAINER_FRAMES, 1 do
local frame = getglobal("ContainerFrame"..i);
if ( frame:IsShown() and frame:GetID() == id ) then
containerShowing = i;
frame:Hide();
end
end

Duugu
03-07-2007, 08:02 PM
I don't actually have the FrameXML stuff extracted

There's no need to extract them. :)
(Sorry, can't link to there, gold averts - Tunga)

Tunga
03-07-2007, 08:34 PM
Have to remove that link sorry, but yeah I found another site with them anyway, thanks.

Jumpy
04-07-2007, 01:27 AM
I found their names also, From left to right:

CharacterBag3Slot
CharacterBag2Slot
CharacterBag1Slot
CharacterBag0Slot
MainMenuBarBackpackButton

JaedxRapture
04-07-2007, 01:42 AM
I found their names also, From left to right:

CharacterBag3Slot
CharacterBag2Slot
CharacterBag1Slot
CharacterBag0Slot
MainMenuBarBackpackButton

Almost positive these are the frames for the buttons, and not the bags themselves.

Duugu
04-07-2007, 02:27 AM
There's no need to extract them. :)
(Sorry, can't link to there, gold averts - Tunga)

Uhm? Can't see any gold ads or banners. What do you mean?

Jumpy
04-07-2007, 05:51 AM
Almost positive these are the frames for the buttons, and not the bags themselves.

Yeah they are, I thought that was what he was looking for. Oh well.

Tunga
04-07-2007, 02:00 PM
Yeah, I mean the actual bag frames which open when you click those buttons.

(As for the edit, if it's owned by Affinity Media, we don't link to it, don't want to derail this so PM me if you want specifics :) .)