Game Development Community

L3dt terrains and TGE 1.4

by Gary Roberson · in Torque Game Engine · 07/25/2013 (5:18 pm) · 2 replies

First off, I apologize if I'm posting this in the wrong forum, but I couldn't find an forum for L3DT.
I've created an terrain for the Torque engines. The level loads correctly in T3D, but when I try to load the map in TGE, I get the error box stating that I don't have the correct version of TGE to connect to the server, or the art necessary.

This has happened to me before, and the only thing that I could guess could be the problem is that I have the textures in the wrong folder.

I've tried to load them directly from L3dt into the dataterrains folder, and I also tried to do it externally from L3Dt. I've also tried to to place them into the missions folder, but no such luck!

Here is a copy of the console log if anyone thinks they know of a solution!

//-------------------------- 7/25/2013 -- 16:54:54 -----
Processor Init:
   Intel (unknown, Pentium Pro/II/III family), ~1.70 Ghz
     (timed at roughly 1.69 Ghz)
   FPU detected
   MMX detected
   SSE detected
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Input Init:
   keyboard0 input device created.
   mouse0 input device created.
   DirectInput enabled.

Initializing chunk mappings...
   o 'TEXT' maps to TextChunk
   o 'SCHK' maps to UnknownChunk
   o 'SCHK' maps to SimChunk
--------- Loading MODS ---------
Loading compiled script gamew/main.cs.
Loading compiled script common/main.cs.
Loading compiled script gamew/client/defaults.cs.
Loading compiled script gamew/server/defaults.cs.
Compiling gamew/prefs.cs...
Loading compiled script gamew/prefs.cs.
Loading compiled script creator/main.cs.
Loading compiled script common/main.cs.

--------- Parsing Arguments ---------

--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.

--------- Initializing TTB: Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script gamew/server/game.cs.

--------- Initializing TTB: Client ---------
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Video Init:
   Accelerated OpenGL display device detected.
   Accelerated D3D device detected.
   Voodoo 2 display device not detected.

Activating the OpenGL display device...
Activating the OpenGL display device...
Setting screen mode to 800x600x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
  32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
OpenGL driver information:
  Vendor: Intel
  Renderer: Intel 915G
  Version: 1.4.0 - Build 4.14.10.4421
OpenGL Init: Enabled Extensions
  ARB_multitexture (Max Texture Units: 8)
  EXT_blend_color
  EXT_blend_minmax
  EXT_compiled_vertex_array
  EXT_texture_env_combine
  EXT_packed_pixels
  EXT_fog_coord
  ARB_texture_compression
  EXT_texture_compression_s3tc
  3DFX_texture_compression_FXT1
  (ARB|EXT)_texture_env_add
  EXT_texture_filter_anisotropic (Max anisotropy: 4)
OpenGL Init: Disabled Extensions
  EXT_paletted_texture
  NV_vertex_array_range
  WGL_EXT_swap_control

Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/ConsoleDlg.gui.
Loading compiled script common/ui/LoadFileDlg.gui.
Loading compiled script common/ui/ColorPickerDlg.gui.
Loading compiled script common/ui/SaveFileDlg.gui.
Loading compiled script common/ui/MessageBoxOkDlg.gui.
Loading compiled script common/ui/MessageBoxYesNoDlg.gui.
Loading compiled script common/ui/MessageBoxOKCancelDlg.gui.
Loading compiled script common/ui/MessagePopupDlg.gui.
Loading compiled script common/ui/HelpDlg.gui.
Loading compiled script common/ui/RecordingsDlg.gui.
Loading compiled script common/ui/NetGraphGui.gui.
Loading compiled script common/client/metrics.cs.
Loading compiled script common/ui/FrameOverlayGui.gui.
Loading compiled script common/client/messageBox.cs.
Loading compiled script common/client/screenshot.cs.
Loading compiled script common/client/cursor.cs.
Loading compiled script common/client/help.cs.
Loading compiled script common/client/recordings.cs.

OpenAL Driver Init:
OpenAL
   Vendor: Creative Labs Inc.
   Version: 1.1
   Renderer: Software
   Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

Loading compiled script gamew/client/audioProfiles.cs.
Loading compiled script gamew/client/ui/PlayGui.gui.
Loading compiled script gamew/client/ui/mainMenuGui.gui.
Loading compiled script gamew/client/ui/optionsDlg.gui.
Loading compiled script gamew/client/ui/loadingGui.gui.
Loading compiled script gamew/client/optionsDlg.cs.
Loading compiled script gamew/client/missionDownload.cs.
Loading compiled script gamew/client/serverConnection.cs.
Loading compiled script gamew/client/loadingGui.cs.
Loading compiled script gamew/client/playGui.cs.
Loading compiled script gamew/client/default.bind.cs.
Could not locate texture: gamew/client/ui/buttons/exit
Could not locate texture: gamew/client/ui/buttons/exit_d
Could not locate texture: gamew/client/ui/buttons/exit_i
Could not locate texture: gamew/client/ui/buttons/forum
Could not locate texture: gamew/client/ui/buttons/forum_d
Could not locate texture: gamew/client/ui/buttons/forum_i
Could not locate texture: gamew/client/ui/buttons/options
Could not locate texture: gamew/client/ui/buttons/options_d
Could not locate texture: gamew/client/ui/buttons/options_i
Could not locate texture: gamew/client/ui/buttons/gui
Could not locate texture: gamew/client/ui/buttons/gui_d
Could not locate texture: gamew/client/ui/buttons/gui_i
Could not locate texture: gamew/client/ui/buttons/map
Could not locate texture: gamew/client/ui/buttons/map_d
Could not locate texture: gamew/client/ui/buttons/map_i
Could not locate texture: gamew/client/ui/buttons/news
Could not locate texture: gamew/client/ui/buttons/news_d
Could not locate texture: gamew/client/ui/buttons/news_i
Could not locate texture: gamew/client/ui/buttons/help
Could not locate texture: gamew/client/ui/buttons/help_d
Could not locate texture: gamew/client/ui/buttons/help_i
Could not locate texture: gamew/client/ui/buttons/tdn
Could not locate texture: gamew/client/ui/buttons/tdn_d
Could not locate texture: gamew/client/ui/buttons/tdn_i
Could not locate texture: gamew/client/ui/buttons/console
Could not locate texture: gamew/client/ui/buttons/console_d
Could not locate texture: gamew/client/ui/buttons/console_i
Could not locate texture: gamew/client/ui/buttons/tutorial
Could not locate texture: gamew/client/ui/buttons/tutorial_d
Could not locate texture: gamew/client/ui/buttons/tutorial_i

--------- Initializing: Torque Creator ---------
Loading compiled script creator/editor/editor.cs.
Loading compiled script creator/editor/particleEditor.cs.
Loading compiled script creator/scripts/scriptDoc.cs.
Loading compiled script creator/ui/creatorProfiles.cs.
Loading compiled script creator/ui/InspectDlg.gui.
Loading compiled script creator/ui/GuiEditorGui.gui.
Engine initialized...
RSS Feed
   - Requesting RSS data at URL: /garagegames/rss/product/tge/oobe
   - Got 18 lines.
   - Feed title: ''
   - Feed link:  ''
   - Headline      #0 : ''
   - Headline Link #0 : ''
   - Headline      #1 : ''
   - Headline Link #1 : ''
   - Headline      #2 : ''
   - Headline Link #2 : ''
Could not locate texture: gamew/client/ui/buttons/exit
Could not locate texture: gamew/client/ui/buttons/exit_d
Could not locate texture: gamew/client/ui/buttons/exit_i
Could not locate texture: gamew/client/ui/buttons/forum
Could not locate texture: gamew/client/ui/buttons/forum_d
Could not locate texture: gamew/client/ui/buttons/forum_i
Could not locate texture: gamew/client/ui/buttons/options
Could not locate texture: gamew/client/ui/buttons/options_d
Could not locate texture: gamew/client/ui/buttons/options_i
Could not locate texture: gamew/client/ui/buttons/gui
Could not locate texture: gamew/client/ui/buttons/gui_d
Could not locate texture: gamew/client/ui/buttons/gui_i
Could not locate texture: gamew/client/ui/buttons/map
Could not locate texture: gamew/client/ui/buttons/map_d
Could not locate texture: gamew/client/ui/buttons/map_i
Could not locate texture: gamew/client/ui/buttons/news
Could not locate texture: gamew/client/ui/buttons/news_d
Could not locate texture: gamew/client/ui/buttons/news_i
Could not locate texture: gamew/client/ui/buttons/help
Could not locate texture: gamew/client/ui/buttons/help_d
Could not locate texture: gamew/client/ui/buttons/help_i
Could not locate texture: gamew/client/ui/buttons/tdn
Could not locate texture: gamew/client/ui/buttons/tdn_d
Could not locate texture: gamew/client/ui/buttons/tdn_i
Could not locate texture: gamew/client/ui/buttons/console
Could not locate texture: gamew/client/ui/buttons/console_d
Could not locate texture: gamew/client/ui/buttons/console_i
Could not locate texture: gamew/client/ui/buttons/tutorial
Could not locate texture: gamew/client/ui/buttons/tutorial_d
Could not locate texture: gamew/client/ui/buttons/tutorial_i
Exporting server prefs...
creator/editor/editor.cs (96): Unable to find object: 'Editor' attempting to call function 'close'
Exporting server prefs...
Loading compiled script gamew/server/camera.cs.
Loading compiled script gamew/server/editor.cs.
... Shape with old version.
Loading compiled script gamew/server/player.cs.
Loading compiled script gamew/server/logoitem.cs.
Warning: shape gamew/data/shapes/3dtorquelogo/torque_logo.dts collision detail 0 (Collision-1) bounds exceed that of shape.
*** LOADING MISSION: tutorial.base/data/missions/flat.mis
*** Stage 1 load
common/server/missionLoad.cs (23): Unable to find function clearCenterPrintAll
common/server/missionLoad.cs (24): Unable to find function clearBottomPrintAll
*** Stage 2 load
Executing tutorial.base/data/missions/flat.mis.
*** Mission loaded
Connect request from: IPX:203D2022:302E35373733:8245
Connection established 1317
CADD: 1318 local
*** Sending mission load to client: tutorial.base/data/missions/flat.mis
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.
GeneraltTab_generaltgeneral_min_heightt50tgeneral_scalet0tgeneral_watert0tgeneral_centerxt0tgeneral_centeryt0
Heightfield::eval:0  General
Heightfield::eval:0  General
Tab data: General^Tab_general^general_min_height^50^general_scale^0^general_water^0^general_centerx^0^general_centery^0 tab: Tab_general
Heightfield::eval:0  General
Heightfield::eval:0  General
Loading compiled script creator/editor/editorRender.cs.
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
pushDialog(): Invalid control: DemoEditorAlert
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
creator/editor/EditorGui.cs (846): Unable to find object: '' attempting to call function 'open'
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the Torque demo app %1. to index: 6
Mapping string: Test Guy to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: tutorial.base/data/missions/flat.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
RSS Feed
   - Requesting RSS data at URL: /garagegames/rss/product/tge/oobe
Warning: shape gamew/data/shapes/3dtorquelogo/torque_logo.dts collision detail 1 (Collision-1) bounds exceed that of shape.
   - Got 18 lines.
   - Feed title: ''
   - Feed link:  ''
   - Headline      #0 : ''
   - Headline Link #0 : ''
   - Headline      #1 : ''
   - Headline Link #1 : ''
   - Headline      #2 : ''
   - Headline Link #2 : ''
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - Client Foliage Replication Startup is complete.
*** Phase 3: Mission Lighting
 Successfully loaded mission lighting file: 'tutorial.base/data/missions/flat_b8212a01.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Mapping string: MissionStart to index: 11
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody
Could not register dust emitter for class: PlayerBody
*** Initial Control Object
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
pushDialog(): Invalid control: DemoEditorAlert
Mapping string: dropCameraAtPlayer to index: 3
creator/editor/EditorGui.cs (2937): Unable to find object: 'MessageHud' attempting to call function 'close'
*** ENDING MISSION
*** LOADING MISSION: gamew/data/missions/world.mis
*** Stage 1 load
common/server/missionLoad.cs (23): Unable to find function clearCenterPrintAll
common/server/missionLoad.cs (24): Unable to find function clearBottomPrintAll
*** Stage 2 load
Executing gamew/data/missions/world.mis.
*** Mission loaded
*** Sending mission load to client: gamew/data/missions/world.mis
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.
GeneraltTab_generaltgeneral_min_heightt50.000000tgeneral_scalet300.000000tgeneral_watert0.000000tgeneral_centerxt0.000000tgeneral_centeryt0.000000
Heightfield::eval:0  General
Heightfield::eval:0  General
Tab data: General^Tab_general^general_min_height^50.000000^general_scale^300.000000^general_water^0^general_centerx^0.000000^general_centery^0.000000 tab: Tab_general
Heightfield::eval:0  General
Heightfield::eval:0  General
Loading compiled script creator/editor/editorRender.cs.
creator/editor/EditorGui.cs (846): Unable to find object: '' attempting to call function 'open'
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
Obj: Observer - 
Obj: WayPointMarker - Misc
Obj: SpawnSphereMarker - Misc
Obj: PlayerDts - 
Obj: PlayerBody - 
Obj: TorqueLogoItem - Items
pushDialog(): Invalid control: DemoEditorAlert
Mapping string: MissionEnd to index: 12
creator/editor/EditorGui.cs (846): Unable to find object: '' attempting to call function 'open'
*** New Mission: gamew/data/missions/world.mis
*** Phase 1: Download Datablocks & Targets
*** Phase 2: Download Ghost Objects
Could not locate texture: gamew/data/water/water_spec
Could not locate texture: gamew/data/skies/Bluesky/cloud2
Could not locate texture: gamew/data/water/water_edge
Could not locate texture: gamew/data/water/water_spec
Could not locate texture: gamew/data/skies/Bluesky/cloud2
Could not locate texture: gamew/data/water/water_edge
Error: visibleDistance is capped at 2000.
To increase this limitation requires C++ code changes.
Please see comment at the top of sky.cc
Could not locate texture: gamew/data/terrains/details/detail_demo
Could not locate texture: gamew/data/terrains/details/detail_demo
Sending request for file gamew/data/skies/BlueSky/sky_bluesky.dml
No such file 'gamew/data/skies/BlueSky/sky_bluesky.dml'.
Connection error: Invalid packet..
Could not locate texture: gamew/client/ui/buttons/exit
Could not locate texture: gamew/client/ui/buttons/exit_d
Could not locate texture: gamew/client/ui/buttons/exit_i
Could not locate texture: gamew/client/ui/buttons/forum
Could not locate texture: gamew/client/ui/buttons/forum_d
Could not locate texture: gamew/client/ui/buttons/forum_i
Could not locate texture: gamew/client/ui/buttons/options
Could not locate texture: gamew/client/ui/buttons/options_d
Could not locate texture: gamew/client/ui/buttons/options_i
Could not locate texture: gamew/client/ui/buttons/gui
Could not locate texture: gamew/client/ui/buttons/gui_d
Could not locate texture: gamew/client/ui/buttons/gui_i
Could not locate texture: gamew/client/ui/buttons/map
Could not locate texture: gamew/client/ui/buttons/map_d
Could not locate texture: gamew/client/ui/buttons/map_i
Could not locate texture: gamew/client/ui/buttons/news
Could not locate texture: gamew/client/ui/buttons/news_d
Could not locate texture: gamew/client/ui/buttons/news_i
Could not locate texture: gamew/client/ui/buttons/help
Could not locate texture: gamew/client/ui/buttons/help_d
Could not locate texture: gamew/client/ui/buttons/help_i
Could not locate texture: gamew/client/ui/buttons/tdn
Could not locate texture: gamew/client/ui/buttons/tdn_d
Could not locate texture: gamew/client/ui/buttons/tdn_i
Could not locate texture: gamew/client/ui/buttons/console
Could not locate texture: gamew/client/ui/buttons/console_d
Could not locate texture: gamew/client/ui/buttons/console_i
Could not locate texture: gamew/client/ui/buttons/tutorial
Could not locate texture: gamew/client/ui/buttons/tutorial_d
Could not locate texture: gamew/client/ui/buttons/tutorial_i
RSS Feed
   - Requesting RSS data at URL: /garagegames/rss/product/tge/oobe
   - Got 18 lines.
   - Feed title: ''
   - Feed link:  ''
   - Headline      #0 : ''
   - Headline Link #0 : ''
   - Headline      #1 : ''
   - Headline Link #1 : ''
   - Headline      #2 : ''
   - Headline Link #2 : ''
   keyboard0 input device created.
   mouse0 input device created.
   keyboard0 input device created.
   mouse0 input device created.
Exporting prefs
Exporting client prefs
Exporting server prefs
CDROP: 1318 IPX:203D2022:302E35373733:8245
Shutting down the OpenGL display device...
Making the GL rendering context not current...
Deleting the GL rendering context...
Releasing the device context...


#1
07/26/2013 (7:39 am)
I used L3DT users' guide when making tons of world maps back then last year. It worked pretty well and fast.

However I use the Torque 3D and not the TGE 1.4 but the guide should work for you too. Hence you wanna read the The walk-through guide link :o)

Best,

Dwarf King
#2
07/27/2013 (2:31 am)
I seem to recall some hard limits on terrains in TGE, 256x256 max heightmap size and i believe the max number of textures for terrains was 6 maybe 4?, might be worth checking your l3dt project for those limits.

I also seem to think that TGE started looking for terrain textures in an environment folder, TGE doesnt check out any extra folders for textures, but it does start going backwards in the tree toward the root folder if it cant find textures where its told, so as a temporary try you could move the textures up to the root og the data folder to see if that at least solves the issue, you can then copy them to their correct place and use the terrain painter to pick the files again.

I remember this being one of my lager headaches when i first started with torque, simply because the terrain painting data was inaccessible due to be stored in the binary file