Game Development Community

TGEA 1.7.0 Beta 1 Bug - New mission fails to load

by Carlos Valente · in Torque Game Engine Advanced · 03/20/2008 (11:19 am) · 6 replies

When I go to File->New Mission I get the following messages:

popup in screen saying "You appear to have a Terrain file in an older format. Do you want Torque to update it"?

I press OK.

Then TGEA proceeds to load the mission and stops at "Loading Objects - 100%" with:

"You do not have the correct version of the Torque Game Engine or the related art needed to connect to this server, please contact the server operator to obtain the latest version of this game. (Invalid Packet. (Failed to register ghost always))

and returns to the main GUI.

About the author

Recent Threads


#1
03/20/2008 (2:41 pm)
Is this a fresh install into a new directory?
#2
03/20/2008 (3:05 pm)
I can reproduce this with the stronghold example. Just load up a level. Bring up the editor and try to load a create a new mission. It will do the above everytime.
#3
03/20/2008 (3:12 pm)
Ok. Found the fix for this and I imagine its the same for all of the examples.

Under folder examplenamehere/game/tools/missionEditor/data open up the newMission.mis file.
Go down to the Sky(SkyObject) section and change
materialList = "demo/data/skies/sky_skybox.dml"
to
materialList = "scriptsAndAssets/data/skies/sky_overcast.dml"
(For the Stronghold example, I did not check the other examples to make sure the above exists there.)

and then go down more and find
detailTexture = "demo/data/terrains/details/detail1";
in the TerrainBlock section.

Change it to
detailTexture = "scriptsAndAssests/data/terrains/details/detail1.png";

Now it should load without any problems.

It just seems when it was ported over from the old demo folder it was not updated to the new pathing system being used now. (The terrain will show up as pure black until you remap the textures for the terrain with new ones.)
#4
03/20/2008 (3:17 pm)
I just checked and all of the examples have the same problem with the newmission.mis and newmission.ter files. They will all need to be updated to the new directory setup.
#5
03/25/2008 (11:29 pm)
I think it is best that I post this. When I load a new mission Two things happen that I am not sure how to proceed.

First: After loading a new mission the trees from the last mission are still there and I can not delete them with out having to remove the trees folder form the coding. However this will also remove the trees form the example. Is there anyway around this?

Second: When the the new mission is loaded up the terrian is black, I have to load the grass textures in the epaint in order to see the terrian. Is there a code that I might of missed?

This was done in the demo part of the engine.

Thank you for any help.
Rick
#6
03/31/2008 (10:42 am)
This should be fixed in Beta 2. Please retest if you get a chance. Thanks!