Explosive Barrels?

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Explosive Barrels?

Post by metal_head »

How would I go for making an explosive barrel? I'm not sure how to make it,because I want the barrel model to change with a broken barrel model when I shot at the barrel also and explosion to appear and if the player is too close to the barrel,the explosion to do damage to the player. Will I need scripting,or I can do this in RFEditPro?
User avatar
blutwurstchen
Posts: 57
Joined: Wed Mar 19, 2008 8:51 pm

Re: Explosive Barrels?

Post by blutwurstchen »

I thought the destroyable model entity would do this, but it only works with world models. Maybe you could use a material switch (with transparency) to create a destroyed look.

You could add some effects to the explosion to make it look like pieces of the barrel are flying off.
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Explosive Barrels?

Post by metal_head »

Yeah, for this I used a script, when the barrel exploades, it does damage to several attriutes in a certain radius, causing the other barrels arround it to explode too :)
User avatar
blutwurstchen
Posts: 57
Joined: Wed Mar 19, 2008 8:51 pm

Re: Explosive Barrels?

Post by blutwurstchen »

That sounds great.

Did you script it so that the original pawn is replaced by a broken version, or does it completely disappear in the explosion?

Maybe you could upload a video clip and show us what it looks like.
Post Reply