Player texture swapping
by Stephen Colbran · in Torque Game Engine Advanced · 08/06/2009 (2:16 am) · 4 replies
Is it possible to switch the textures of a player in TGEA (and T3D) during the game?
For example: I have a model with 3 textures, legs, shirt and head.
During the game, could I call a script (say... %this.player.setTexture("arms", "arms.1.jpg")) that would change one of the textures?
Thanks
For example: I have a model with 3 textures, legs, shirt and head.
During the game, could I call a script (say... %this.player.setTexture("arms", "arms.1.jpg")) that would change one of the textures?
Thanks
#2
08/06/2009 (2:50 pm)
Thanks
#3
www.garagegames.com/community/forums/viewthread/76757/1#comment-542870
08/06/2009 (3:24 pm)
its better use %player.setSkinName(xx); no engine changes:www.garagegames.com/community/forums/viewthread/76757/1#comment-542870
Torque Owner Shaderman
TGEA Dynamic Skins & Material Swapping