Game Development Community

Melee Hand to Hand

by Norris Bonner · in Torque Game Engine · 02/20/2005 (7:05 pm) · 4 replies

At the moment, I am implementing the hand to hand and melee resourse. All the resource talks about is using a sword or a melee weapon to create damage. Is there a way to use the models hands as a weapon ie punching? Maybe mount an empty dts to each hand? Im not sure, and also if that is the case, how would i make an empty dts file? Thanks

#1
02/21/2005 (4:38 am)
I'm not sure how hard it'll be to implement, but I would use the melee resource.
and do what you said (Invisible "weapons"). Then off course you'll have to mount
2 weapons. I'm sure you'll use both hands in a fight, 4 mounts when you need kicking in too...

You could mount the fists too... dunno how that would look... But should be interesting to see. Could limit you later though... When you create a fighting
system you'll want to extent to it later. eg... using knees and elbows to attack
too.

Extended Melee resource coming soon though... ;)
#2
02/24/2005 (11:42 am)
Animations aside, the invisible weapon is exactly correct.

Think of it more like invisible boxing gloves (or invisible steel toed boots).
#3
03/03/2005 (10:33 pm)
Which still begs the question of how to make an empty DTS...
I think it may be possible if you just create the collision box, and leave the shape out. Another thing may be to texture a box with a transparent .png and see if that works.
#4
03/03/2005 (11:17 pm)
CEC person: That a minor problem doing this... I just made the shape so smalll that it is clipped into the hand... Touching my Transparency slider (Milkshape) crashes TGE after compling...

I played around with it and hand-to-hand seems harder that I initially thought to get it look cool.

When your hand(s) enter then collision box of the player, it causes damage even though the shot did not hit the (polys of) the player... Kinda makes it look crappy with some shots.