Game Development Community

Access different parts of a DIF

by Santosh Pillai · in Artist Corner · 05/17/2008 (2:39 am) · 3 replies

I have asked this question in the programming section of the forum and have been redirected here.

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/18/2008 (8:29 am)
Not to sure,

Kind of new here sorry, but why not just create each item/piece of furniture separately? (also this could be good incase you want to use that furniture in another building instead of remaking it) and just carefully place it inside the building using the World Editor?
#2
05/22/2008 (12:23 am)
Thanks for the suggestion. But that is not what i exactly want to end up doing. Is there no other way to do that?
#3
05/24/2008 (7:25 pm)
I don't believe you can modify specific parts of the DIF programmatically, and DIF objects shouldn't be used for anything too interactive in the first place. If you can get .dts versions of the objects, I believe the artist can place them in the building in torque constructor so they will be in the same place, just programmable for whatever you need.