Can't Seem to Open my new map
by Eric Putman · in Game Design and Creative Issues · 05/24/2011 (4:59 pm) · 4 replies
I have started making my terrain for one of my maps using the FPS Starter. When I choose to Open my map it says "waiting for server" what gives? I have done All the "setup" copy the FPS.starter folder, renamed it changed the main.cs to open my game folder etc.
If I am doing it wrong please tell me. How do I setup my project, I would like to move forward on my game development. Thanks
-Eric
If I am doing it wrong please tell me. How do I setup my project, I would like to move forward on my game development. Thanks
-Eric
#2
Thanks,
Eric
05/24/2011 (8:29 pm)
Hey Mike thanks for the reply. Everything seem to be in the right place but it doesn't work. I have looked in the obvious file main.cs, pref.cs etc. Were would i go about looking foe the mission loading part of the script? How do you start a new project without cloning the FPS.starter kit?Thanks,
Eric
#3
Check the location of the saved terrain and make sure that the Terrain object in the .mis file is pointing to it.
It's been a while, so I may be wrong, and I don't have TGE installed anymore, but I believe that the mission loading functions in TGE start from the startMissionGui and relies on methods in server.cs, missionLoad.cs, and missionDownload.cs. The gui is what kicks off the server creation and the other files contain the functions that handle some of the client/server interaction to get things started. You may have to put in some echo's to see where things are going wrong.
The "waiting for server" message is part of the loadingGui, which also relies on methods found in the client-side missionDownload.cs. Since it's not giving you the art-related error popup I would guess that it's hanging there due to some needed missing information. Likely a camera or even player datablock that is needed to instantiate a player after the server is created. Look in game.cs and find createPlayer(), see what datablock it is looking for and make sure you have it.
05/25/2011 (9:06 am)
Duplicating an example project and renaming (while correcting hardcoded filepaths) was pretty much the procedure for starting a new project in TGE.Check the location of the saved terrain and make sure that the Terrain object in the .mis file is pointing to it.
It's been a while, so I may be wrong, and I don't have TGE installed anymore, but I believe that the mission loading functions in TGE start from the startMissionGui and relies on methods in server.cs, missionLoad.cs, and missionDownload.cs. The gui is what kicks off the server creation and the other files contain the functions that handle some of the client/server interaction to get things started. You may have to put in some echo's to see where things are going wrong.
The "waiting for server" message is part of the loadingGui, which also relies on methods found in the client-side missionDownload.cs. Since it's not giving you the art-related error popup I would guess that it's hanging there due to some needed missing information. Likely a camera or even player datablock that is needed to instantiate a player after the server is created. Look in game.cs and find createPlayer(), see what datablock it is looking for and make sure you have it.
#4
Thanks for the pointers. I got it working last night using the DEMO folder as my "project" folder. For some reason after looking all over in the default.cs, main.cs etc I could only find 3 places, were it would look for certain values.
Anyways thanks for the great "push" I am now rolling :-)
-Eric
05/26/2011 (12:25 pm)
Michael,Thanks for the pointers. I got it working last night using the DEMO folder as my "project" folder. For some reason after looking all over in the default.cs, main.cs etc I could only find 3 places, were it would look for certain values.
Anyways thanks for the great "push" I am now rolling :-)
-Eric
Associate Michael Hall
Distracted...
Barring that check the load mission function(s) and verify it's looking in the correct place for the mission files.
Oh, and is there anything suspicious in the console?