Supremacy said:if anyone got a complete buy-system i would send him/her money for it :/
Konma said:just open other gui pages from standard ut and u can see how it works.
exec function ShowMenu()
{
// Pause if not already
if(Level.Pauser == None)
SetPause(true);
StopForceFeedback(); // jdf - no way to pause feedback
// Open menu
ClientOpenMenu("SpeciesBattle.SBMidGameMenu");
}
RegularX said:Create an exec off your controller that does an open page. Look at the code that opens the MidGameMenu for some samples. Then create a keybind for that exec, or if you want to get fancy on it - a key interaction.
For example, the modified ShowMenu in riftwar:
Code:exec function ShowMenu() { // Pause if not already if(Level.Pauser == None) SetPause(true); StopForceFeedback(); // jdf - no way to pause feedback // Open menu ClientOpenMenu("SpeciesBattle.SBMidGameMenu"); }
ClientOpenMenu("TacStr.TS_MidGameMenu.uc");
Quote:
--------------------------------------------------------------------------------
Originally Posted by Supremacy
if anyone got a complete buy-system i would send him/her money for it :/
--------------------------------------------------------------------------------
****, i'd MAKE one for you for money ;\
RegularX said:sorry, I misread
You have - ClientOpenMenu("TacStr.TS_MidGameMenu.uc");
You need (I think) -
ClientOpenMenu("TacStr.TS_MidGameMenu");
No ".uc"
That's something you shouldn't do.Supremacy said:i copied the original PlayerController.uc and put it in my code dir and then i renamed that file to TS_PlayerController.uc and named the class right.
and then i made this little code line:
ClientOpenMenu("TacStr.TS_MidGameMenu.uc");
instead of
ClientOpenMenu("Xinterface.UT2MidGameMenu");