UE4 Damage Tutorial
page 1 2
This tutorial is based on 4.13. Epic changes the template projects slightly in updates to the engine, but this tutorial should remain applicable.
The tutorial is suitable for a single player game. Multiplayer is much more complex and you should know what you are getting into before starting that journey. For guidance on damage in multiplayer look at Epic's ShooterGame example.
Create a project using the first person template, and add the Animation Starter Pack marketplace asset.
Select the Mesh component and change its mesh to SK_Mannequin. This option will only be available with the animation starter pack added.
Set its location and rotation to look right (Location 0, 0, -96.0. Rotation -90deg Z).
Set its rendering properties to "Owner no see."
Set its animation blueprint to "UE4ASP_HeroTPP_AnimBlueprint."
Add a Skeletal Mesh component to the FirstPersonCharacter blueprint named '3P_Gun'. Set its mesh to FP_Gun.
Drag and drop the new component onto the 'Mesh' component, parenting it. Attach it to the 'hand_r' socket.
Change its location/rotation to look right (Loc 0, 0, 0. Rot +90deg Z).
Set the rendering options to "Owner no see."
page 1 2