Game Development Community

Replacing the orc

by Aten India · in General Discussion · 08/19/2008 (7:27 am) · 12 replies

Hello all,

I want to replace the default character of the orc with another character that is available to me. The character has been tested on Torque show tool Pro and it works fine. I made a separate folder instead of the player folder in data/shapes/player/ /data/shapes/brenda/ folder (Brenda is the character's name).

Then made this change in code in the server/scripts/player.cs file

ShapeFile = " ~/data/shapes/player/player.dts";
to
ShapeFile = "~/data/shapes/brenda/brenda.dts"

but still i don't see the new character. What am I missing here? can anyone help?

Thanks

#1
08/19/2008 (8:36 am)
Delete any DSOs
#2
08/19/2008 (12:16 pm)
And put a semi-colon at the end of the line...
#3
08/26/2008 (6:57 am)
Have checked..there are no syntactical errors...still the character i've made is not visible.

Do i need to put some animations associated with the character, as of now i haven't, do I need to put the default 'root' animation to make her visible.

is there a possibilty of some texture-errors?
#4
08/26/2008 (7:18 am)
Yes you need animations at the top of the server/script/player.cs there is a exec() to data/shapes/player/player.cs which holds the animations (dsq files) and if you do not have the EXACT bone structure as the orc it will not work.

ps always check the mesh with the show tool
#5
08/27/2008 (2:25 am)
It works fine on show tool, it's just I didn't add any animations yet,

By the way, what is the root animation for?

Thanks
#6
08/27/2008 (3:35 am)
It works fine on show tool, it's just I didn't add any animations yet,

By the way, what is the root animation for?

Thanks
#7
08/27/2008 (1:27 pm)
Its basically the idle animation, what plays when you aren't moving.
#8
08/31/2008 (2:38 am)
Have put a replacement for orc, but my character is not completely visible. It works fine on Torque show tool pro, but she's only half visible on torque, what can be the probable issue? lighting? polycounts?

Thanks
#9
08/31/2008 (6:07 am)
What exporter are you using, are you exporting a segmented model you may want to check your LOD numbers and make sure the pieces that are invisible are set to render at the right range. check the material names to see if you got any of them alike. Iam just guessing and this if from using the Milkshape exporter for a while.
#10
08/31/2008 (10:56 pm)
Hello all,
we are using the maya 2008 dts exporter .....and trying to replace the default character(orc) with the andy rig downloaded from the internet......actually the problem is the model as well as the animations are correctly working in showtool pro......but when try to put it on torque game ...its not completely visible..ie its only a portion is visible......

@Anthony Rosenbaum
"...........and if you do not have the EXACT bone structure as the orc it will not work........."

can you elaborate the bone structure...........
#11
08/31/2008 (11:18 pm)
Hello all,
just want to mention about the polygon count...its count is 17266 polys.....its working finely in showtool pro but its half of the body is not visible in torgue game................
#12
09/01/2008 (9:47 am)
The issue might be the scale of the model is too large.