EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-04-2006, 11:40 PM
sloejack sloejack is offline
A Young Mystail Rat
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 6
Default Help with Inventory Bag

Having searched the developer forums and not found anyone else who's posted about this I have to wonder if I'm doing something wrong. I'm trying to make a six square wide inventory/bank bag with 32x32 squares.

I don't want all the curly que crap on the top of the windows but I figure that's a problem for a different day. My approach was to take the current default inventory_bag.xml file, shrink the boxes and adjust the Bag properties to accomidate the new width. Using the UI Builder it didn't take too long to make these adjustments and since I left everything else alone I figured I should get what I imagined which would be a bag that looks similar to the default in style and design except that it would be six squares wide and the squares would be a tad about a quarter of their original size.

Instead what I seem to get is truncated windows that in some cases barely show the title and nothing else. So, simply put does anyone have a hint as to what I'm doing wrong and how to work around it?
Reply With Quote
  #2  
Unread 02-05-2006, 12:10 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

The bag window is hard coded to size based on the number of slots in the actual bag. This usually defeats much of the custom layout done in UIBuilder.

You need to override the hard coding by hiding all the slots and giving them OnShow scripts that set their position and the size atribute of window.

Also give the window an OnHide script to rehide all the slots.

Might be best to start with an already modded bag window close to what you're after.
Reply With Quote
  #3  
Unread 02-05-2006, 02:27 AM
maddbomber83's Avatar
maddbomber83 maddbomber83 is offline
A Fallen Diplomat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Oggok
Posts: 52
Default

http://www.eq2interface.com/forums/s...&highlight=bag

The above thread was a life saver when I was designing my bag window. If you follow thos instructions it should solve your problem of the window not being the right size.

It basically tells you what zonx said, but has some code to look at.

Oh, and what are you looking for in a bag? My mod allows the 32 or however many pixels you want and 6 colums. Is it just the title bar at the top?
__________________
Reply With Quote
  #4  
Unread 02-05-2006, 06:05 AM
sloejack sloejack is offline
A Young Mystail Rat
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 6
Default

Aside from the dimensions and stuff, I just want lose the nub at the upper right corner that has the close window and window settings buttons in it. Moving it down next to the title is what I had in mind.

Thanks for the pointers to both of you. I guess this is what the extra stuff I was seeing in some of the other bag mods was all about.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 04:54 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI