This section describes how the DRS system can be integrated into a new project.
The first person example from epic games serves as the basis.
Step 1 - Merge Project Files
Step 2 - User Interface
Next go into the event graph and add the nodes on the right to the “EventConstruction”.
The Variables “HealthComponent”, “ShieldComponent” and “GameplayComponent” can be added to the default variables.
Step 3 - Character
On BeginPlay Initiate the Resource components, construct the user UI and add it to the viewport.
The Components for the UI can be selected from the character component list.
Step 4 - Play
After pressing Play, the UI should be constructed and you should see the health and shield values.
You can use the new pawn in the example map to test gameplay effects.