Show tool with mounting support?
by Robert Elek · in Torque Game Engine · 12/09/2003 (7:43 am) · 2 replies
Hi!
I'd like to build a show tool with support for mounting weapons to objects for testing.
I just looked around in the source, but i've found that the ShowTSShape object, which is used in the show tool, is a descendant of SceneObject, and it does not support mounting.
I think I could do two things:
First: changed ShowTSShape to be a descendant of ShapeBase
- not too good solution, as it would require a lot of changes to be compatible with the show tool and shapebase too
Second: add the mounting code to ShowTSShape
- but as i see it would be a lot of work :)
So finally the questions:
- Do you have anything to help me? Maybe a ready-to-use show tool with mounting support?
- Any idea which way to go and guidelines maybe?
- Anything to do the testing with instead?
[ it's not too easy to put the characters in our game, as the game-engine-extensions are really under construction :) - but if it's the only way, i will skip the showtool extending and test the characters directly in the game. ]
I'd like to build a show tool with support for mounting weapons to objects for testing.
I just looked around in the source, but i've found that the ShowTSShape object, which is used in the show tool, is a descendant of SceneObject, and it does not support mounting.
I think I could do two things:
First: changed ShowTSShape to be a descendant of ShapeBase
- not too good solution, as it would require a lot of changes to be compatible with the show tool and shapebase too
Second: add the mounting code to ShowTSShape
- but as i see it would be a lot of work :)
So finally the questions:
- Do you have anything to help me? Maybe a ready-to-use show tool with mounting support?
- Any idea which way to go and guidelines maybe?
- Anything to do the testing with instead?
[ it's not too easy to put the characters in our game, as the game-engine-extensions are really under construction :) - but if it's the only way, i will skip the showtool extending and test the characters directly in the game. ]
#2
I'm still searching for the right places to post, i'm new to this site and it's HUGE :)
12/09/2003 (8:24 am)
Thanks, I will check it and next time i will post in private forums. :)I'm still searching for the right places to post, i'm new to this site and it's HUGE :)
Torque Owner Richard O
Pull RealmWars from CVS and take a look at the module guiPlayerView.cc, I believe this is what you are looking for.
As a side note, since you are discussing code, you should be posting in the Torque SDK Private Forums.
Rich