Mission in main menu GUI for TGE 1.5.2
by assassini · 02/11/2008 (7:03 am) · 8 comments
Download Code File
This is TGE 1.5.2 port of this resource.
Here is a short code sample to display mission inside the main menu gui. This code is based on the torque example and will load the stronghold mission in the main menu gui.
To install the code samples, just unzip the archive in your example directory (do not forget to make a backup before).
If you want to change it, look at the loadMenu function in the starter.fps/client/init.cs file.
This is TGE 1.5.2 port of this resource.
Here is a short code sample to display mission inside the main menu gui. This code is based on the torque example and will load the stronghold mission in the main menu gui.
To install the code samples, just unzip the archive in your example directory (do not forget to make a backup before).
If you want to change it, look at the loadMenu function in the starter.fps/client/init.cs file.
About the author
I've been working with Lua for about five years - mainly scripting content for other games. I picked up C# and C++ about a year ago, but C# seemed a lot nicer of the two. I've recently been learning to use non-deprecated OpenGL on C# with OpenTK.
Recent Blogs
#2
Look like this as soon as entering the mission...
And after ESC > YES it freezes...
02/12/2008 (2:09 pm)
Uhm it seems that when the mission start it goes into playguy and not in mainmenugui... and when exiting it freezes... What happens?Look like this as soon as entering the mission...
And after ESC > YES it freezes...
#3
Try deleting .dso's.
02/15/2008 (10:51 pm)
Hmm, It seems that it can't load your starter.fps/client/init.cs file.Try deleting .dso's.
#4
I had the same problem with another of the included scripts but for some reason I didn't delete init.cs.dso also...
Tnx, now it works perfectly...
P.S. I wanna ask you a (personal) thing so I drop you an e-mail at the address in your profile... :-) Tnx!
02/18/2008 (6:19 am)
Yeah you're right it was so simple :-)I had the same problem with another of the included scripts but for some reason I didn't delete init.cs.dso also...
Tnx, now it works perfectly...
P.S. I wanna ask you a (personal) thing so I drop you an e-mail at the address in your profile... :-) Tnx!
#5
02/27/2008 (7:21 pm)
Can you explain exactly what this is? Maybe a screen shot or something?
#6
03/03/2008 (7:31 am)
It opens a mission file as a background for your mainmenu. You can do animated background scenery and such.
#7
Any ideas why? Yeah I am using a ATI Radeon so I have heard that might be part of it, but I want to see why.
03/17/2008 (7:30 pm)
With a bit of pain I have this in TGEA but I am having one little bug. Right between the closing of the StartupGui and the loadingGui, I am getting a pink screen flash. Any ideas why? Yeah I am using a ATI Radeon so I have heard that might be part of it, but I want to see why.
#8
06/23/2008 (8:02 am)
ATI has nothing to do with it... I had something similar on my Nvidia after selecting my ship. Make sure your camera is never deleted while that is the controlobject.
Torque Owner Giorgio Zanetti ( JoZ )
Corona Team
Tnx a lot ehehe ;)
P.S. When for TGEA ? :-P