Re: C++ [message #205263 is a reply to message #205142] |
Sat, 24 June 2006 22:55 |
|
theplague
Messages: 261 Registered: May 2004
Karma:
|
Recruit |
|
|
-_- make the wall an seperate object, on dmg, make it repair itself to full, unless damager is itself. Check damager is the 'bomb' if it is, apply dmg to itself 99999 blamo, then just to a death animation.
On the bomb: on destroy, dmg objects in radious, to make it more real, do it in 5 stages. like circles with smaler circles inside of them. that way, the closer you get to it, the more circles your in, hence, more dmg done.
if you want to do stuff for random objects, you need knowleage of physics and projectile vectors and motion. then you can attach a script to all objects and determin the direction and velocity of the bomb's projectiles, thus calculating a flight path for the object/debree.
|
|
|