Stats Cog

NullSave

(10)
$19
Publisher NullSave
File size 14.75MB
Number of files 773
Latest version 2022.Q3.0
Latest release date 2022-06-06 12:50:41
First release date 2019-01-11 06:32:10
Supported Unity versions 2018.4.2 or higher

Stats Cog™ is a solution for creating quick stats in Unity. You can place a Stats Cog™ on any GameObject to track its stats. Stats support equations such as "25.5 * Level ^ 2 + 87.5 * Level - 125" and can reference other stats to get their values, or they can have simple numeric values such as "1.3". Stats can regenerate over time or increment their values based on coditions such as "XP >= XPToLevel".


Effects can be applied to any Stats Cog™ and each effect can target multiple Stats with multiple modifers. For example our sample effect "BuffUps" targets HP (Maximum Value & Current Value), HRT and END all in a single effect. Effects can be stackable and have lifespans as well so they automatically end after a specific amount of time.


Full support for Inventory Cog means with it you can add stats to items and have them affect your character too!


Create Damage Modifiers to provide resistance or weakness to certain attacks and even target Stat Values with them. Damage Dealers can be attached to melee objects or projectiles so you can get a reference to the stats of both the attacker and the target.


Stats Cog™ can save and load all of its state data (including effects, values and time remaining on effects) to a file or any stream provided!


WebGL Demo | Discord | Documentation | Online API | Contact


Key Features

* Attach StatsCog to as many game objects as you want.
* Monitor values with and without effects applied.
* Instant access to all current effects and modifiers.
* Send text commands at any time (ex: value AP = AP - SprintCost)
* All values support interdependent equations.
* Affect multiple stats in unique ways with effects.
* Save and load states with effects

Top Publisher Assets