Description
Auto Buffs is component that can be dropped into any actor and then can allow for one to easily send messages to that actor about changes to various values. The component itself can hold information for any number of values, be it damage dealt, movement speed, or intelligence, it doesn’t really matter. The component will simply hold onto and manage changes for the different buffs. Managing includes counting down their remaining durations, limiting duplicates of the same buff type if set to do so, and keeping track all currently applied buffs unique IDs, names, tooltip descriptions, or other parts.
The first type is Float Multiplier, meant to produce a float that you can multiply against the original value in that actor by referencing it to figure out the new final value. There is also a Float Flat type meant for storing flat value changes like +10 or -5. Next is a Boolean type that will return true as long as there is an active buff present, and false if none are present (this is meant for On/Off effects like silence, EMP, or Invincible Mode). And last is a simple Status type, that is simply meant as a place to drop effects with unique IDs that don’t have any specific modifier value associated with them. Even if you have five different modifiers affecting one base stat, some timed and expiring, others not, and others needing to be ignored if duplicates or reapplied instead, this can manage all of that while feeding you the simple output modifier that all of these changes would combine to create at any given moment.
You can also have the actor notified of any changes to its buffs, with a new value sent directly along with those updates.
Technical Details
Number of Blueprints: 6 Actors, 1 Actor Component, 1 Game Mode, 1 Blueprint Interface.
Materials: 3 Master Materials, 9 Instanced Materials.
Textures: 4 256*256 textures (include alpha channels)
Input: Keyboard and mouse used for demo, none required by the component itself.
Network Replicated: Yes
Supported Development Platforms: Windows
Supported Target Build Platforms: Windows
Documentation: https://docs.google.com/document/d/10YcP62rznmA-hK4-6jIgIHaAzIbVONmfahVmvSJ2dcU/edit?usp=sharing
Important Info:
ThirdPersonCharacter and all Mannequin assets are product of Epic Games and included for demonstration purposes.
Supported Engine Versions
4.19 – 4.27, 5.0 – 5.3