Hi,
its been some time since the last update with features, so here we go
Updated:
- Added **cooldown **for skills.
If you dont want to have a cooldown, simply set the value to zero.-
Added a ManaComponent
Just add the ManaComponent to any Character and the Skills will start to use mana as configured in the skills.
If a Character using the SkillSystemComponent does not have a ManaComponent assigned, the Skill will be cast without this prerequisite.
-
Factions: Now you can add a FactionComponent to any Character. In the component, you can define an array of Factions that this character has. If any factions between 2 Characters are equal it will be treated as friend. If no factions are equal, or the other character does not have a FactionComponent assigned, it will be treated as enemy.
Factions can be defined by a EFaction - enum.
-
DecaySensing: This is a property on the enemy. If the enemy looses sight (or hearing) of the player, it will go to the last known location of the player and start searching randomly there. After a given time, he will stop searching.
-
**New **Skills:
- **BP_PbAoESkill **- Point Blanc Area of Effect. This one demonstrates radial damage with the caster in the center. Please note that no visual effects are included (unfortunately i am a really bad artist)
- **BP_CallAlly **- Summons an Ally (with its own BehaviourTree) to fight for/with you. He will follow you and attack enemies automatically. Also, there are predefined events to set the Ally to Aggressive/Defensive/Passive, which would just need to be called from a UI.
-
The update (along with compatibility for 4.9) should be live soon.
Cheers,