Page 1 of 1

Highlight Actor Portrait on response

Posted: Sun May 16, 2021 11:00 am
by ngonbegone
Hey there,

Just grabbed this tool, I can see the power and am trial and erroring / document diving to learn how to use it. Having a good time so far.

I am using the VN template as a base and making some edits to it to get my desired effect. I've run into a problem that I'm not quite sure the best way to solve.

Image

When the NPC is being spoken with, their actor portrait highlights and the PC actor portrait doesnt. As intended, excellent.

Image

But then when the response menu comes into focus, the PC actor portrait does not highlight. I've tracked the reason down to being that the animator doesnt trigger... because technically speaking the 'response menu' isn't tied to the 'subtitles' above which is what seems to trigger the highlight/fade out animator.

There was a portrait that flicked on and off in the response menu but I disabled it because whenever I moved the response menu to experiment with positions, that portrait misaligned with the actor portrait and I had to manually realign it every time I wanted to try another visual layout. It was really annoying. In addition, due to the hierarchy in the prefab the highlighted version of the PC actor portrait would actually exist overtop of the response menu and subtitle box... which is... not ideal.

Is the solution to 'just figure it out' with the response menu portrait or can I tie the Subtitle Portrait of the PC Actor to the response menu?

Hopefully I layed this out clearly. I can include additional screenshots of whatever you need.

Re: Highlight Actor Portrait on response

Posted: Sun May 16, 2021 11:38 am
by Tony Li
Hi,

In the upcoming version 2.2.17, I've updated the VN template so the response panel's PC Image and the PC Subtitle Panel's Portrait Image are anchored the same. This way they'll always be in the same place regardless of how you resize the UI. Try doing the same in your customized UI, or use this copy of the VN template from 2.2.17:

DS_VNTemplate_2021-05-16.unitypackage

While the response menu is open, the response menu's PC Image should be visible.

Re: Highlight Actor Portrait on response

Posted: Sun May 16, 2021 11:53 am
by ngonbegone
I'll give the copy a try and report back. You're an angel, Tony.

Re: Highlight Actor Portrait on response

Posted: Sun May 16, 2021 3:27 pm
by ngonbegone
Tony Li wrote: Sun May 16, 2021 11:38 am Hi,

In the upcoming version 2.2.17, I've updated the VN template so the response panel's PC Image and the PC Subtitle Panel's Portrait Image are anchored the same. This way they'll always be in the same place regardless of how you resize the UI. Try doing the same in your customized UI, or use this copy of the VN template from 2.2.17:

DS_VNTemplate_2021-05-16.unitypackage

While the response menu is open, the response menu's PC Image should be visible.
Gave the package a try, didn't work. The best solution I need is for the Response Menu Panel to use the Subtitle Panel as the file it animates and checks focus on. While I am sure there is a reason for them to be separate it would be great to know how best to make this not the case.

I'm not sure what the difference is in the package you gave (aside from your communicated changes, whi) but it did not seem to solve the problem as the portrait image that the response menu uses is still childed to the response menu panel anyhow... so if i move the response menu the secondary portrait gets misaligned when i make changes in the prefab - or - if i move the subtitle panel 1 then the response panel portrait doesnt move.

If I am missing something, let me know.

EDIT: I fixed this theoretically by unticking Skip Pc Subtitle After Response Menu, which DOES solve the problem but it would be great if we could skip the PC Subtitle and use the subtitle portraits

Re: Highlight Actor Portrait on response

Posted: Sun May 16, 2021 4:45 pm
by Tony Li
Sorry, I think I'm not understanding the issue. Here's a video of the VN template in action:



When the player response menu appears, you should see in the Hierarchy that the Response Menu Panel becomes active. I should've expanded it so that you'd see its portrait image become active, but that's what's showing on the left side during the menu. It's on top of the PC Subtitle Panel's portrait image.

What's different in your UI config or your UI requirements such that this isn't working for you?