Some Animation doesn't play after conversation end (ARPG Kit)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
warlockoo1
Posts: 15
Joined: Thu Feb 02, 2017 2:47 am

Some Animation doesn't play after conversation end (ARPG Kit)

Post by warlockoo1 »

Hi,
So I am using default HeroineController that comes with ARPG Kit and I have 3 attack moves and today I added 4th attack move. Everything works fine until player enters any conversation, after conversation completion player can only perform 3 attack moves and not 4th one. It even happens if I save game without entering in any conversation and than load the game. Just to make sure not after saving that game but by loading that game. Might be something with save/load system. Please help!!
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by Tony Li »

Hi,

I'll look into this today and post back here. Would it be possible for you to post a screenshot of your attack move configuration please?
warlockoo1
Posts: 15
Joined: Thu Feb 02, 2017 2:47 am

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by warlockoo1 »

Here, its same as default heroinecontroller of ARPG kit, I've just changed animation of attacks.
Attachments
Capture.PNG
Capture.PNG (90.3 KiB) Viewed 728 times
Capture2.PNG
Capture2.PNG (130.07 KiB) Viewed 728 times
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by Tony Li »

Thanks! Would you please post a screenshot of the inspector view of your character prefab that shows the new attack?
warlockoo1
Posts: 15
Joined: Thu Feb 02, 2017 2:47 am

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by warlockoo1 »

Here
Attachments
Capture.PNG
Capture.PNG (38.87 KiB) Viewed 724 times
Capture3.PNG
Capture3.PNG (15.04 KiB) Viewed 724 times
Capture2.PNG
Capture2.PNG (33.33 KiB) Viewed 724 times
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by Tony Li »

Hi,

In ARPG, you also have to assign the attack animations to each weapon. To do this:

1. Inspect the player prefab's Inventory C component. It has an item database assigned to the Database field.

2. Inspect the item database (e.g., ItemDataC).

3. Inspect each weapon listed under the Equipment foldout. Expand the weapon's Attack Combo foldout, and assign the animation:

Image

When ARPG equips a weapon, it copies the weapon's Attack Combo info into the player's Inventory C Attack Combo.

The Dialogue System tells ARPG to re-equip the current weapon when loading a game or ending a conversation (in case the conversation changed the current weapon). This is why the attack combo information appears to go screwy when the loading a game or ending a conversation; it's actually copying over the animations for the current weapon.
warlockoo1
Posts: 15
Joined: Thu Feb 02, 2017 2:47 am

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by warlockoo1 »

Thank you so much, it worked perfectly!!
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Some Animation doesn't play after conversation end (ARPG Kit)

Post by Tony Li »

Happy to help!
Post Reply