Health Component Ready Online

VicAgent - 蓝图 - 2022/11/21

This component updates health and it calculates if the player is dead, each time the player takes damage. Furthermore, it is ready for online replication. with a lot of demos

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.0 - 5.1
  • 下载类型
    完整项目
    此产品包含一个完整的虚幻引擎项目文件夹,含有配置文件、内容文件和.uproject文件,可以作为创建新项目的模板使用。

This component updates health and it calculates if the player is dead, each time the player takes damage. You only need to set up the damage source such as Projectile, damage zone or item pickup, and make cast to this component or Character class to get target actor damage (or actor to heal). This component does the rest. Furthermore, it is ready for online replication. 


Includes a lot of demos, Players, Drones, 2 DemoMaps with their own mechanics:

  1.   ThirpersonDemoMap.- Take the drones to the damage zone
  2.    FirtPeronDemoMap .- Destroy all the drones

Three Actors Demos: Damage Zone, health pickup and projectile

All Ready online replication.


技术细节


Demo Maps

  1.   ThirpersonDemoMap
  2.    FirtPeronDemoMap

Player Demo

  1.   Player_ThirPerson
  2.   Player_FirstPeron

Basic AI Demo

  1. Drone Demo

Actor demo

  1.   Health Pickup
  2.   Projectile
  3.   Damage Zone

Widget demo

  1. Widget third peron and drone Health bar for component
  2. Widget First person Health bar for viewport


Number of Blueprints: Healthcomponent + 6 Blueprints Demo + 2 Widgets

Input: Gamepad, Keyboard , mouse like Firstperson and Thirdperson shooter Epic Template

Network Replicated: Yes

Supported Development Platforms:

Windows: (Yes)

Mac: (No)

Documentation: https://docs.google.com/document/d/1BCa9a2imc_IkirVVd9Kq8MPqZVKqxAJu5EVZ3-Z93RY/edit?usp=sharing

Important/Additional Notes: