Update: Left4Dead2 Style Wounds for Unreal Engine 4

Quick update to my L4D2 style wound implementation for Unreal Engine 4 – I’ve managed to get the wound hit point to follow the animation properly for characters. This was the main thing holding me up from continuing work on this system (namely, extending it to use a capsule instead of a sphere).

An example download is available here: https://forums.unrealengine.com/showthread.php?90474-WIP-Dynamic-Left-4-Dead-2-Style-Wounds-Dismemberment

For those that want to incorporate the new changes I’ve made, here are two screenshots showing the main pieces of code you need to implement (and the modified code for determining the sphere location).

First is in the character blueprint – this is showing the new way to transform the socket location into skeletal-mesh-relative-coordinate-space (that’s a mouthful):

Next up is the material itself. First set your Material domain to Masked, then replicate the part that plugs into Opacity Mask:

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s