Game Development Community

Hitboxes and Melee combat

by Rajavidya Das Hargreaves · in Torque Game Engine · 06/27/2006 (7:34 am) · 4 replies

Hi guys,

Another question... is there any up to date info on Hitboxes and Melee combat? I've been searching and searching and i've only found stuff from a few years ago.

Alternatively, it would be cool if someone could point me to where I would have to start modifying in the engine(or script??) in order to put togeather something of this nature.

Thanks a bunch!

Raj

#1
06/27/2006 (8:09 am)
I just purchase the skeleton pack, it come with the skeleton, the sword and the script to make work. The skeleton can throw firsball, slash or use a sword or mp5. To me it is will worth the money. It also come with a swarm script. It just drop right in. If it save me time I am all for it.
#2
06/27/2006 (8:51 am)
Hmmm... not exactly sure if thats what im looking for...

But, that does answer one of my questions. It is possible to add in a melee combat system completely through script then... right?

Any more suggestions?

Thanks,

Raj
#3
06/27/2006 (9:07 am)
www.subreal.net/skeletonpack/SK_Demo2.mpg

Here is a video preview of what Michael was talking about so you can see if it is something that would help you.
#4
06/30/2006 (10:20 pm)
It should be possible to add a melee combat system with script alone. Look up the use of mounts within player meshes. What you can do is mount "interceptors" on the players body with transparent (invisible) textures. These serve as cool dts hitboxes. You can even mount an interceptor onto the sword etc. So then simply use oncollision callbacks to see what has been hit. Also, don't forget the bounding box parameter (collision mesh) in the player datablock, which you should reduce to an insignificant size so that it doesnt interfere with your other body interceptors.

Hope that helps.