|
Cube & Cube 2 FORUM
|
How to edit or Create a Game Menu? |
by real
on 06/27/2008 10:34, 2 messages, last message: 06/28/2008 04:15, 895 views, last view: 04/30/2024 08:38 |
|
Hello i need this for make a my personal game in single player.
Need to make a simple menu
and no autostart the game in one a map.
Need to main menu type
Start game, Load Game, Exit
Who to made it?
plase need this, is very important :)
|
|
Board Index
|
|
#1: Look in |
by steve_e
on 06/27/2008 10:51
|
|
Sauerbraten\data\menus.cfg to see how the menus are configured and read "Gui commands" in Sauerbraten\docs\config.html for details of the commands
reply to this message
|
|
#2: Some Help |
by Titanic12ship
on 06/28/2008 04:15
|
|
Put the following in your level's config. This is just a fast type, so it might have an error, but probably not:
newgui mainmenu
guibutton "start game" "map (mapname)"
guibutton "load game" "loadgame"
guibutton "savegame" "savegame"
guibutton "exit" "quit""exit"
bind esc [if (cleargui 1) [] [showgui mainmenu]]
But you still have to define the "loadgame" and "savegame" aliases. I'm not really sure how to do that, so I can't help you with that part.
reply to this message
|
|
|
Board Index
|
|
Unvalidated accounts can only reply to the 'Permanent Threads' section!
|
|
|
|
|