Guns aren't the only weapons we can make use of in UDK. It's time to think outside the box for a bit and come up with some other creative weapons. For this next recipe, we'll create a weapon that makes use of our environment, an explosive barrel.
Since the early days of gaming, the explosive barrel has been a primary tool in every level designer's tool belt. Granted, I've never seen an explosive barrel in my life, but games would lead you to believe otherwise.
With that in mind, let's create our barrel.
Open your IDE and start by creating a new class called
ExplosiveBarrel and have it extend from
Because our barrel is an item that will probably be heavily used by a level designer, let's hide ...