EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-13-2005, 12:00 AM
smsmstroble smsmstroble is offline
A Forest Scavenger
 
Join Date: Mar 2005
Server: Butcherblock
Posts: 18
Default resizeable bags

is there any way to make a bag behave like a hot bar?

id be nice not to have to make separate mods for 5 x N and 4 x N ect.
Reply With Quote
  #2  
Unread 11-13-2005, 03:18 AM
GenesisRage GenesisRage is offline
A Darkpaw Brute
 
Join Date: Dec 2004
Server: Everfrost
Posts: 43
Default

im fairly new to ui modding and have started to undergo a major project of revamping the entire ui... but the only way i would think to make resizable bags like that, you would have to program it with certain events. basically like a toggle button that would switch from 4 to 5 to 6 across.
Reply With Quote
  #3  
Unread 11-13-2005, 09:08 AM
Agathorn Agathorn is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Test
Posts: 405
Default

Several UIs have incroporated similiar bag mods. Tablets II has one for example. It doesn't strictly work like the hotkey bar, but i has preset 'layouts' that you can toggle through.
Reply With Quote
  #4  
Unread 11-13-2005, 12:06 PM
smsmstroble smsmstroble is offline
A Forest Scavenger
 
Join Date: Mar 2005
Server: Butcherblock
Posts: 18
Default

i dont see why you couldent make it act like a hot bar.
i took a look at the files for the hot bar and bag with the ui editor, couldent you just put the bag slots in a resizable table like the hot bar?
i made an attempt myself but i know very little about ui modding and screwed something up.
Reply With Quote
  #5  
Unread 11-13-2005, 12:24 PM
smsmstroble smsmstroble is offline
A Forest Scavenger
 
Join Date: Mar 2005
Server: Butcherblock
Posts: 18
Default

ok i took another look at the attemot i made and i got the slots to move like a hot bar in the uieditor, dosent work in play mode or in game but if you rezise the the volume page the slots will rearange like a hot bar.
Attached Files
File Type: xml eq2ui_inventory_bag.xml (99.4 KB, 313 views)
Reply With Quote
  #6  
Unread 11-14-2005, 03:50 AM
GenesisRage GenesisRage is offline
A Darkpaw Brute
 
Join Date: Dec 2004
Server: Everfrost
Posts: 43
Default

dealing with a volume page, ive come to find out that the Hotbar is the only window that will automatically resize the frame to the volume.
also you have to make sure the bag slots are in the right spot (in the list) or eq cant "find" them, because that is something that is hard-codded into the program.
Reply With Quote
  #7  
Unread 11-14-2005, 03:53 PM
smsmstroble smsmstroble is offline
A Forest Scavenger
 
Join Date: Mar 2005
Server: Butcherblock
Posts: 18
Default

oh ok hardcoded. that sucks.
Reply With Quote
  #8  
Unread 11-14-2005, 05:16 PM
Sir Taleisin The Seer's Avatar
Sir Taleisin The Seer Sir Taleisin The Seer is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: The Bazaar
Posts: 338
Default

I made some progress with this idea, got it working ingame, however it cannot have a frame and looks like smeg
__________________
DawnTide
Reply With Quote
  #9  
Unread 11-14-2005, 06:25 PM
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

Prior to the bag slot increase, I had a working mod that dynamically sized each bag based on the total number of slots. It worked and looked perfect, but the coding was a MAJOR PITA. Here's how it worked...

All slots are set to hidden.

Each initial transitional slot in a layout recieves an OnShow script to press a layout button.

For every layout, create a layout button with an OnPress script that positions every slot and sizes the parent window.

Say you want all 1-8 slot bags to be 4 x 2 and all 9-12 slot bags to be 6 x 2. Slot 0 would have an OnShow script that presses the Layout4x2 button. Slot 8 would trigger the Layout6x2 button.

With upwards of 30 slots triggering 30 buttons that then reposition 30 slots, you're looking at over 900 lines of code.

If we could do math on the height and width of an object, I'm sure I could cludge up something similar to position everything based on window resize. Problem is we haven't figured any way to do math on the comma seperated values.
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 07:28 AM.


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