Game Development Community

Josh "The_Force" Moore

by Bill Fisher · in Torque Game Engine · 05/14/2004 (12:35 pm) · 8 replies

I was able to compile josh's melee system ok with no errors.
(server side melee located in resources section)

HOWEVER... I'm assuming since I'm using MILKSHAPE to export my models I need to place h1swing, h1slice, h1thrust, h1stun animation sequences into my dts player model. Is this correct?
(no mention of this was included in tutorial)

ANYWAY... if I do place these animations into my dts file it crashes when I attempt to attack. (im assuming it doesn't like h1swing animation for some reason - and it will not crash if i take it out of my player.dts file - however i wont see any attack animation either)


DO I need to have specifically named nodes? Am I missing a node? Sound? - I also placed damageStart and damageEnd nodes into my sword.dts file.

Any ideas why its crashing?
Has anyone successfully been able to get this to work using milkshaped exported models?

Thanks
Bill

#1
05/14/2004 (9:03 pm)
The bones on your model and the bones for the animation are mostlikely uncompatable. You should make your own animations or make sure the bones match. The sword should work, are you having problems with it? Do the models/animations work in show tool? Check the console for any errors.
#2
10/05/2004 (10:42 pm)
Did you work this out Bill?

I am also crashing with a custom rigged model with custom made animations for attack

any ideas?
#3
10/05/2004 (11:22 pm)
Your weapon needs to have a damageStart and a damageEnd node to do the ray cast between them.
#4
10/06/2004 (12:20 am)
Josh

any chance of an illustration of that?

Am I understanding you correctly by making this crappy ascii?


SWORD nodes: damageStart = 1, damageEnd = 2

_______
0==|2_______1>
#5
10/06/2004 (1:18 am)
@Gonzo Thats correct. Anything between the 2 nodes is considered the 'sharp' part of the blade.
#6
10/06/2004 (7:27 am)
Thanks Erik.
#7
12/02/2004 (7:43 pm)
My weapon models did have these nodes -

Bill did you end up working this out?

Josh are there any other reasons this may occur?
#8
08/05/2005 (11:53 am)
Did anyone ever work this out? This is the same problem I'm having - crashing when I try to attack. Also, there's an h1stun animation? I didn't see that anywhere else before, nor anythying about damageStart or damageEnd - what else was left out of the tutorial that's necessary? Has anyone compiled a complete explanation of all this before? Or was this all included in Josh's files on the freeweb server that's always over-bandwidth'd? I'd be glad to put together an entire resource to help someone get server side melee working quickly, if it hasn't been done yet.

Glez