Game Development Community

DIF file format?

by Lally Singh · in Technical Issues · 12/05/2005 (1:33 am) · 2 replies

I know this has to be obvious to others, but where can I get specifications on the file format
for torque levels? Is it even a DIF file?

Namely I need to be able to read the files and then do visibility tests between lots of different
points inside the levels. Also, some pathfinding will likely be necessary. If I can reuse some
Torque code for this stuff, it'd be great :-)

Thanks in advance!

-ls

#1
12/05/2005 (1:56 am)
A torque level?

If you mean a mission, they are comprised of a terrain object (basically a hieghtmap), and miscellaneous interior objects (.difs), as well as any other scattered .dts shapes.
All of these are defined in the .mis file for the mission you are looking for.

Now if what you mean is you need the format for .dif objects you may be well off to take a look at the code for the various exporters such as map2dif
#2
12/05/2005 (7:20 am)
Ah! Thanks.