Game Development Community

Mission refuses to load

by Joe Granato · in Torque Game Engine · 07/16/2008 (8:31 pm) · 0 replies

Strange thing happening - new to TGE, and doing ok (after I figured out how to export DTS files from 3dsmax!). Created a mission, trying to move forward...

Basically, dupicated and editted the duplicate starter.fps. Set up a button on my splash screen with the command loadMyMission(); . In the main.cs, load my mission is set up perfectly (exactly like the tutorial.base code for loadMyMission function except with my specific mission, called simply theMission.mis).

Here is the code:

************************
function loadMyMission()
{
// make sure we are not connected to a server already
disconnect();

// Create the server and load the mission
createServer("SinglePlayer", expandFilename("./data/missions/theMission.mis"));

// Make a local connection
%conn = new GameConnection(ServerConnection);
RootGroup.add(ServerConnection);
%conn.setConnectArgs("Player");
%conn.setJoinPassword("None");
%conn.connectLocal();
}
**************************************


but upon loading, i get an error that says:



*******************************
DISCONNECT: You do not have the correct version of the FPS starter kit or the related art needed to play on this server.
********************************



It WILL load the barebones mission, which is in the same folder, if i change theMission to barebones in main.cs.

Any suggestions as to why my mission will not load?



Thanks!