UCC - Issue with Weapon Swapping

FuzzySmurf

Member
Hello,

So I've been stuck on this problem for a while now, and thought you might be able to help me.

I have 2 'weapons' equipped on my NPC. The first is a Pellet (its really a green fireball atm), which equips fine, and works well. The second is a 'biteAttack'. Which is set, and configured correctly. (or so i think).
I'm running into 2 problems, which might be related to the same thing.
The first problem (which is probably the main problem) is, when I equip the BiteAttack, this does not ever trigger/Initialize. I recorded a video to try and show as much detail on my settings as possible to you have a better idea of how it looks like. The BiteAttack is configured, and the ItemDefinition is configured based on the ItemDefinition, and the ItemCategory. these should be right (and you can see it towards the end of the video). I have also tried changing the Loadout equip settings, and playing w/ a variety of settings to get it to initialize, it just doesn't do it.
The second problem is weapon Swapping.
When the player gets within 'x' range of the NPC, the NPC should swap from pellets, to Biting. but it doesn't seem to ever initialize correctly. The 'unequip' command gets called, but the BiteAttack never gets called.
The ItemSetManager shows that the BiteAttack ItemSet is enabled, but its not initialized.

Bonus Note:
Originally I made the BiteAttack as a copy from the Demo - Body, and updated it to use a new ItemCategory group, and new ItemType as well.

Any Ideas? Thanks.

 
Last edited:
You've started to reach enough complexity that I will need to be able to reproduce it in order to determine what is going on. If you can reproduce the issue within the demo scene then I will be able to take a look.
 
Back
Top