I've got a bit of a bug or issue, I have two separate abilities that have different cooldowns, however when I use one of them, both are put into cooldown in the same timeframe (one being 5 seconds, the other being 10), I'm trying to make it so the cooldowns are separate rather than global. Is there any way I could fix this? Cheers.
Announcement
Collapse
No announcement yet.
Able Ability System Info and Support Thread
Collapse
X
-
Originally posted by CrimsonWingzz View PostI've got a bit of a bug or issue, I have two separate abilities that have different cooldowns, however when I use one of them, both are put into cooldown in the same timeframe (one being 5 seconds, the other being 10), I'm trying to make it so the cooldowns are separate rather than global. Is there any way I could fix this? Cheers.Able Ability System - A high performance, robust ability system for UE4. Now Available!
Comment
-
Originally posted by George.Xiao View Post
My version is still 1.91. I had try re-launch, re-install, no effect. My god, I need 2.0 version. Is that because i'm chinese?
Sometimes the launcher doesn't get the latest version and this is typically how I solve that problem.Quinton Delpeche
Founder - Gobbo Games | Designer - The Colony 2174 (Board Game) | Developer - Riders of Asgard
Comment
-
Originally posted by George.Xiao View PostI found another problem, when i play one animation and then play another animation, this two animation not smooth switch, even if change blendin/blendout. Smooth switch animation is very important for me, i don't know how to with able.Able Ability System - A high performance, robust ability system for UE4. Now Available!
Comment
-
Originally posted by ExtraLifeMatt View Post
Ability Cooldown is tied to the name of the Ability (which gets hashed). As long as the Abilities have two separate names, they shouldn't share a cooldown.
Comment
-
Originally posted by CrimsonWingzz View Post
Hmm, odd, both abilities are different names, might it be because I called them both 'Ability_[name]'? Technically both are different names, just follow the same style guide. Still having issues with the cooldowns though :/Able Ability System - A high performance, robust ability system for UE4. Now Available!
Comment
-
Originally posted by ExtraLifeMatt View Post
The Blend In/Out only works on Dynamic Montage / Ability Animation Node - not Single Node (it's just not supported). Personally I use the Ability Animation Node, which you can find a tutorial on how to setup here: https://extralifestudios.atlassian.net/wiki/x/BYBK
Comment
-
Originally posted by ExtraLifeMatt View Post
I wouldn't think so, but I'll investigate. Can you give me the name of the Abilities so I can re-create things on my end? You can PM me them if you don't want to post them publicly.
- Ability_Greatsword-Kick
- Ability_Greatsword-QuickAttack
Another detail, if this helps, the abilities are being called from a Data Table, since I have a struct that holds the name, ability class, etc.
Comment
-
Originally posted by CrimsonWingzz View Post
Yeah no worries, the ability names are below:
- Ability_Greatsword-Kick
- Ability_Greatsword-QuickAttack
I've added some code to aggressively make sure the hash is generated while you are in the editor since PostLoad may not have been called due to the object being new.Able Ability System - A high performance, robust ability system for UE4. Now Available!
Comment
-
Originally posted by ExtraLifeMatt View Post
Were these Abilities you had just created? I was able to reproduce this with brand new Abilities I had created (basically the hash code never got called so they all had the same hash), but upon restarting the editor - everything worked as expected.
I've added some code to aggressively make sure the hash is generated while you are in the editor since PostLoad may not have been called due to the object being new.
EDIT: Seems to work now! That's really weird, I'll start restarting the editor every few abilities that are added now, I experienced the issue after restarting after adding them. But now they seem to work, pretty odd.Last edited by FirstCrimson; 12-10-2017, 03:38 PM.
Comment
-
Able v2.1 Submitted.
- Added "Play Rate" to Abilities. This is a modifier applied to time passed to the Ability during it's update so a value of 0.5 plays the Ability at half speed, 2.0 is double, and 1.2 is 20% faster. You can set it directly, or override the "GetPlayRate" method to dynamically change the play rate based on whatever gameplay mechanics you have (you can use GetBasePlayRate to get the value you've defined on the Ability). This value isn't cached so if you modify it during an Ability's execution - it will immediately take effect.
- Fixed an issue with Socket Rotation being incorrect (let me know if you run into any issues).
- Fixed an issue where Cooldowns weren't being properly applied on Abilities you had created during an Editor session. If you still see this behavior, simply modify any field on the Ability and the system will fix itself.
A note about Play Rate. I plan to update PlayAnimation Task to automatically scale itself along with the Ability Play Rate (so Animation Play Rate * Ability Play Rate ) but that will have to go in the 2.11 update as I completely forgot about it till just now and cancelling product updates is nasty business. I'll likely make it an option so if you want your animation to play at normal rate no matter what the Ability rate is - you can keep that behavior.Able Ability System - A high performance, robust ability system for UE4. Now Available!
- 1 like
Comment
-
Originally posted by ExtraLifeMatt View Post
Sweep requires the actor to be at the end spot. It's meant for melee strikes and things like that. If you're using a dash, you could just use a query rather than a sweep that is the size of where you'll be moving. Or just assign a tag to the player for the duration of the dash that enemies check for and apply collision damage when the player overlaps them.
Comment
-
Originally posted by shadowkami View Post
If I do a attack like Castlevania,a hit from back to front,did i add many query in a able?
There's a number of ways you could go about this. Hard to know what to suggest without knowing more about the gameplay you're going for.Able Ability System - A high performance, robust ability system for UE4. Now Available!
Comment
Comment