Game Development Community

Creator error...

by Boris Gougeon · in Torque Game Engine Advanced · 04/23/2006 (6:18 pm) · 1 replies

Hello,

I'm beginning with the TSE and when I try to open the world editor in the Terrain_water_demo, I've this fatal error :


Loading compiled script creator/editor/cursors.cs.
Loading compiled script creator/editor/editor.bind.cs.
Loading compiled script creator/editor/ObjectBuilderGui.gui.
Loading compiled script creator/editor/EditorGui.gui.
Loading compiled script creator/editor/EditorGui.cs.
Loading compiled script creator/editor/WorldEditorSettingsDlg.gui.
Loading compiled script creator/editor/TerrainEditorVSettingsGui.gui.
TerrainEditor::attach: no TerrainBlock objects found!
creator/editor/EditorGui.cs (2235): Unable to find object: 'terrain' attempting to call function 'getHeightfieldScript'
creator/editor/EditorGui.cs (2625): Unable to find object: 'terrain' attempting to call function 'setHeightfieldScript'
creator/editor/EditorGui.cs (2625): Unable to find object: 'terrain' attempting to call function 'setHeightfieldScript'
Tab data: General
Tab_general general_min_height 50 general_scale 300 general_water 0.000 general_centerx 0 general_centery 0 tab: Tab_general
Heightfield::eval:0 General
Terraformer::terrainData - TerrainBlock 'terrain' not found.
Heightfield::eval:0 General
Terraformer::terrainData - TerrainBlock 'terrain' not found.
creator/editor/EditorGui.cs (2625): Unable to find object: 'terrain' attempting to call function 'setHeightfieldScript'
Heightfield::eval:0 General
Terraformer::terrainData - TerrainBlock 'terrain' not found.
creator/editor/EditorGui.cs (2625): Unable to find object: 'terrain' attempting to call function 'setHeightfieldScript'
creator/editor/EditorGui.cs (1491): Unable to find object: 'terrain' attempting to call function 'getTextureScript'
Loading compiled script creator/editor/editorRender.cs.
MissionAreaEditor::onWake: no TerrainBlock object.

pushDialog(): Invalid control: DemoEditorAlert
Fatal: (c:\tse\engine\gfx\gfxdevice.cpp @ 942) How did this happen?

I don't know how to fix it... Does the tse use atlas and not terrains files? because I've looked at
the mission
file and I've not seen a terrain block.
If I try to open the newMission file with the demo program I've a black terrain without textures, is it normal?

Thanks for your help!
Boris

#1
04/24/2006 (3:48 am)
Hi Boris, the editors aren't fully finished yet. I get that same message, but it doesn't cause any problems, you can ignore it for now. I guess it's some legacy code that hasn't been removed yet.

The terrains are black as you say. If you bring up the terrain painter and select the first box, then change the texture and do some painting, the colours will come back. You might have to relight the scene (ALT-L). Note that the new mission terrain is a legacy terrain block, not an Atlas one AFAIK. You can't edit Atlas terrains yet.

Cheers,

Dave.