Game Development Community

Access different parts of a DIF

by Santosh Pillai · in Technical Issues · 05/16/2008 (5:02 am) · 1 replies

My artist made a building in the torque constructor and put in chairs and tables and exported the whole thing as a DIF and gave it to me. Now can I access the various parts of the building like the tables and chairs programmatically? Is there something in the constructor tool through which I can name each part of the building and access them programmatically?

#1
05/16/2008 (6:22 am)
This would probably be best asked on the Constructor forums or at least the private TGE forums for map2dif experts, though navigating BSP trees isn't as friendly as what you're looking for. You might be able to rewrite map2dif to include batching groups within zones. I'm not even sure where to begin with that, though! Creating BSP compilers and creating chunked areas of navigation for BSP groupings is not my strong point. It's closer to my nullpoint.