Explosive Barrels?
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Explosive Barrels?
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?
- blutwurstchen
- Posts: 57
- Joined: Wed Mar 19, 2008 8:51 pm
Re: Explosive Barrels?
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.
You could add some effects to the explosion to make it look like pieces of the barrel are flying off.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: Explosive Barrels?
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
- blutwurstchen
- Posts: 57
- Joined: Wed Mar 19, 2008 8:51 pm
Re: Explosive Barrels?
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.
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.