Game Development Community

Loading mission from Console

by Apparatus · in General Discussion · 12/18/2005 (4:10 pm) · 2 replies

Is there any way to load a mission from within the console bypassing the startMission.gui?

#1
12/18/2005 (8:44 pm)
Definitely. If you read the startMission.gui, you'll see that the game is actually started by the SM_StartMission() function. This is towards the bottom of the file. All you'd need to do is replicate the data that's being pulled from the GUI into your own scripts.

I don't have a precise example on hand, but there's really nothing that _has_ to be done through any of the GUIs that's shipped with TGE. Everything is customizable.
#2
12/18/2005 (10:40 pm)
Thanks! i am goingto take a look..