Original .cs files locked, need to add main menu for project
by Shawn Funches · in Torque Game Builder · 08/03/2007 (2:08 pm) · 5 replies
Hello I compiled a game a few months ago, and need to add a splash screen and main menu to the game. I need to be able access the compiled game from the main menu, but I am not sure if this will work since I can not access the Gamescript files, because they were locked when the game was built. The main.cs file is unlocked and has code for on gameStart{}. Would it possible to add the code for the splash screen and main menu screen in this field, or do I need to reproduce the game. If this question has been asked already and has a solution it will be greatly appreciated if I could be pointed to this answer.
Thank you.
Thank you.
#2
Thanks again.
08/07/2007 (10:59 am)
No I was not able to/did not think about it at the time, because it was for a school project. I know my lesson now. Thank you for the help though, I will try to load in a different path for the other initial main.cs.Thanks again.
#3
08/07/2007 (11:04 am)
Condolences! Good luck, and if you find something that works, it would be great if you could post back here. I'm sure there are others with this problem who would love a work around. :)
#4
08/08/2007 (10:02 am)
What version of t he engine are you using?
#5
Thank you.
08/09/2007 (7:59 am)
I am using version 1.5. The game project I created was using the previous version. I basically had to redo the game, but now I am having problems loading the GG splash screen along with my classmates personally created splash screen, and main menu screen. The tutorial says to open the gui files and add code to have the splash screens run in sequence, but those files too are locked. In the console window when I run the demo game I get an error line ----- parent linkage for mainScreenGui could not be changed from GuiControl to GuiFadeinBitmapControl.---- I have tried numerous times to create a new splash screen but can only the get one that me and my classmates created to load before the demo game. We have also encountered problem getting our main menu screen with buttons to load after the splash screens. I will be going to my University today around 1:30 pm EST to further trouble shoot the problem and will probably be there tomorrow as well. Any help is again appreciated.Thank you.
Torque Owner Melissa Niiya
So, you didn't save a copy of your game before you compiled/built it? There are no other copies with the game scripts? :'(