playMaker

Author Topic: Is there a better way to do a health and damage system?  (Read 2337 times)

SirNikkolas

  • Playmaker Newbie
  • *
  • Posts: 9
Is there a better way to do a health and damage system?
« on: April 20, 2012, 04:55:56 PM »
Hi guys!
I am creating a 3rd person tank game sort of like battletanx for the N64. I got two different control layouts. One using a script for a character controller and the other is using physics and rigidbodys. The way that I have it working now is with rigidbodys on the tank and on the projectiles. I set a global variable of damage on the shell which subtracts from the Health of the tank using a collision event. Its working perfecly fine, but I was wondering if there's a better way to do it without using rigidbodys on the tank. I have a better controller using a character controller that I would rather use if I can because the tank moves more in the way that I want it to.

Here is the way i have my FSM set up now.


The "MortarHit" and "Minus Health - Mortar" is for another projectile. I plan on having several different types of weapons all doing different damage.

Thanks, Nick