A Stubborn Inventory Window

Started by OftenK, Fri 27/08/2004 04:37:31

Previous topic - Next topic

OftenK

I have no idea what's happening here. I go into the inventory GUI, and all I do is substitute graphics and move things around. This is how it looks in the GUI editor.



The only thing that's really new is the inventory box itself. I had to redraw that to fit the background image. Everything else is the original buttons, only with new graphics applied to them. I figured this should work. However, in game, it looks like this:



All the default images are back! It's like I never changed anything at all. Does anyone know what's going on here? Any help is greatly appreciated.

--OftenK

Gilbert

You have to modify the script a bit for it to use a custom inventory GUI. Here is how:

1. Press ctrl-G to edit the global script, find the function:

function show_inventory_window () { blah bla

2. Comment the line InventoryScreen();, like this:
//  InventoryScreen();

3. uncomment the next section of code, done by removing the /* and */ lines.

4. Save.


SMF spam blocked by CleanTalk