Wintermute Engine => Technical forum => Topic started by: Jyujinkai on September 26, 2007, 07:30:58 AM
Title: How to control the inventory box?
Post by: Jyujinkai on September 26, 2007, 07:30:58 AM
I cna not seam to find out how to control the inventory box... I am using the inventory from the trinity demo... I have made a new graphic for it.... but my graphic is a lot taller then the one in the demo. So when it trys to hide it the bottom of the graphic pokes out.
I have set up the window .def file.
The inventory item boxes and spaces between them.
The width and height of the inventory box is equal to the image
If i change the X,Y position in the def file it can move along the Y.. but I can not see a way to move it in the X.
Any ideas?
ALSO
Even with the box poking out like that i can see a probelm i can not fix as well... the hot spot for opening and closing the inventory is still set to the width of the original inventoy box... as mine is a lot taller even with 1/2 of it missing there are some slots i can not move the mouse to before the game thinks that i have moused off and auto close it?
Title: Re: How to control the inventory box?
Post by: Mnemonic on September 26, 2007, 07:45:36 AM
Look in scripts\game_daemon.script (game_loop.script for newer projects). There's something like: