Recent content by Zaddo

  1. Z

    Weapon stun time

    I updated the script to have a cooldown period and reduce stun time for consecutive hits. This avoids a player getting stun locked indefinitely. There is now also a minimum damage setting. The damage must exceed this to trigger a knockback.
  2. Z

    Pooled External Behavior Tree Variable reverting to old value

    My work around of having the same variable list on all the external behavior trees was becoming cumbersome and the fix hasn't been release. And so I have attempted to fix this bug, but I am not that confident with the fix. Could you please let me know if this is correct: } else {...
  3. Z

    how to set substateindex for item aim ability

    I am manually starting the aim ability on an NPC with the body equipped. The stubstate index is staying at 0. The animation controller is expecting 1. And I want to keep it at this value because it is consistent with my players animation controller. For the life of me, I cannot find where I...
  4. Z

    Runtime to editor Copy Paste Item Position

    I had a bunch of food items that needed precise positioning in the character’s hands. The usual workflow — hitting play, adjusting the position, stopping, and manually pasting values in the inspector, was painfully slow. This utility speeds things up by letting you copy the local position and...
  5. Z

    Cancel Charge Animation Early

    The solution was to stop the use ability.
  6. Z

    Cancel Charge Animation Early

    I am using a custom version of the Charaged Trigger module. I want to cancel the animation if the player stops charging early. So in the ReleaseCharge method I call SetItemStateIndexParameter on the AnimatorMonitor to set the value to zero for the slot. But something is immediatly switching...
  7. Z

    Possible Issue with ItemSlotCollection.GetItemSlotIndex

    Thanks demo now works. I missed both those details on how to get the demo. I tried to recreate the initial problem I raised with the demo. But it wasn't behaving the same way as in my project. So I can't give you the steps to reproduce.
  8. Z

    Possible Issue with ItemSlotCollection.GetItemSlotIndex

    Maybe I am getting the Demo scene the wrong way. I can't find the demo scene in the asset store package. It only installs the folders under packages and no Demo scene. I looked through the package manager details for UIS, but there is no supplemental package for the Demo. I also read through...
  9. Z

    Possible Issue with ItemSlotCollection.GetItemSlotIndex

    I thought I would try to reproduce this behavior in the demo scene. I downloaded latest UIS and Demo and installed in a new project. But I hit some snags. EquipperBase does not implement IEquipper and Assembly Definition Opsive.Shared.Editor is missing Opsive.Shared.Runtime. The Assembly...
  10. Z

    Possible Issue with ItemSlotCollection.GetItemSlotIndex

    This isn’t causing any issues on my end. I just wanted to raise it in case it’s not the intended behavior. I spent about half an hour investigating and found the cause: If "Add View Slot Category Restrictions" is not checked on the ItemSlotCollectionView, the ItemViewSlotCategoryRestriction...
  11. Z

    Possible Issue with ItemSlotCollection.GetItemSlotIndex

    Just a heads-up before diving in—I'm updating the inventory through custom code, so this may or may not be considered an issue. Here's the issue: ItemSlotCollection.GetItemSlotIndex(Item item) fails to return a valid index if the item's category doesn't match the slot's allowed categories. As a...
  12. Z

    Pooled External Behavior Tree Variable reverting to old value

    I couldn't leave this issue alone. I have a personality flaw, that if I am aware of a problem, I can't let it go :( I downloaded the source for BD and I think I might have found the issue. I haven't debugged. But as this might impact anyone that uses pooled external behaviors, I thought I would...
  13. Z

    Dynamic variables

    I have the opposite problem. I can't see the value of dynamic variables at runtime. This is making debugging difficult. But this is my first time using dynamic variables, so I am not sure if I am doing something wrong. This may or may not be related, I am using external behavior trees that...
  14. Z

    Pooled External Behavior Tree Variable reverting to old value

    Thanks for answering all my questions. I am at that stage in my project where I am not doing any more major technology upgrades. Version 2 does look good, but it will have to wait for my next project :) Based on your answers and my testing. Just a guess, perhaps when I replace the external...
  15. Z

    Pooled External Behavior Tree Variable reverting to old value

    I think I might have found the problem. My External Behaviors have a common set of Variables. But each one might have some custom variables that are unique to its function. I found that with having exactly the same variables on all external behaviors, this stopped the problem from occurring...
Back
Top