EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-20-2004, 01:39 PM
Weegie Weegie is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 13
Default Bag test

trying to do a bag mod here.(first part of image) Problem is, when it loads in the world, its somewhat clipped (second part of image). Upon right clicking window settings and clicking "default location" it assumes the default location and opens up or unclips (third part of image). Anyone have an idea what might be happening?


Code
<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" eq2usescomwndcontrols="true" Location="26,217" MaximumSize="1024,1024" MinimumSize="20,20" Name="Bag" ScrollExtent="426,82" Size="426,82" UserMovable="true">
<Button LocalTooltip="Close" Name="WC_CloseButton" PackLocation="right,top" PackLocationProp="-426/0001,0000/0001" ScrollExtent="15,15" Size="15,15" Style="/ButtonStyles.close_button" Tooltip="Close" UserMovable="true"></Button>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="15,1" MouseOverColor="#FFFF00" Name="Slot 0" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="56,1" MouseOverColor="#FFFF00" Name="Slot 1" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="97,1" MouseOverColor="#FFFF00" Name="Slot 2" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="138,1" MouseOverColor="#FFFF00" Name="Slot 3" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="179,1" MouseOverColor="#FFFF00" Name="Slot 4" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="220,1" MouseOverColor="#FFFF00" Name="Slot 5" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="261,1" MouseOverColor="#FFFF00" Name="Slot 6" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="302,1" MouseOverColor="#FFFF00" Name="Slot 7" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="343,1" MouseOverColor="#FFFF00" Name="Slot 8" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="384,1" MouseOverColor="#FFFF00" Name="Slot 9" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="15,41" MouseOverColor="#FFFF00" Name="Slot 10" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="56,41" MouseOverColor="#FFFF00" Name="Slot 11" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="97,41" MouseOverColor="#FFFF00" Name="Slot 12" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="138,41" MouseOverColor="#FFFF00" Name="Slot 13" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="179,41" MouseOverColor="#FFFF00" Name="Slot 14" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="220,41" MouseOverColor="#FFFF00" Name="Slot 15" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="261,41" MouseOverColor="#FFFF00" Name="Slot 16" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="302,41" MouseOverColor="#FFFF00" Name="Slot 17" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="343,41" MouseOverColor="#FFFF00" Name="Slot 18" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="384,41" MouseOverColor="#FFFF00" Name="Slot 19" ScrollExtent="40,40" Size="40,40" TreatAsButton="true"/>
</Page>
Attached Thumbnails
Click image for larger version

Name:	bagtest.jpg
Views:	568
Size:	28.0 KB
ID:	389  
Reply With Quote
  #2  
Unread 12-20-2004, 03:29 PM
malnedra malnedra is offline
A Rumbleroot Sapling
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 68
Default

I ran into that trying to shrink the Slots. I never really found a reason for it.
Reply With Quote
  #3  
Unread 12-20-2004, 04:33 PM
Euda's Avatar
Euda Euda is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Najena
Posts: 74
Default

I got this problem when I shrank the size of the bag slots on a bag mod I did.

What I did to fix is just expand height of the parent bag window a good deal until it showed everything. Weird problem I must say heh
__________________
Howto: Install an Interface
01000101010100010011001000100000011011010110000101110000011100110010000001100110
01101111011100100010000001110100011001010110100000100000011101110110100101101110

Euda
Long retired enchanter of Luclin.
Reply With Quote
  #4  
Unread 01-06-2005, 11:23 AM
sunthas sunthas is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unrest
Posts: 306
Default Horizontal Scaling Bags

It looks like you are trying to do bags similar to what I want. The bags seem to scale fine vertically but not horizontally. Sony makes the bags are 4 slots wide and x slots tall based on the number of slots of the bag. I noticed that the bag mod I had installed only showed the first few rows in the uibuilder but had no problem expanding vertically to show all rows of a 20 slot bag. I would like to do that same thing but horizontally.

I figure there has to be something in the xml that says its allowed to expand one direction but not the other, because it cuts off if I add slots horizontally.

I'm a n00b at UI building so sorry If my thoughts are out of wack.

Last edited by sunthas : 01-06-2005 at 11:30 AM.
Reply With Quote
  #5  
Unread 01-06-2005, 11:26 AM
Haliken Haliken is offline
A Grove Wisp
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 27
Default

More likely, there's something hardcoded that's giving you this grief. Your best bet is to look for ways to get around it (making it extra big so when it sizes down what you want will still show, uhm or something). Be creative, likely this'll be a pain like EQ1's container window.

Quib
Reply With Quote
  #6  
Unread 01-06-2005, 04:09 PM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

I just made a bag layed out like this for my UI..

To get around the sizing problem I hid slots 2,4,6,8,10,12,14,16,18 in UI Builder and set there OnShow event to resize the window to what I needed..

EX Code (From my UI) for slot 2 OnShow property
Code:
Parent.MinimumSize=96,112
Parent.MaximumSize=96,112
Parent.Size=96,112
Remember to set the Visible property for those slots to false..
Reply With Quote
  #7  
Unread 01-06-2005, 04:15 PM
sunthas sunthas is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unrest
Posts: 306
Default

So your bag is 2 slots vertical and works its way to the right as we add more slots?

/edit: I have so much to learn.

Code:
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="4,20" MouseOverColor="#FFFF00" Name="Slot 0" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="46,20" MouseOverColor="#FFFF00" Name="Slot 1" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="88,20" MouseOverColor="#FFFF00" Name="Slot 2" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="130,20" MouseOverColor="#FFFF00" Name="Slot 3" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="4,62"
it looks to me like this bag is
0, 1, 2, 3,
4, 5, 6, 7,
8, 9, x, x+1,

I want the bag to work like this
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, x, x+1, x+2, ..., x+n

Last edited by sunthas : 01-06-2005 at 04:26 PM.
Reply With Quote
  #8  
Unread 01-06-2005, 04:47 PM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Quote:
Originally Posted by sunthas
So your bag is 2 slots vertical and works its way to the right as we add more slots?

/edit: I have so much to learn.

Code:
<Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="4,20" MouseOverColor="#FFFF00" Name="Slot 0" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="46,20" MouseOverColor="#FFFF00" Name="Slot 1" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="88,20" MouseOverColor="#FFFF00" Name="Slot 2" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="130,20" MouseOverColor="#FFFF00" Name="Slot 3" ScrollExtent="42,42" Size="42,42" TreatAsButton="true" /> 
  <Icon BackgroundTint="#000000" IconStyle="/IconStyles.examine" Location="4,62"
it looks to me like this bag is
0, 1, 2, 3,
4, 5, 6, 7,
8, 9, x, x+1,

I want the bag to work like this
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, x, x+1, x+2, ..., x+n
Yes it adds room for 2 more slots every time it needs it..

The rest of the message makes no sense to me..

You're trying to layout a bag that is 10x2 and adds the second row when needed?

edit: changed 12x2 to 10x2

Last edited by Talyns : 01-06-2005 at 04:58 PM.
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 02:43 PM.


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