Game Development Community

My Interiors dont have textures?

by arda · in Torque Game Engine · 02/10/2005 (12:28 am) · 5 replies

- I made a room with valve hammer editor.
put the map file under C:\Torque\SDK\example\starter.fps\data\interiors\box
- compiled it with map2dif_DEBUG -t ../ -o . box2.map
it produced box2.dif.
- I run the starter.fps and I put it on the terrain with F11-F4.
The only think I got is the image below.
- I also tried to compile C:\Torque\SDK\example\starter.fps\data\interiors\towers\watertower_0.map.
The watertower.map file that I compiled, was also without texture when I put it on the terrain.

- I followed the tutorial at www.garagegames.com/docs/torque.sdk/tools/worldcraft/index.html .

Why are my interiors are black and without textures. Even if I compile existing maps?


C:\Torque\SDK\example\starter.fps\data\interiors\towers>map2dif_DEBUG watertower
_0.map
Successfully opened map file: watertower_0.map
  Parsing mapfile...
C:\Torque\SDK\example\starter.fps\data\interiors\towers>map2dif_DEBUG -t ../ -o
. watertower_0.map
Successfully opened map file: watertower_0.map
  Parsing mapfile...done.
  Creating BSP...done.
  Marking active zones...done
  Creating surfaces...done.
  Lightmaps: Normal...Alarm...done.
  Resorting and Packing LightMaps...done.

  STATISTICS
   - Total brushes:      236
     + structural:       236
     + detail:           0
     + portal:           0
   - Number of zones:    2
   - Number of surfaces: 1381

  Exporting to runtime...done.

Successfully opened map file: watertower_1.map
  Parsing mapfile...done.
  Creating BSP...done.
  Marking active zones...done
  Creating surfaces...done.
  Lightmaps: Normal...Alarm...done.
  Resorting and Packing LightMaps...done.

  STATISTICS
   - Total brushes:      183
     + structural:       183
     + detail:           0
     + portal:           0
   - Number of zones:    2
   - Number of surfaces: 961

  Exporting to runtime...done.

 Writing Resource: persist..(./watertower.dif) Done.


img177.exs.cx/img177/3448/blackbox1xp.th.jpgBIG IMAGE
[IMG]http://img177.exs.cx/img177/3448/blackbox1xp.th.jpg[/IMG]

#1
02/10/2005 (12:36 am)
This is a common newbie issue (it belongs in a beginner FAQ somewhere or needs to be fixed). Go to the Edit menu in the Mission Editor and hit Relight Scene.
#2
02/10/2005 (1:18 am)
That proves that I'm total newbie to TGE.

Thanks.
#3
02/10/2005 (9:33 am)
ALT-L is also a hotkey to relight the scene. Caveat: I *always* save before I do this. Relighting the scene crashes the engine about 5% of the time for me.
#4
02/10/2005 (1:45 pm)
Something that our next revision of map2dif ought to help with a bit.
#5
02/10/2005 (2:09 pm)
Thanks guys.
Specially Tom and Ben.
It's good to know that crash issue before I lost my maps.

Cheers