Custom Menu System
Posted: Sat Jan 12, 2008 8:58 am
So now I'm working on a custom menu system and I've got a bunch of questions.
First, can I pause the 'action' of the entire world for an indefinite amount of time somehow, except for the menu? And I mean everything, model and texture animations, enemy movement and AI, everything, so that way when the menu is brought up nothing happens in the world, since the player won't be able to see. I was thinking of a while loop as a low level function, and while that does it, it won't let any frames go by so the menu won't be able to draw what it needs to.
Also, it says that the ShowHudPicture command is supposed to draw ABOVE the the HUD but this doesn't seem to be true, as the health bar and compas (the only hud pieces showing) are on top of my ShowHudPicture image. What gives?
Finally, I would like to make an item system that my menu system can read. Is it possible to write item info in a database of some kind with my own custum-defined fields? I was thinking either SQL or even just a straight text file, but with fields that I define myself that are not predefined by the engine. Basically, what I need is a command that will read and parse data files, and once I have that, I can code the rest. I tried to look in the docs but nothing caught my eye right away.
Any help always appreciated
First, can I pause the 'action' of the entire world for an indefinite amount of time somehow, except for the menu? And I mean everything, model and texture animations, enemy movement and AI, everything, so that way when the menu is brought up nothing happens in the world, since the player won't be able to see. I was thinking of a while loop as a low level function, and while that does it, it won't let any frames go by so the menu won't be able to draw what it needs to.
Also, it says that the ShowHudPicture command is supposed to draw ABOVE the the HUD but this doesn't seem to be true, as the health bar and compas (the only hud pieces showing) are on top of my ShowHudPicture image. What gives?
Finally, I would like to make an item system that my menu system can read. Is it possible to write item info in a database of some kind with my own custum-defined fields? I was thinking either SQL or even just a straight text file, but with fields that I define myself that are not predefined by the engine. Basically, what I need is a command that will read and parse data files, and once I have that, I can code the rest. I tried to look in the docs but nothing caught my eye right away.
Any help always appreciated