Game Development Community

Defualt Level T3D

by Edward Cunningham · in Torque 3D Beginner · 10/10/2010 (12:54 am) · 1 replies

How do I make it so my levels show up on the Choose Level menu after I play the game out of my Project via Torque Toolbox. For some reason only "Blank Terrain" will show up...

#1
10/10/2010 (3:40 pm)
Do your levels have LevelInfo? I think that's all the template game needs to make it appear on the list.
Example:
new LevelInfo(theLevelInfo) {
      nearClip = "0.1";
      visibleDistance = "2000";
      decalBias = "0.0015";
      fogColor = "1 1 0.6 1";
      fogDensity = "0.001";
      fogDensityOffset = "10";
      fogAtmosphereHeight = "100";
      canvasClearColor = "233 220 143 255";
      advancedLightmapSupport = "0";
         desc0 = "An empty terrain ready to be populated with Torque objects.";
         LevelName = "Empty Terrain";
   };