Creating Menus Using Fakk2 Dialog Editor - A Tutorial
Written By Virussss
www.windowsinfo.net
First thing you should know is the fakk2 editor was not designed for
mohaa , it is a tool that we use , so keep that in mind.
Open up the dialog editor i included in this .ZIP , it does not need to be
installed just double click. Then follow the easy steps below on creating a nice
looking menu for mohaa.
INCLUDED IN THIS IS 'A TUTORIAL EXAMPLE MENU' AND 'DIALOGEDITOR' OUT OF FAKK2 TOOLS!!
1.First open up the dialog editor , it should look like the image below :
2.Right click as shown above and double click menu properties ( we need to
choose a name to call the menu from mohaa )
Like the image below :
Click Where 'unnamed menu' is and create a new game , like above i have given
this menu the name of 'Tutorial Menu'.
Now.. We need to set the buttons and the layout menu , double click on the
dragged boxes to see the box below , Notice the 'time' insert this as the delay
that you want on the menu ... if set at 3 it will take three seconds to come on
the screen , and to make it come from different directions click where it says
'None' and press 'From Top' and then it will take that many seconds to drop down
from the top , makes the menu look cool in game this is seen by the image below:
After all these settings are complete , you need to add cvars and cmd , these are commands in mohaa , telling the button to run the cvar or command when the button is pressed down. Example , For a cvar i would type Quit in the box that says cmd , then when the button is pressed , it will quit mohaa... A full list of commands and cvars can be found in mohaa , by going to the console and typing 'Cmdlist' And 'Cvarlist' without the ' and ' around them. After a few menus you will get the hang of it and will be creating dropdown menus all flashy and fancy. But i suggest to get another list of 'Advanced' settings , open up 'Pakscape' look inside ' Pak0/Ui ' this is where all the menus and huds are stored. Open up the Multiplayer menus and double click on the buttons , see what they do .. i cannot list them all this is only a basic tutorial because there is about 40 different commands you can do for menus. Here is a screenshot below of an advanced menu :
After looking at other .URC Files ( Menu/Hud Files ) you should start to (
hopefully with this tutorial ) understand how menus work.
To call a menu inside mohaa remember what name you set it too ( at seen on image
one ) in my case this menu would be called Tutorialmenu So in mohaa i would use
the following command to display the menu togglemenu Tutorialmenu . And
the menu willl pop up in different ways depending on how you have set it up.
Below i will show the file structure of the menu loaded in pakscape :
All of this may seem a bit compilcated , but when you start creating menus
you will remember all this. Just remember to set your name of your menu and
remember it ( like in image 1 ) Or the menu will not load at all. Save as pk3
and enjoy you menu .. Remember anything can be put in a menu , joining teams,
selecting weapons, reconnecting , if you are not shore where to get the commands
, Like i mentioned before run mohaa type in console 'cmdlist and 'cvarlist'
without the ' at each side' . If you are still not shore or you want to edit
original menus , ( like the one when you press escape ) then you have to find
the name of the menu by looking through 'Pak0/Ui' with pakscape , then edit all
you like. Any questions visit
http://www.windowsinfo.net and post a message in the forums.