Could you just tell me what are the classes to create a custom main menu, with my custom buttons and title?
I've created a "myMenuMain" extends the original dx main menu to override some functions, but it doesn't work. Any tips?
How to create a custom main menu?
How to create a custom main menu?
Peppigno
Re: How to create a custom main menu?
You'd need to also create a custom playerclass, and over-write... *checks SMPlayer.uc*
...ShowMainMenu()
Though if you've already done this, do tell what else you've done. I'd be happy to help.
...ShowMainMenu()
Code: Select all
exec function ShowMainMenu()
{
local DeusExRootWindow root;
local DeusExLevelInfo info;
local MissionEndgame Script;
if (bIgnoreNextShowMenu)
{
bIgnoreNextShowMenu = False;
return;
info = GetLevelInfo();
// force the texture caches to flush
ConsoleCommand("FLUSH");
if ((info != None) && (info.MissionNumber == 98))
{
bIgnoreNextShowMenu = True;
PostIntro();
}
else if ((info != None) && (info.MissionNumber == 99))
{
foreach AllActors(class'MissionEndgame', Script)
break;
}
if (Script != None)
Script.FinishCinematic();
}
else
{
root = DeusExRootWindow(rootWindow);
if (root != None)
root.InvokeMenu(class'*your main menu class here*');
}
}
Re: How to create a custom main menu?
It's not for release any time soon I'm afraid - it's the custom player class for DXSM, hence the SM.
-
- UNATCO
- Posts: 153
- Joined: Mon Mar 20, 2006 11:30 pm
- Location: Texas
- Contact:
Re: How to create a custom main menu?
So he needs to overwrite his own player class, correct? As in *checks(customname)player.uc*?