How to save .dts model after changing mounted object
by Playware · in Torque Game Engine · 11/09/2008 (6:56 pm) · 3 replies
Hi All,
I am very new to TGA. I am working on some Character Editor for my Game. In This I have some basic character model . Now I have to use one of these model in editor and through editor I have to modify it by adding/removing some objects (like armour, cloths, hat, shoes, Gun , etc.). So after changing it, I have to save current model as .dts file, so I can use modified .dts file for my player character.
So is there anything which can help me to get this done. How I can get this done?
thnx.
I am very new to TGA. I am working on some Character Editor for my Game. In This I have some basic character model . Now I have to use one of these model in editor and through editor I have to modify it by adding/removing some objects (like armour, cloths, hat, shoes, Gun , etc.). So after changing it, I have to save current model as .dts file, so I can use modified .dts file for my player character.
So is there anything which can help me to get this done. How I can get this done?
thnx.
About the author
Torque Owner Daniel Buckmaster
T3D Steering Committee
1. Figure out what objects are mounted to the player
2. Write this data into some recognisable format and save that, maybe as, say, a text file
Then when you load the character next time, you:
3. Read the data you saved, and mount the same objects again.