Game Development Community

Changing Textures on Interiors

by Yossi Horowitz · in Torque Game Engine · 04/22/2005 (7:36 am) · 2 replies

Is there a way to swap textures on interiors in game? We're looking to reuse wall geometry across locations but change their appearence by changing their textures. We would prefer to use interiors to DTS files for this because lightmaps don't work with DTS, and shadows don't cast onto DTS.

I'm under the impression that Torque out-of-the-box does not support this... Has anyone tried modifying the interior code to make it work? Our goal would be to be able to say to an interior -- for everywhere you use textureA.png, now use textureC.png, but textureB.png should be left alone.

Any thoughts would be greatly appreciated. Thanks!

#1
04/24/2005 (5:57 pm)
I think there's a method called setBaseSkin that might help.
#2
06/13/2005 (5:22 pm)
Ben, do you know much about setBaseSkin or were I can find information on it?