Announcement

Collapse
No announcement yet.

Able Ability System Info and Support Thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Hi, when i create a able ability bp, it ask for a actor, and then a asset. when it ask for the asset what should I do since everything is blank. Also when i try to add in animation nothing runs in the able system so i need help.

    Leave a comment:


  • replied
    Originally posted by SteamPunkProgrammer View Post
    So I bought the able ability system this weekend, and it works pretty good, but I found an issue. I can't see to cancel an abilities animation early, I wired up a custom event, cancel the ability (which does appear to cancel the ability itself) but the animation just continues to play no matter what, UNLESS I make it play another animation via a branch instead of a cancel, that will instantly end the first animation. Any hints as to what I need to do to ensure the animations cancel correctly with the ability itself? (I am using Ability Animation Node, have that all setup in the correct fields and I have 'stop on interrupt' turned on which I would have thought would do what I want, but it doesnt). If I try to use 'interrupt' for the result to use in the cancel ability method, it seems to just reset the animation.


    Edit: I did find a way to sort of make it work, I now check if there is a valid active ability and has ability animation, to set the state of if there is an ability animation playing. This doesnt seem like the right way to do it however because it seems like it would kill any blending.
    Read my posts above, I think we're encountering the same issue. Can you try using single node just to see if it cancels correctly? If it does then it's the same issue.
    Last edited by fernmerc; 03-14-2018, 02:59 AM.

    Leave a comment:


  • replied
    So I bought the able ability system this weekend, and it works pretty good, but I found an issue. I can't see to cancel an abilities animation early, I wired up a custom event, cancel the ability (which does appear to cancel the ability itself) but the animation just continues to play no matter what, UNLESS I make it play another animation via a branch instead of a cancel, that will instantly end the first animation. Any hints as to what I need to do to ensure the animations cancel correctly with the ability itself? (I am using Ability Animation Node, have that all setup in the correct fields and I have 'stop on interrupt' turned on which I would have thought would do what I want, but it doesnt). If I try to use 'interrupt' for the result to use in the cancel ability method, it seems to just reset the animation.


    Edit: I did find a way to sort of make it work, I now check if there is a valid active ability and has ability animation, to set the state of if there is an ability animation playing. This doesnt seem like the right way to do it however because it seems like it would kill any blending.
    Last edited by SteamPunkProgrammer; 03-13-2018, 11:19 PM.

    Leave a comment:


  • replied
    Originally posted by ExtraLifeMatt View Post

    Truthfully I've never seen anyone use it in that aspect. Sequencer is setup to handle a lot of that. You could use Able to help you re-use particle/animation timings and such like that. However, I haven't written any support with Sequencer to call Able Abilities or anything, so there may be some work there. Not sure...
    Yeah, my workflow is kind of experimental at this stage. Thanks for the input. Just trying to come up with a toolkit I can take across multiple projects quickly.

    Leave a comment:


  • replied
    Originally posted by RodenHirata View Post
    I had a question regarding usage/workflow - I'm not really making gameplay but various types of cinematics. Would this increase the speed of my workflow, for example, quickly prototyping abilities (for example, triggering lots of explosions/other emitters at the same time and killing a bunch of AI) and then popping the abilities off in sequencer? Is this a good use case for able?
    Truthfully I've never seen anyone use it in that aspect. Sequencer is setup to handle a lot of that. You could use Able to help you re-use particle/animation timings and such like that. However, I haven't written any support with Sequencer to call Able Abilities or anything, so there may be some work there. Not sure...

    Leave a comment:


  • replied
    I had a question regarding usage/workflow - I'm not really making gameplay but various types of cinematics. Would this increase the speed of my workflow, for example, quickly prototyping abilities (for example, triggering lots of explosions/other emitters at the same time and killing a bunch of AI) and then popping the abilities off in sequencer? Is this a good use case for able?

    Leave a comment:


  • replied
    Originally posted by ExtraLifeMatt View Post

    Thanks, I'll poke at it and see what I get.
    Thanks! I also have another issue relating to it when I use looping. I'm trying to implement my bow mechanics using Able, and I have three abilities; one for draw, another one for aim, and another one for fire, in which they branch to each other in succession.

    The first issue I had was that the blending wasn't working correctly, just like with the previous issue. The draw animation ends where the aim animation begins, but instead if I place the branch anywhere other than after the first animation has ended, he will quickly revert to idle and then blend into the aim animation. I ended up placing the branch .2 seconds after the draw animation had finished and even though there's a really tiny hiccup in between the abilities it's good enough for me as a workaround right now. If I put it .1 seconds after the draw animation finishes, there's a chance (~20%) that it'll revert to idle and then blend into the animation, as it shouldn't. For all I know there's still a chance of it happening .2 seconds after and I just haven't experienced it yet, but it's just a temporary workaround.

    The issue I mentioned came after, in the second ability. If I set the aim ability to loop, and I break the channel condition to escape the loop, it restarts the animation from the beginning to the end instead of just breaking off right away. This one is also really weird, because I put a custom event near the beginning that fires in every loop iteration, but if I break the channel condition midway through the loop and it starts it from the beginning, the custom event does not fire. So then I realized it's not the ability starting all over, it's just the animation. I placed an animnotify in the beginning of the animation and it prints a string if I break the channel condition near the end of the ability. I know it's related to the previous issue, because it works fine in single node; the issues only happen with the ability animation node. Unfortunately I can't use single node as aimoffsets don't work and there's no transition. Ability interrupt is also called when it should be, so it's purely an animation issue.

    In case my explanation isn't clear enough, here's the issue laid out plainly:
    • One ability branches to the other (only issue here is the same one as before, weird blending)
    • Second ability loops from start to finish indefinitely; all it contains is a single animation task, using ability node.
    • This ability is channeled, channel condition being mouse press
    • Mouse is pressed and held all the way until the second ability
    • Mouse is released any time during the second ability (can be first loop iteration, tenth loop iteration, it doesn't matter)
    • Animation replays from the beginning (animnotify fires) instead of being broken out of
    • Only occurs using ability animation node, not single node

    Any help is appreciated, it's driving me crazy!
    Last edited by fernmerc; 03-10-2018, 05:03 AM.

    Leave a comment:


  • replied
    Originally posted by fernmerc View Post
    I managed to recreate the issues on a new project. All I did was add an input "Ability" mapped to the F key, add the ability state machine and the configuration in the animbp, and create an ability that has a branch at the end. If I press and hold F it will speed up every other iteration. Here's a link to the project:

    https://mega.nz/#!Ckg2HZaK!c4r6oq52_...gwqNcHAiBuZIDQ

    Edit: It has something to do with the interruption of the animation. If I place the branch after the play animation task, the next one will not be sped up. Also, depending on where you put the branch the animation speed is different. I'm guessing it's a blending thing.
    Thanks, I'll poke at it and see what I get.

    Leave a comment:


  • replied
    I managed to recreate the issues on a new project. All I did was add an input "Ability" mapped to the F key, add the ability state machine and the configuration in the animbp, and create an ability that has a branch at the end. If I press and hold F it will speed up every other iteration. Here's a link to the project:

    https://mega.nz/#!Ckg2HZaK!c4r6oq52_...gwqNcHAiBuZIDQ

    Edit: It has something to do with the interruption of the animation. If I place the branch after the play animation task, the next one will not be sped up. Also, depending on where you put the branch the animation speed is different. I'm guessing it's a blending thing.
    Last edited by fernmerc; 03-08-2018, 02:37 AM.

    Leave a comment:


  • replied
    Originally posted by ExtraLifeMatt View Post

    Hmmm, not off the top of my head. Is the Ability before the branch sped up? Do you have logic for the Ability Play Rate somewhere? The whole on/off pattern seems really suspect...
    I've never touched ability play rate and I also turned off "Scale with ability play rate". Moreover it works fine with single node. I enabled looping and 95% of the time it works fine, and then randomly one of the iterations is sped up. With looping off it's every other one. Don't worry if you can't answer this question, it's an unfair one

    Edit: It also happens in the editor if I hit play with looping enabled (in the same way as in game, with 95% of them being fine and one of the multiples of 2 being sped up)
    Edit 2: I made a new animbp with only the ability node and it still happens, so it's not the animbp.
    Last edited by fernmerc; 03-07-2018, 10:02 PM.

    Leave a comment:

Working...
X