Game Development Community

Melee Discussion

by Bryce Kaminsky · in Torque Game Engine · 01/29/2004 (6:53 pm) · 6 replies

I need to know how to do simple melee kinda like old quake or Halflife stuff ... just a simple trace from the hand to a small distance in front of the player and the do dmg....

Any comments on where to start and what i would have to do is welcomed here...

i pretty lost when it comes to the torque engine. I am very new to the whole thing.

#1
01/29/2004 (7:10 pm)
This would be pretty similar to a normal weapon, just instead of using a projectile, make
it simply cast a ray, if it hits something and is within your specified close distance, then it does dmg....
#2
01/30/2004 (9:07 am)
What would be involved in getting the weapon's animation bone and using that for your ray casting?
#3
01/30/2004 (9:27 am)
Check out the TSShapeInstance methods for accessing nodes.
#4
01/30/2004 (5:17 pm)
Ok thats sounds great but would i have to modify the code or could it all be scripted?

if it could be scripted ... how would i do such a thing...
resources of this nature are few and far between
#5
04/24/2004 (12:20 am)
Quote:Ok thats sounds great but would i have to modify the code or could it all be scripted?

if it could be scripted ... how would i do such a thing...
resources of this nature are few and far between

Any answer to this? Because I aren't keen to do a T2 clone, more melee resources would be better for me and the community. :)

Edited: I have found this resource, I better work on this one first
Server Side Melee System
:)
#6
04/24/2004 (6:11 am)
I have tried all melee resources and havent found so far
a really good one for my needs.
But maybe my expections are to big.
Any ideas how to make the damage on melee weapon reliable ?