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.
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.
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.
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.
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.