Game Development Community

Bots doing damage without using projectiles/weapons

by Chrisamethyst · in Technical Issues · 03/27/2007 (5:11 pm) · 2 replies

My game uses un-dead bots which attacks the player with an animation where they punch or hit the player. I'd like for this kind of attack to hurt my player and have too many of these hits kill the player. I see there are a lot of tutorials for weapons damage, how can I do damage hurting the player with punching or hitting/slapping?

#1
03/27/2007 (5:49 pm)
You could use the Melee System and instead of a sword use an invisible object with the same characteristics (i.e. injury nodes) as mentioned in the resource. Just remember this particualr resource has been a challenge to impliment to not a few folks around here...I've got it in a 1.4 build but have not tried it in 1.5...but they say it can be done.

Here's the resource link:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5377
#2
04/11/2007 (10:43 am)
Still baffles me why melee isn't in the engine to begin with, look at almost all fps out there they have some melee whether it's a knife or hitting someone with the gun. Now look at most rpgs on any genre, there's melee.
Despite this almost all the melee resources on here are painfully old and when people do figure out how to get it up and running in the newest version they never make a new resouce for it.