Game Development Community

L3dt

by Malcolm · in Torque Game Engine Advanced · 04/24/2007 (8:07 pm) · 3 replies

Hi All, I'm starting to fiddle with the TGEA engine and the L3DT terrain renderer. I have an .atlas file and I was wondering how to make it work in the engine. Any help is appreciated.

#1
04/25/2007 (7:34 am)
Edit your mission file and put something like this in there:
new AtlasInstance2(Test) {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      atlasFile = "~/data/terrains/YOUR_FILE.atlas";
      detailTex = "~/data/terrains/details/detail1.png";
   };
#2
04/28/2007 (10:54 pm)
Thanks Mark,
I did try that however it seems that the engine is still running the old map not my new atlas map. Do I have to delete other parts of the mission file so that the existing one isn't shown?
Cheers
Mal
#3
04/29/2007 (6:24 am)
If you're using terrain_water_demo then look in /client/init.cs. At the bottom in loadDefaultMission(), the path for the mission is hardcoded.

createServer( "SinglePlayer", "terrain_water_demo/data/missions/simple.mis" );