Spotlight Sale: Save 50% on select Plugins now through September 16.

Resource Component Plugin

LyCH - Code Plugins - Aug 30, 2024
Not Yet Rated

Provides a generic resource component and a health system with runtime modifications.

  • Supported Platforms
  • Supported Engine Versions
    5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Included is a generic resource ActorComponent that can be used for a variety of resources such as stamina, mana, or health. From this a HealthResource that automatically takes in the engine Apply Damage functions is included. It allows a variety of modifications during runtime that can be combined or individually removed. These modifications include:


  • Weak to all Radial Damage
  • Immunity to any long range damage
  • Resistant to various DamageTypes
  • An interface that can be added to a DamageType that allows custom modifications


Also included, is a ready-made HealthResource that automatically adds UI elements to the player's screen or in the world. Just add it to an Actor Blueprint and press play. By default a health bar will appear on the player's screen and above all other Actors using this. How these are shown can be modified in the details panel. HealthResourceWithUI is not very modifiable, as it was created as a quick prototyping tool.

Technical Details

Features:

  •  Resource regeneration (adjust Delay, tick-Rate, and Amount per tick)
  •  Runtime modifications such as weakness to damage types
  •  A ready-made component that can be added to any actor and instantly be used

Code Modules:

  •  ResourceCompPlugin (Runtime) 

Number of Blueprints: 3 (Widget Blueprints

Number of C++ Classes: 6

Network Replicated: Yes

Supported Development Platforms: Windows, MacOS (untested but no windows specific functionality is used)

Supported Target Build Platforms: Windows, MacOS (untested but no windows specific functionality is used)

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

  • Another link to the documentation can be found in the Plugins window after installing.

Example Project: https://drive.google.com/file/d/1DOwZ2TsQ8eR7pxlGqjayso0KRsdM-9-k/view?usp=sharing