Boss with destructable parts?

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
mordercinstinkt
Posts: 5
Joined: Tue Jan 31, 2006 1:11 pm

Boss with destructable parts?

Post by mordercinstinkt »

Hey there!

I'm creating an action/platform Sonic Adventure sort of style game. I'll use Sonic as an example. In those games, there are big bosses which are robotic and have destructable parts on them. You can blow one cannon off, but not kill the whole thing.

I was wondering how I could go about doing that, and how I would tie those parts to the main body, and how I could make the boss utilize the parts on him, but know when they're gone and not try to use them anymore resulting in it just standing there and getting killed.

Hopefully I described this clearly enough. Thanks for ANY help I get. :-D
User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

Hey!

I would do it like this. Make each cannon/etc a seperate Pawn that if it is not dead always reattaches itself to the boss (so it appears to be part of it). The boss can tell the cannon to fire, i do believe, by using it's szEntityName set in the editor. It can check if it's dead using a similar method, and if so not use it.
Cynnical
Posts: 22
Joined: Thu Apr 06, 2006 4:33 am

Post by Cynnical »

yea setting it to not use the cannon if its dead is just a simple if then statement (if rf uses if then statements.)
Post Reply