PDA

View Full Version : Exploding barrels in UDK



allsamude
04-25-2010, 08:06 AM
Hi all,

I am trying to create some barrels that can damage both the player and some walls with radial damage.

I seen in some previous kismet versions the action "Cause Radial Damage". Don't know if it was something created by hand or not, but was just what i needed.

Anyone has an idea how can i create a Kactor that explodes after some time and causes radial damage through unreal script?

Thanks in advance :)

PhoenixWing
04-25-2010, 01:04 PM
You should have a look at the UT2004 Exploding Barrel source. Its exactly what you want

Blaaguuu
04-25-2010, 02:24 PM
I think examples of everything you would need is right in the UDK source... Check out UTSimpleDestroyable, Projectile, and add a simple Timer in PostBeginPlay to trigger the explosion, and you should be good.

Le nain
10-07-2010, 11:43 AM
I think examples of everything you would need is right in the UDK source... Check out UTSimpleDestroyable, Projectile, and add a simple Timer in PostBeginPlay to trigger the explosion, and you should be good.

Hey, how do you add these UTSimpleDestroyable to your level? I mean, I wanted to add some from the editor, but I didn't find any correct entry for that type (I had a look in all the placable actors, and in the Convert used to make KActors).

FlowState
10-07-2010, 06:54 PM
My first guess would be to make a subclass of it, then make it placeable?


class MyClass extends YourClass
placeable;