Weapons
184
SoundOnDestroy=SoundCue'A_Character_BodyImpacts.
BodyImpacts.A_Character_RobotImpact_BodyExplosion_Cue'
MeshOnDestroy=
StaticMesh'Envy_Effects.VH_Deaths.S_Envy_Rocks'
RespawnTime=30.0
// How long the spawned physics object should last
SpawnPhysMeshLifeSpan=500.0
// Destroyed when damaged
bDestroyOnDmg=TRUE
// Destroyed when touched by player
bDestroyOnPlayerTouch=FALSE
// Destroyed when touched by vehicle
bDestroyOnVehicleTouch=TRUE
// Blocks other nonplayer actors
bBlockActors=TRUE;
}
It is all very straightforward, and most of the properties are the ones commonly used
within UDK. With our explosive barrel built, it's now time to hop into our map and
place the barrel.
- Start the UDK editor and head to your Actors Browser. Enter Explosive Barrel
in the search bar and your barrel will be present. Drag-and-drop it into the map.