Game Development Community

Missing Terrains after compile...

by Nicolai Dutka · in Torque Game Engine Advanced · 09/08/2009 (3:44 pm) · 1 replies

2 days ago, I wiped out my hard drive and re-installed Windows. I did make a backup of my TGEA_1_8_1 folder and restored that.

I then installed Visual Studio 2008, Windows SDK, and DirectX SDK, then configured VS2008 to use the DirectX SDK files following the docs included with TGEA.

I compiled my project, copied the new .exe to my game folder, and ran it. When I get into the game, my terrains are missing for every single level!

If I run the older .exe for my game, get into the levels... POOF, my terrains are back!

Any ideas WTF is going on?

#1
09/08/2009 (4:18 pm)
GAH! I totally "Tom'ed" that one! (Tom is my brother. He makes bonehead mistakes a LOT!)

Anyway, my backup was missing a small chunk of code in my terrData.cpp file after I had added the resource for 15 terrain textures... I stuck the code back in there and voila!