Game Development Community

Oops! terrain wont load

by Bob "Colonel_Klink" Watt · in Torque Game Engine · 04/26/2004 (1:21 am) · 6 replies

I seem to run from one disaster to another. :)

Now my terrain or mission wont load. The terrain and waterblock dont appear listed in the editor either, nor can I load the miss or terr files.

The objects load (yes even the blessed bridge is suspended in mid air) and I've checked through the mission file and everything seems in order (as compared to missions that do load.

Anybody encountered this before or is it just some gemlin that has decided be a pain in the a$$? :)

#1
04/26/2004 (1:56 am)
You _could_ supply the console log or eventual error messages, it's just not like pulling an answer from the air.
#2
04/26/2004 (3:53 am)
Sorry
only thing that is in the console log pertaining the terrainblock is this:

Loading compiled script waffenbruder.demo/server/scripts/player.cs.
Loading compiled script waffenbruder.demo/data/shapes/player/player.cs.
Validation required for shape: waffenbruder.demo/data/shapes/player/player.dts
Loading compiled script waffenbruder.demo/server/scripts/chimneyfire.cs.
Loading compiled script waffenbruder.demo/server/scripts/pathedInteriors.cs.
*** LOADING MISSION: waffenbruder.demo/data/missions/test2.mis
*** Stage 1 load
*** Stage 2 load
Executing waffenbruder.demo/data/missions/test2.mis.
waffenbruder.demo/data/missions/test2.mis (0): Register object failed for object terrain of class TerrainBlock.
*** Mission loaded

edit::
this is in the log when trying to load the terr file through the editor:

TerrainEditor::attach: no TerrainBlock objects found!
common/editor/EditorGui.cs (2592): Register object failed for object (null) of class TerrainBlock.
keyboard0 input device unacquired.
keyboard0 input device acquired.
common/editor/EditorGui.cs (1975): Register object failed for object (null) of class TerrainBlock.
#3
04/26/2004 (5:46 am)
Waffenbruder.demo/data/missions/test2.mis (0): Register object failed for object terrain of class TerrainBlock.

that together with the other one sounds to me like a bad block.
have you tried with RW stronghold terrain yet?
#4
04/26/2004 (12:41 pm)
The stronghold terrain loads fine.
#5
04/26/2004 (12:55 pm)
Then you probably have gotten a bad block.
If my previous post wasn't clear, I think you should:

Replace your terrain file with the one from stronghold.

if that doesn't work, then you got a bad file.
last thing you could do is to upload it here and I and the others can test it.
#6
04/26/2004 (5:57 pm)
Thanks Stefan. I presumed that what ever happened has stuffed it completely. Not to worry I will create a new terrain as this was just a trial. Just wondered what could have happened to it.