Game Development Community

TheoraGui over PlayGui

by Mike Rowley · in Torque Game Engine · 05/24/2008 (4:23 pm) · 0 replies

I'm trying to play a movie over the play gui when a player enters the game.
I have the theoraGui made and working.
In client/scripts/playGui.cs, I added Canvas.pushDialog( gameMovie0); just before the chat hud init, and it works, but the chat hud appears over the movie. I also tried just adding loadGameMovie0(); in the same place with the same result. The biggest problem is that when the movie ends, it loads the mainMenu again. My gui doesn't even mention the mainMenuGui at all. This I don't understand. Oh, and yes, I delete all dso's after each edit.

What I am trying to do is to allow a player to log in, (using the normal main menu and game loading gui's) and when they press the button to start the game, the movie plays over the play gui. Once it's finished playing, they are in the same place in the game and the game is all loaded. Am I placing my loading of the gui in the wrong place? Or am I adding it to the scripts wrong?
Any help would be greatly appreciated.

tge 1.5.2 stronghold mod.
my theora gui is a copy of the splash screen gui.