Game Development Community

Changing Player's DTS in game

by Outline Interactive · in Torque Game Engine · 01/17/2006 (12:48 pm) · 3 replies

Is possible to change the DTS file and datablock of the player during the game?

I want to make a player child that turns to adult sometimes and change his attibutes.

Thanks in advance.

#1
02/10/2006 (9:18 am)
Any help?
#2
02/10/2006 (9:26 am)
Have you thought about creating a new object in the place where the current player object is,
setting the control object to the new object and deleting the old object,
then storing the new object in $player?

you could play an animation on one of them to make the transition smoother.. or create a particle effect for a comedy effect.

Just an idea...
#3
02/10/2006 (9:27 am)
Yes. There is a SetDatablock method.