Sauerleague - Ogros

#ogros @ irc.gamesurge.net

 

HOW TO CREATE YOUR OWN GUI MENU
Custom Sauerbraten menu

 

 

NOTE

This is only a short description for easy commands ;) 

 

CREATE GUI MENU

1. First create in your Sauerbraten Folder the file "autoexec.cfg" with a text editor. (do NOT use Microsoft Word, use a plain text editor)
2. Open your autoexec.cfg and enter /bind "F5" "showgui Menu"
- Now You have made a bind that opens your GUI menu. (You can also enter another key to bind this or give another name for your GUI.)
3. Now you can start with your first gui, on our example the gui is called "Menu" so you have to enter now:
newgui "Menu" [
4. After this you can enter your commands:

guibutton
guibutton = You can bind a command
example guibutton "Connect TC" "/connect 81.169.170.173"
guibutton ["TEXT"] ["COMMAND"]
guititle
guititle= You can text in your gui
example guititle "COMMANDS" guititle ["TEXT"]
guibar
guibar = You can create a bar
example guibar

guitab
guitab = Creates a new menu tab [COLOR=orange]example[/COLOR]
guitab Master
guitab ["TEXT"] After this you can enter other commands for the Master tab

5. If you have entered all your commands you end your list with: ]
6. Here is an example of an autoexec.cfg

/bind "F5" "showgui Menu"
newgui "Menu" [
guibutton "Connect TC" "connect 81.169.170.173"
guititle "Says"
guibutton "Red=Enemy Blue=Friend" "say RED = Enemy ---- Blue = Teammate"
guibar
guibutton "Waffe an Flagge" "say Press R to get a weapon arround the blue Flaggs"
guitab "Master"
guibutton "setmaster 1" "setmaster 1"
guibutton "Mastermode 2" "mastermode 2"
guibutton "Mastermode 3" "mastermode 3"
]

7. For any questions ask in our Sauerbraten Forum :)


Sauerleague.org 2008-2017