Problem with non-standard inventory

Started by Tarlash, Sat 29/05/2004 16:02:49

Previous topic - Next topic

Tarlash

1. How to make Diablo-2 syle inventory (you know, separated into cells [some items take more than 1 cell] and it is limited).

2.How to make window for selected item (remember Revenants?).

Please help.
My hands are shaking...
I cannot concetrate...
I need AGS!!!

Ashen

#1
For the first question, there was a similar thread a while back, but I can't remember if it got sorted out.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=12943.0

For the second one, I think you just use a GUI button and change its graphic using SetButtonPic, and use variables to track which weapon is equipped.

Hope this helps.
I know what you're thinking ... Don't think that.

Tarlash


QuoteFor the second one, I think you just use a GUI button and change its graphic using SetButtonPic, and use variables to track which weapon is equipped.
I'm so dumb these days...

And about inventory - it is good, but there's still not explained how to make item taking two cells.

Hovewer, thanks Ashen.
My hands are shaking...
I cannot concetrate...
I need AGS!!!

Mr Jake

if you set the inventory pic size (I forget how todo it, will look it up later) do 30X30 (for example) then have a 60x30 inventory graphic, wont it automaticly cover 2 'inventory slots' and if you divide your GUI background up into boxs the right size you might get the effect you want.

Pumaman

The supplied inventory system doesnt support variable width items like Diablo 2 uses. You'd be better off scripting your own inventory GUI from scratch.

SMF spam blocked by CleanTalk